Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001458/0.001458, allocations: 96.2 kB / 20.21 MB, free: 4.195 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001723/0.001723, allocations: 157.3 kB / 23.52 MB, free: 0.8945 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.492/1.492, allocations: 158.6 MB / 185.3 MB, free: 2.902 MB / 170.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2236/0.2236, allocations: 32.38 MB / 270 MB, free: 14.79 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia4.phi|inertia4.w|bearingFriction1.mode|bearingFriction1.startBackward|bearingFriction1.startForward",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1") translateModel(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia4.phi|inertia4.w|bearingFriction1.mode|bearingFriction1.startBackward|bearingFriction1.startForward",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.615e-06/2.615e-06, allocations: 0 / 346.9 MB, free: 9.836 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.113e-05/4.374e-05, allocations: 2.312 kB / 346.9 MB, free: 9.832 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1): time 0.003926/0.003969, allocations: 2.155 MB / 349.1 MB, free: 7.664 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001656/0.005626, allocations: 0.7449 MB / 349.8 MB, free: 6.91 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001643/0.00579, allocations: 7.938 kB / 349.8 MB, free: 6.902 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002526/0.006042, allocations: 31.66 kB / 349.9 MB, free: 6.871 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001997/0.006242, allocations: 79.33 kB / 349.9 MB, free: 6.793 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005899/0.006832, allocations: 139.6 kB / 350.1 MB, free: 6.656 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003441/0.007176, allocations: 343.1 kB / 350.4 MB, free: 6.32 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001981/0.007374, allocations: 60.78 kB / 350.5 MB, free: 6.266 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000313/0.007687, allocations: 199.6 kB / 350.7 MB, free: 6.07 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000261/0.007948, allocations: 119.7 kB / 350.8 MB, free: 5.953 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.399e-05/0.008002, allocations: 28 kB / 350.8 MB, free: 5.926 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001864/0.008189, allocations: 79.88 kB / 350.9 MB, free: 5.848 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.843e-05/0.008287, allocations: 67.8 kB / 350.9 MB, free: 5.781 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001271/0.008414, allocations: 87.81 kB / 351 MB, free: 5.695 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005187/0.008933, allocations: 378.8 kB / 351.4 MB, free: 5.324 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.008938, allocations: 0 / 351.4 MB, free: 5.324 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.00894, allocations: 0 / 351.4 MB, free: 5.324 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.384e-06/0.008948, allocations: 4 kB / 351.4 MB, free: 5.32 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.001094/0.01004, allocations: 489.5 kB / 351.9 MB, free: 4.812 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.728e-05/0.01009, allocations: 12.03 kB / 351.9 MB, free: 4.801 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000144/0.01023, allocations: 44.8 kB / 351.9 MB, free: 4.758 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004582/0.01069, allocations: 189.4 kB / 352.1 MB, free: 4.547 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.641e-05/0.01073, allocations: 20.88 kB / 352.1 MB, free: 4.527 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.011e-05/0.0108, allocations: 20.38 kB / 352.2 MB, free: 4.508 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000654/0.01145, allocations: 264.6 kB / 352.4 MB, free: 4.242 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.372e-05/0.01148, allocations: 8.109 kB / 352.4 MB, free: 4.234 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.118e-05/0.01152, allocations: 8.375 kB / 352.4 MB, free: 4.227 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.608e-06/0.01153, allocations: 7.938 kB / 352.4 MB, free: 4.219 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006185/0.01215, allocations: 241.8 kB / 352.7 MB, free: 3.98 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001471/0.01362, allocations: 0.5921 MB / 353.3 MB, free: 3.359 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006291/0.01425, allocations: 230.4 kB / 353.5 MB, free: 3.125 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002935/0.01454, allocations: 127.6 kB / 353.6 MB, free: 3 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.476e-05/0.01456, allocations: 4 kB / 353.6 MB, free: 2.996 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.477e-05/0.01458, allocations: 34.56 kB / 353.7 MB, free: 2.953 MB / 282.7 MB Notification: Performance of pre-optimization done (n=25): time 3.457e-06/0.01458, allocations: 7.984 kB / 353.7 MB, free: 2.945 MB / 282.7 MB Notification: Performance of matching and sorting (n=33): time 0.004076/0.01866, allocations: 1.245 MB / 354.9 MB, free: 1.648 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.425e-05/0.01868, allocations: 55.41 kB / 355 MB, free: 1.582 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000192/0.01887, allocations: 180 kB / 355.1 MB, free: 1.398 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.038e-05/0.01891, allocations: 33.7 kB / 355.2 MB, free: 1.359 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.535e-05/0.01899, allocations: 136.8 kB / 355.3 MB, free: 1.223 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001028/0.01909, allocations: 115.1 kB / 355.4 MB, free: 1.109 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001522/0.01924, allocations: 73.64 kB / 355.5 MB, free: 1.031 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001059/0.01935, allocations: 334.8 kB / 355.8 MB, free: 0.6953 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003461/0.0197, allocations: 123.9 kB / 355.9 MB, free: 0.5742 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003837/0.02008, allocations: 167.1 kB / 356.1 MB, free: 408 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006188/0.0207, allocations: 247 kB / 356.3 MB, free: 148 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.0207, allocations: 0 / 356.3 MB, free: 148 kB / 282.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001442/0.02214, allocations: 449.9 kB / 356.8 MB, free: 15.7 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/0.02216, allocations: 4 kB / 356.8 MB, free: 15.69 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/0.02217, allocations: 4 kB / 356.8 MB, free: 15.69 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008783/0.02305, allocations: 244.6 kB / 357 MB, free: 15.45 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003874/0.02344, allocations: 47.97 kB / 357.1 MB, free: 15.4 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001751/0.02519, allocations: 0.7554 MB / 357.8 MB, free: 14.62 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000382/0.02557, allocations: 39.95 kB / 357.9 MB, free: 14.58 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.565e-05/0.02563, allocations: 16 kB / 357.9 MB, free: 14.56 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 (bearingFriction1.free,bearingFriction1.mode,$PRE.bearingFriction1.mode,bearingFriction1.locked,bearingFriction1.startBackward,$PRE.bearingFriction1.startBackward,bearingFriction1.startForward,$PRE.bearingFriction1.startForward) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 29 * 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,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0002981/0.02593, allocations: 146 kB / 358 MB, free: 14.41 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001475/0.02607, allocations: 27.91 kB / 358.1 MB, free: 14.38 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001509/0.02623, allocations: 34.66 kB / 358.1 MB, free: 14.35 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.668e-06/0.02624, allocations: 4 kB / 358.1 MB, free: 14.34 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.253e-06/0.02624, allocations: 0 / 358.1 MB, free: 14.34 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.437e-05/0.02626, allocations: 7.984 kB / 358.1 MB, free: 14.34 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003065/0.02932, allocations: 0.8386 MB / 358.9 MB, free: 13.44 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.738e-06/0.02933, allocations: 3.938 kB / 358.9 MB, free: 13.44 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003968/0.02973, allocations: 51.91 kB / 359 MB, free: 13.39 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007696/0.0305, allocations: 212.7 kB / 359.2 MB, free: 13.18 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.212e-05/0.03055, allocations: 11.98 kB / 359.2 MB, free: 13.16 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001318/0.03187, allocations: 0.7163 MB / 359.9 MB, free: 12.42 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.03187, allocations: 0 / 359.9 MB, free: 12.42 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001973/0.03384, allocations: 0.6422 MB / 360.6 MB, free: 11.76 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001655/0.03401, allocations: 51.84 kB / 360.6 MB, free: 11.71 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.574e-05/0.03407, allocations: 12 kB / 360.6 MB, free: 11.7 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000292/0.03437, allocations: 40.08 kB / 360.7 MB, free: 11.66 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001585/0.03452, allocations: 43.91 kB / 360.7 MB, free: 11.61 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.13e-05/0.03456, allocations: 19.97 kB / 360.7 MB, free: 11.59 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001505/0.03471, allocations: 131.2 kB / 360.9 MB, free: 11.46 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03471, allocations: 0 / 360.9 MB, free: 11.46 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004736/0.03518, allocations: 75.98 kB / 360.9 MB, free: 11.39 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (inertia3.phi,inertia3.w) * Number of discrete variables: 4 (bearingFriction1.startForward,bearingFriction1.startBackward,bearingFriction1.locked,bearingFriction1.mode) * Number of discrete states: 3 (bearingFriction1.mode,bearingFriction1.startBackward,bearingFriction1.startForward) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 23 * 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,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003261/0.03551, allocations: 127.1 kB / 361.1 MB, free: 11.25 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0009379/0.03644, allocations: 307.9 kB / 361.4 MB, free: 10.95 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.03645, allocations: 0 / 361.4 MB, free: 10.95 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004075/0.03685, allocations: 159.7 kB / 361.5 MB, free: 10.8 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005257/0.03738, allocations: 36.95 kB / 361.6 MB, free: 10.76 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002211/0.03959, allocations: 0.7021 MB / 362.3 MB, free: 10.03 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001903/0.03978, allocations: 142.9 kB / 362.4 MB, free: 9.867 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001218/0.0399, allocations: 21.95 kB / 362.4 MB, free: 9.844 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.283e-05/0.03998, allocations: 24.48 kB / 362.4 MB, free: 9.82 MB / 298.7 MB Notification: Performance of SimCode: time 1.123e-06/0.03998, allocations: 0 / 362.4 MB, free: 9.82 MB / 298.7 MB Notification: Performance of Templates: time 0.0107/0.05068, allocations: 4.213 MB / 366.7 MB, free: 5.633 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/ForUsersGuide/SupportTorque1/SupportTorque1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.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: 5.097409100970253]