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.002385/0.002385, allocations: 92.97 kB / 20.21 MB, free: 4.211 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.003032/0.003032, allocations: 165.2 kB / 23.53 MB, free: 0.8984 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.415/1.415, allocations: 158.6 MB / 185.3 MB, free: 2.906 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.2075/0.2075, allocations: 32.37 MB / 270 MB, free: 14.77 MB / 266.7 MB " [Timeout remaining time 180] 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 1.643e-06/1.643e-06, allocations: 0 / 346.9 MB, free: 9.82 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.282e-05/3.447e-05, allocations: 2.312 kB / 346.9 MB, free: 9.816 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1): time 0.003137/0.003172, allocations: 2.241 MB / 349.2 MB, free: 7.562 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001305/0.004477, allocations: 0.7643 MB / 349.9 MB, free: 6.789 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000126/0.004603, allocations: 4 kB / 349.9 MB, free: 6.785 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002196/0.004822, allocations: 35.66 kB / 350 MB, free: 6.75 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001338/0.004956, allocations: 71.34 kB / 350 MB, free: 6.68 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004691/0.005425, allocations: 139.6 kB / 350.2 MB, free: 6.543 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002691/0.005694, allocations: 347.1 kB / 350.5 MB, free: 6.203 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001536/0.005848, allocations: 60.78 kB / 350.6 MB, free: 6.148 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002179/0.006066, allocations: 199.6 kB / 350.8 MB, free: 5.953 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001934/0.006259, allocations: 127.7 kB / 350.9 MB, free: 5.828 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.486e-05/0.006304, allocations: 28 kB / 350.9 MB, free: 5.801 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001361/0.00644, allocations: 79.83 kB / 351 MB, free: 5.723 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.147e-05/0.006521, allocations: 63.81 kB / 351.1 MB, free: 5.66 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 9.216e-05/0.006614, allocations: 91.8 kB / 351.2 MB, free: 5.57 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000367/0.006981, allocations: 374.8 kB / 351.5 MB, free: 5.203 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.006986, allocations: 0 / 351.5 MB, free: 5.203 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.11e-07/0.006987, allocations: 0 / 351.5 MB, free: 5.203 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.251e-06/0.006993, allocations: 4 kB / 351.5 MB, free: 5.199 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.0008442/0.007837, allocations: 0.5854 MB / 352.1 MB, free: 4.578 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.007875, allocations: 8.031 kB / 352.1 MB, free: 4.57 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.773e-05/0.007972, allocations: 44.8 kB / 352.2 MB, free: 4.527 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002828/0.008255, allocations: 192.2 kB / 352.3 MB, free: 4.312 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.773e-05/0.008283, allocations: 16.88 kB / 352.4 MB, free: 4.297 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.463e-05/0.008328, allocations: 32.31 kB / 352.4 MB, free: 4.266 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004138/0.008742, allocations: 252.6 kB / 352.6 MB, free: 4.012 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.864e-05/0.00876, allocations: 4.188 kB / 352.6 MB, free: 4.008 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.778e-05/0.008788, allocations: 12.38 kB / 352.7 MB, free: 3.996 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/0.008796, allocations: 7.938 kB / 352.7 MB, free: 3.988 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000413/0.009209, allocations: 229.8 kB / 352.9 MB, free: 3.762 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00107/0.01028, allocations: 0.6734 MB / 353.6 MB, free: 3.055 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004334/0.01071, allocations: 227 kB / 353.8 MB, free: 2.82 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002042/0.01092, allocations: 123.6 kB / 353.9 MB, free: 2.695 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.994e-05/0.01097, allocations: 7.938 kB / 353.9 MB, free: 2.688 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.769e-05/0.01098, allocations: 33.39 kB / 353.9 MB, free: 2.645 MB / 282.7 MB Notification: Performance of pre-optimization done (n=25): time 1.183e-06/0.01099, allocations: 4 kB / 353.9 MB, free: 2.641 MB / 282.7 MB Notification: Performance of matching and sorting (n=33): time 0.00252/0.01351, allocations: 1.234 MB / 355.2 MB, free: 1.348 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.227e-05/0.01354, allocations: 59.41 kB / 355.2 MB, free: 1.277 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001495/0.01369, allocations: 247.6 kB / 355.5 MB, free: 1.02 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.603e-05/0.01371, allocations: 37.7 kB / 355.5 MB, free: 0.9766 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.515e-05/0.01379, allocations: 183.5 kB / 355.7 MB, free: 0.793 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.966e-05/0.01387, allocations: 131 kB / 355.8 MB, free: 0.6641 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001177/0.01399, allocations: 75.36 kB / 355.9 MB, free: 0.582 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001058/0.01409, allocations: 0.5118 MB / 356.4 MB, free: 60 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002574/0.01435, allocations: 123.9 kB / 356.5 MB, free: 15.94 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000317/0.01467, allocations: 178.5 kB / 356.7 MB, free: 15.75 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005089/0.01518, allocations: 274.3 kB / 357 MB, free: 15.46 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.01518, allocations: 3.938 kB / 357 MB, free: 15.46 MB / 298.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009374/0.01611, allocations: 448.6 kB / 357.4 MB, free: 15.01 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.597e-05/0.01614, allocations: 8 kB / 357.4 MB, free: 15 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.01615, allocations: 0 / 357.4 MB, free: 15 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006108/0.01676, allocations: 231.6 kB / 357.7 MB, free: 14.77 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002451/0.017, allocations: 59.91 kB / 357.7 MB, free: 14.71 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001236/0.01824, allocations: 1.025 MB / 358.7 MB, free: 13.66 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002014/0.01844, allocations: 31.91 kB / 358.8 MB, free: 13.62 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.89e-05/0.01847, allocations: 8 kB / 358.8 MB, free: 13.62 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.0002169/0.01869, allocations: 192.8 kB / 359 MB, free: 13.42 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.082e-05/0.01878, allocations: 27.91 kB / 359 MB, free: 13.39 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001045/0.01888, allocations: 34.7 kB / 359 MB, free: 13.36 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.497e-06/0.01889, allocations: 12.03 kB / 359 MB, free: 13.34 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.708e-06/0.0189, allocations: 0 / 359 MB, free: 13.34 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/0.0189, allocations: 3.938 kB / 359 MB, free: 13.34 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001751/0.02066, allocations: 0.9176 MB / 360 MB, free: 12.36 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.209e-06/0.02066, allocations: 3.938 kB / 360 MB, free: 12.36 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002416/0.0209, allocations: 51.91 kB / 360 MB, free: 12.3 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000472/0.02137, allocations: 211.5 kB / 360.2 MB, free: 12.09 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.352e-05/0.02141, allocations: 15.98 kB / 360.2 MB, free: 12.08 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001036/0.02244, allocations: 0.9756 MB / 361.2 MB, free: 11.07 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.02245, allocations: 0 / 361.2 MB, free: 11.07 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00137/0.02382, allocations: 0.6988 MB / 361.9 MB, free: 10.34 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001304/0.02395, allocations: 59.88 kB / 362 MB, free: 10.29 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.171e-05/0.024, allocations: 8 kB / 362 MB, free: 10.28 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002073/0.02421, allocations: 23.97 kB / 362 MB, free: 10.25 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001517/0.02436, allocations: 51.91 kB / 362 MB, free: 10.2 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.645e-05/0.02438, allocations: 11.92 kB / 362.1 MB, free: 10.19 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001661/0.02455, allocations: 179.1 kB / 362.2 MB, free: 10.02 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02455, allocations: 0 / 362.2 MB, free: 10.02 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004072/0.02496, allocations: 79.98 kB / 362.3 MB, free: 9.938 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.0002541/0.02521, allocations: 127.1 kB / 362.4 MB, free: 9.801 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0008006/0.02601, allocations: 328.8 kB / 362.8 MB, free: 9.477 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.02601, allocations: 0 / 362.8 MB, free: 9.477 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004509/0.02646, allocations: 183.4 kB / 362.9 MB, free: 9.293 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004239/0.02689, allocations: 40.97 kB / 363 MB, free: 9.254 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001834/0.02872, allocations: 0.6558 MB / 363.6 MB, free: 8.562 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001725/0.02889, allocations: 142.9 kB / 363.8 MB, free: 8.402 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 8.346e-05/0.02898, allocations: 13.95 kB / 363.8 MB, free: 8.387 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.755e-05/0.02906, allocations: 28.48 kB / 363.8 MB, free: 8.359 MB / 298.7 MB Notification: Performance of SimCode: time 9.11e-07/0.02906, allocations: 0 / 363.8 MB, free: 8.359 MB / 298.7 MB Notification: Performance of Templates: time 0.01048/0.03953, allocations: 4.208 MB / 368 MB, free: 4.172 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe 2>&1) [Timeout 240] 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.0652675030287355]