Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|inertiaIn.phi|inertiaIn.w|oneWayClutch.phi_rel|oneWayClutch.w_rel",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged") translateModel(Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|inertiaIn.phi|inertiaIn.w|oneWayClutch.phi_rel|oneWayClutch.w_rel",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001199/0.001199, allocations: 115.8 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00139/0.00139, allocations: 210.7 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.408/1.408, allocations: 227.4 MB / 247.6 MB, free: 10.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 67.88 kB / 359.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2834/0.2847, allocations: 50.54 MB / 409.9 MB, free: 1.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged): time 0.003748/0.2885, allocations: 2.325 MB / 412.2 MB, free: 15.23 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001467/0.29, allocations: 0.8529 MB / 413.1 MB, free: 14.37 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001338/0.2901, allocations: 0 / 413.1 MB, free: 14.37 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002732/0.2905, allocations: 51.58 kB / 413.1 MB, free: 14.32 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002895/0.2908, allocations: 107.2 kB / 413.3 MB, free: 14.21 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002198/0.291, allocations: 83.83 kB / 413.3 MB, free: 14.13 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003339/0.2913, allocations: 279.4 kB / 413.6 MB, free: 13.86 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002055/0.2915, allocations: 68.3 kB / 413.7 MB, free: 13.79 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002179/0.2918, allocations: 119.6 kB / 413.8 MB, free: 13.67 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002191/0.292, allocations: 123.5 kB / 413.9 MB, free: 13.55 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.825e-05/0.2921, allocations: 24 kB / 413.9 MB, free: 13.52 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001642/0.2922, allocations: 87.89 kB / 414 MB, free: 13.44 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.265e-05/0.2923, allocations: 47.84 kB / 414.1 MB, free: 13.39 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001145/0.2924, allocations: 127.3 kB / 414.2 MB, free: 13.27 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003679/0.2928, allocations: 300.2 kB / 414.5 MB, free: 12.98 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.2928, allocations: 7.984 kB / 414.5 MB, free: 12.97 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.2928, allocations: 0 / 414.5 MB, free: 12.97 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.2928, allocations: 0 / 414.5 MB, free: 12.97 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0008307/0.2937, allocations: 0.5457 MB / 415 MB, free: 12.37 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.2937, allocations: 12.03 kB / 415.1 MB, free: 12.36 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001724/0.2939, allocations: 32.66 kB / 415.1 MB, free: 12.33 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003705/0.2943, allocations: 243.9 kB / 415.3 MB, free: 12.05 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.152e-05/0.2943, allocations: 12.75 kB / 415.3 MB, free: 12.04 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.631e-05/0.2944, allocations: 28.28 kB / 415.4 MB, free: 12.01 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000389/0.2948, allocations: 211 kB / 415.6 MB, free: 11.79 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.476e-05/0.2948, allocations: 4 kB / 415.6 MB, free: 11.79 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.497e-05/0.2948, allocations: 12 kB / 415.6 MB, free: 11.78 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.2948, allocations: 4 kB / 415.6 MB, free: 11.77 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003342/0.2952, allocations: 163 kB / 415.7 MB, free: 11.62 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001104/0.2963, allocations: 0.7817 MB / 416.5 MB, free: 10.77 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003608/0.2967, allocations: 146.8 kB / 416.7 MB, free: 10.61 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001524/0.2968, allocations: 79 kB / 416.7 MB, free: 10.54 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.881e-05/0.2969, allocations: 0 / 416.7 MB, free: 10.54 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.302e-05/0.2969, allocations: 34.56 kB / 416.8 MB, free: 10.49 MB / 334.1 MB Notification: Performance of pre-optimization done (n=19): time 1.222e-06/0.2969, allocations: 0 / 416.8 MB, free: 10.49 MB / 334.1 MB Notification: Performance of matching and sorting (n=21): time 0.001912/0.2988, allocations: 0.9926 MB / 417.8 MB, free: 9.391 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.251e-05/0.2989, allocations: 55.41 kB / 417.8 MB, free: 9.324 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002461/0.2991, allocations: 214.8 kB / 418 MB, free: 9.102 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.571e-05/0.2991, allocations: 33.7 kB / 418.1 MB, free: 9.062 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.944e-05/0.2993, allocations: 136.3 kB / 418.2 MB, free: 8.926 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.972e-05/0.2993, allocations: 74.89 kB / 418.3 MB, free: 8.852 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.293e-05/0.2994, allocations: 53.7 kB / 418.3 MB, free: 8.793 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.2996, allocations: 334.8 kB / 418.7 MB, free: 8.457 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001501/0.2997, allocations: 67.97 kB / 418.7 MB, free: 8.391 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000171/0.2999, allocations: 107.4 kB / 418.8 MB, free: 8.273 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002869/0.3002, allocations: 159.3 kB / 419 MB, free: 8.105 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.3002, allocations: 4 kB / 419 MB, free: 8.102 MB / 334.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004795/0.3007, allocations: 274 kB / 419.3 MB, free: 7.824 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.3007, allocations: 4 kB / 419.3 MB, free: 7.82 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.3007, allocations: 4 kB / 419.3 MB, free: 7.816 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002181/0.3009, allocations: 52.83 kB / 419.3 MB, free: 7.762 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001504/0.3011, allocations: 47.84 kB / 419.4 MB, free: 7.715 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001912/0.303, allocations: 1.811 MB / 421.2 MB, free: 5.77 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001938/0.3033, allocations: 24 kB / 421.2 MB, free: 5.746 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.041e-05/0.3033, allocations: 16.06 kB / 421.2 MB, free: 5.73 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 (oneWayClutch.free,oneWayClutch.stuck,$PRE.oneWayClutch.stuck,oneWayClutch.locked,oneWayClutch.startForward,$PRE.oneWayClutch.startForward) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0001416/0.3034, allocations: 129.8 kB / 421.3 MB, free: 5.594 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.452e-05/0.3035, allocations: 23.81 kB / 421.4 MB, free: 5.57 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.322e-05/0.3036, allocations: 33.86 kB / 421.4 MB, free: 5.531 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.3036, allocations: 0 / 421.4 MB, free: 5.531 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.405e-06/0.3036, allocations: 3.938 kB / 421.4 MB, free: 5.527 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.3036, allocations: 0 / 421.4 MB, free: 5.527 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008896/0.3045, allocations: 0.6092 MB / 422 MB, free: 4.852 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.3045, allocations: 11.95 kB / 422 MB, free: 4.84 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001686/0.3047, allocations: 31.92 kB / 422 MB, free: 4.809 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001495/0.3048, allocations: 56.83 kB / 422.1 MB, free: 4.75 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.535e-05/0.3049, allocations: 0 / 422.1 MB, free: 4.75 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001588/0.3065, allocations: 1.657 MB / 423.8 MB, free: 2.957 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.3065, allocations: 0 / 423.8 MB, free: 2.957 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006704/0.3071, allocations: 434.1 kB / 424.2 MB, free: 2.508 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.836e-05/0.3073, allocations: 113 kB / 424.3 MB, free: 2.379 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.266e-05/0.3073, allocations: 4 kB / 424.3 MB, free: 2.375 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001959/0.3075, allocations: 27.91 kB / 424.3 MB, free: 2.348 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001518/0.3077, allocations: 63.92 kB / 424.4 MB, free: 2.285 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.424e-05/0.3077, allocations: 11.92 kB / 424.4 MB, free: 2.273 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001614/0.3078, allocations: 156.6 kB / 424.6 MB, free: 2.121 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3079, allocations: 0 / 424.6 MB, free: 2.121 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003989/0.3083, allocations: 68 kB / 424.6 MB, free: 2.055 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (inertiaOut.w,oneWayClutch.phi_rel,oneWayClutch.w_rel,torqueLoad.phi) * Number of discrete variables: 3 (oneWayClutch.startForward,oneWayClutch.locked,oneWayClutch.stuck) * Number of discrete states: 2 (oneWayClutch.stuck,oneWayClutch.startForward) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000831/0.3091, allocations: 369.4 kB / 425 MB, free: 1.801 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006178/0.3097, allocations: 326.5 kB / 425.3 MB, free: 1.469 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3097, allocations: 4.125 kB / 425.3 MB, free: 1.465 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000316/0.3101, allocations: 226.4 kB / 425.5 MB, free: 1.23 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000414/0.3105, allocations: 35.92 kB / 425.6 MB, free: 1.195 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00133/0.3118, allocations: 0.7211 MB / 426.3 MB, free: 448 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003413/0.3122, allocations: 0.748 MB / 427 MB, free: 15.66 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.507e-05/0.3123, allocations: 19.44 kB / 427 MB, free: 15.64 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3123, allocations: 0 / 427 MB, free: 15.64 MB / 350.1 MB Notification: Performance of Templates: time 0.006501/0.3188, allocations: 4.027 MB / 431.1 MB, free: 11.62 MB / 350.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.makefile (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.sim & ./Modelica_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/OneWayClutchDisengaged/OneWayClutchDisengaged.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches