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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001609/0.001609, allocations: 105.1 kB / 21.22 MB, free: 0.6758 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001795/0.001795, allocations: 209.3 kB / 24.54 MB, free: 4.051 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.478/1.478, allocations: 230.3 MB / 258 MB, free: 8.258 MB / 206.1 MB " [Timeout remaining time 178] 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=2000,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=2000,variableFilter="time|inertiaIn.phi|inertiaIn.w|oneWayClutch.phi_rel|oneWayClutch.w_rel",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001874/0.001874, allocations: 68.12 kB / 378.7 MB, free: 2.816 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2691/0.271, allocations: 53.37 MB / 432.1 MB, free: 7.094 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged): time 0.004274/0.2753, allocations: 2.349 MB / 434.5 MB, free: 4.734 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00169/0.277, allocations: 0.884 MB / 435.3 MB, free: 3.844 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001273/0.2771, allocations: 4 kB / 435.3 MB, free: 3.84 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002639/0.2773, allocations: 47.58 kB / 435.4 MB, free: 3.793 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002808/0.2776, allocations: 107.2 kB / 435.5 MB, free: 3.688 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002167/0.2778, allocations: 87.83 kB / 435.6 MB, free: 3.602 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003456/0.2782, allocations: 279.4 kB / 435.9 MB, free: 3.328 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001585/0.2783, allocations: 44.53 kB / 435.9 MB, free: 3.281 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000252/0.2786, allocations: 123.5 kB / 436 MB, free: 3.16 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002169/0.2788, allocations: 131.5 kB / 436.1 MB, free: 3.031 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.222e-05/0.2789, allocations: 20 kB / 436.2 MB, free: 3.012 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000167/0.279, allocations: 79.97 kB / 436.2 MB, free: 2.934 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.461e-05/0.2791, allocations: 51.83 kB / 436.3 MB, free: 2.883 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001226/0.2792, allocations: 115.4 kB / 436.4 MB, free: 2.77 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004436/0.2797, allocations: 316.5 kB / 436.7 MB, free: 2.465 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.2797, allocations: 4 kB / 436.7 MB, free: 2.461 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.2797, allocations: 0 / 436.7 MB, free: 2.461 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.683e-06/0.2797, allocations: 3.938 kB / 436.7 MB, free: 2.457 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.0009509/0.2806, allocations: 485.2 kB / 437.2 MB, free: 1.949 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.2807, allocations: 8.031 kB / 437.2 MB, free: 1.941 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001793/0.2809, allocations: 36.78 kB / 437.2 MB, free: 1.906 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000382/0.2812, allocations: 190.9 kB / 437.4 MB, free: 1.695 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.614e-05/0.2813, allocations: 16.75 kB / 437.4 MB, free: 1.68 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.614e-05/0.2813, allocations: 20.33 kB / 437.5 MB, free: 1.66 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004341/0.2817, allocations: 218.7 kB / 437.7 MB, free: 1.434 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.779e-05/0.2818, allocations: 7.938 kB / 437.7 MB, free: 1.426 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.456e-05/0.2818, allocations: 8 kB / 437.7 MB, free: 1.418 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.145e-06/0.2818, allocations: 4 kB / 437.7 MB, free: 1.414 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003512/0.2821, allocations: 159.3 kB / 437.9 MB, free: 1.262 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001247/0.2834, allocations: 0.7247 MB / 438.6 MB, free: 492 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003907/0.2838, allocations: 134.5 kB / 438.7 MB, free: 348 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001511/0.2839, allocations: 73.02 kB / 438.8 MB, free: 272 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.004e-05/0.284, allocations: 0 / 438.8 MB, free: 272 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.762e-05/0.284, allocations: 34.91 kB / 438.8 MB, free: 228 kB / 334.1 MB Notification: Performance of pre-optimization done (n=19): time 1.002e-06/0.284, allocations: 0 / 438.8 MB, free: 228 kB / 334.1 MB Notification: Performance of matching and sorting (n=21): time 0.001957/0.2859, allocations: 0.7694 MB / 439.6 MB, free: 15.4 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.181e-05/0.286, allocations: 55.41 kB / 439.6 MB, free: 15.34 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002599/0.2862, allocations: 222.8 kB / 439.9 MB, free: 15.11 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.969e-05/0.2863, allocations: 33.7 kB / 439.9 MB, free: 15.07 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001229/0.2864, allocations: 136.5 kB / 440 MB, free: 14.93 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.868e-05/0.2865, allocations: 79.36 kB / 440.1 MB, free: 14.86 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.53e-05/0.2866, allocations: 49.7 kB / 440.2 MB, free: 14.8 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001568/0.2867, allocations: 330.8 kB / 440.5 MB, free: 14.47 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001643/0.2869, allocations: 67.97 kB / 440.5 MB, free: 14.4 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001975/0.2871, allocations: 111.3 kB / 440.6 MB, free: 14.28 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003148/0.2874, allocations: 163.9 kB / 440.8 MB, free: 14.11 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.2874, allocations: 0 / 440.8 MB, free: 14.11 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005251/0.2879, allocations: 270.2 kB / 441.1 MB, free: 13.84 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.2879, allocations: 8 kB / 441.1 MB, free: 13.83 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.2879, allocations: 0 / 441.1 MB, free: 13.83 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002267/0.2882, allocations: 60.83 kB / 441.1 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001588/0.2883, allocations: 39.92 kB / 441.2 MB, free: 13.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002141/0.2905, allocations: 1.707 MB / 442.9 MB, free: 11.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002056/0.2907, allocations: 28.06 kB / 442.9 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.253e-05/0.2907, allocations: 12 kB / 442.9 MB, free: 11.87 MB / 350.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.0001703/0.2909, allocations: 133.8 kB / 443.1 MB, free: 11.73 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.825e-05/0.2909, allocations: 19.84 kB / 443.1 MB, free: 11.71 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.375e-05/0.291, allocations: 29.95 kB / 443.1 MB, free: 11.68 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.291, allocations: 7.938 kB / 443.1 MB, free: 11.67 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/0.291, allocations: 0 / 443.1 MB, free: 11.67 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.291, allocations: 4 kB / 443.1 MB, free: 11.66 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009903/0.292, allocations: 0.5743 MB / 443.7 MB, free: 11.03 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.105e-06/0.292, allocations: 0 / 443.7 MB, free: 11.03 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001815/0.2922, allocations: 39.97 kB / 443.7 MB, free: 10.99 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001584/0.2923, allocations: 52.89 kB / 443.8 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.009e-05/0.2924, allocations: 8 kB / 443.8 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001736/0.2941, allocations: 1.565 MB / 445.4 MB, free: 9.246 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.2941, allocations: 3.938 kB / 445.4 MB, free: 9.242 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000762/0.2949, allocations: 422.3 kB / 445.8 MB, free: 8.805 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.219e-05/0.2949, allocations: 35.88 kB / 445.8 MB, free: 8.77 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.848e-05/0.295, allocations: 11.94 kB / 445.8 MB, free: 8.758 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002021/0.2952, allocations: 23.92 kB / 445.8 MB, free: 8.734 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001763/0.2954, allocations: 67.88 kB / 445.9 MB, free: 8.668 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.883e-05/0.2954, allocations: 8 kB / 445.9 MB, free: 8.66 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001754/0.2956, allocations: 160.6 kB / 446.1 MB, free: 8.504 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2956, allocations: 0 / 446.1 MB, free: 8.504 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004402/0.296, allocations: 71.92 kB / 446.1 MB, free: 8.434 MB / 350.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.001326/0.2973, allocations: 359.1 kB / 446.5 MB, free: 8.191 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006984/0.298, allocations: 306.4 kB / 446.8 MB, free: 7.879 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.298, allocations: 0 / 446.8 MB, free: 7.879 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003658/0.2984, allocations: 228.9 kB / 447 MB, free: 7.645 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004318/0.2988, allocations: 59.86 kB / 447.1 MB, free: 7.586 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001457/0.3003, allocations: 0.6924 MB / 447.8 MB, free: 6.863 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004095/0.3007, allocations: 0.7441 MB / 448.5 MB, free: 6.094 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001003/0.3008, allocations: 21.95 kB / 448.5 MB, free: 6.074 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.627e-05/0.3009, allocations: 23.42 kB / 448.6 MB, free: 6.051 MB / 350.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3009, allocations: 0 / 448.6 MB, free: 6.051 MB / 350.1 MB Notification: Performance of Templates: time 0.009363/0.3102, allocations: 4.167 MB / 452.7 MB, free: 1.91 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/OneWayClutchDisengaged/OneWayClutchDisengaged.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.565447518602014]