Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.0008085/0.0008085, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.003944/0.003944, allocations: 160.4 kB / 24.7 MB, free: 9.43 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8781/0.8781, allocations: 177.2 MB / 205 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.263/0.263, allocations: 32.78 MB / 294.2 MB, free: 1.176 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.0.0_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_4.0.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.442e-06/1.442e-06, allocations: 0 / 440.8 MB, free: 3.754 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.503e-05/2.647e-05, allocations: 3.266 kB / 440.8 MB, free: 3.75 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1): time 0.002699/0.002725, allocations: 2.271 MB / 443.1 MB, free: 1.465 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009881/0.003713, allocations: 0.8568 MB / 444 MB, free: 0.6016 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.453e-05/0.003808, allocations: 7.938 kB / 444 MB, free: 0.5938 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002287/0.004036, allocations: 59.5 kB / 444 MB, free: 0.5352 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001434/0.00418, allocations: 79.34 kB / 444.1 MB, free: 468 kB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002627/0.004442, allocations: 151.5 kB / 444.2 MB, free: 316 kB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.1614/0.1659, allocations: 361.6 kB / 444.6 MB, free: 43.88 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002353/0.1661, allocations: 53.09 kB / 444.7 MB, free: 43.87 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004509/0.1666, allocations: 214.7 kB / 444.9 MB, free: 43.87 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001774/0.1667, allocations: 134.9 kB / 445 MB, free: 43.87 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.731e-05/0.1668, allocations: 27.25 kB / 445 MB, free: 43.87 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001653/0.1669, allocations: 86.69 kB / 445.1 MB, free: 43.87 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.986e-05/0.167, allocations: 71.97 kB / 445.2 MB, free: 43.87 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.126e-05/0.1671, allocations: 101.5 kB / 445.3 MB, free: 43.87 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003744/0.1675, allocations: 401 kB / 445.7 MB, free: 43.86 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.718e-06/0.1675, allocations: 2.75 kB / 445.7 MB, free: 43.86 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.1675, allocations: 0 / 445.7 MB, free: 43.86 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.122e-06/0.1675, allocations: 0 / 445.7 MB, free: 43.86 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0006529/0.1681, allocations: 0.5157 MB / 446.2 MB, free: 43.51 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.1682, allocations: 13.05 kB / 446.2 MB, free: 43.51 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001367/0.1683, allocations: 37.39 kB / 446.2 MB, free: 43.49 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000265/0.1686, allocations: 200.2 kB / 446.4 MB, free: 43.35 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.613e-05/0.1686, allocations: 15.84 kB / 446.4 MB, free: 43.35 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.611e-05/0.1686, allocations: 22.25 kB / 446.5 MB, free: 43.35 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003263/0.169, allocations: 271 kB / 446.7 MB, free: 43.31 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.169, allocations: 3.125 kB / 446.7 MB, free: 43.31 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.097e-05/0.169, allocations: 8.188 kB / 446.7 MB, free: 43.31 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-06/0.169, allocations: 10.34 kB / 446.8 MB, free: 43.31 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002882/0.1693, allocations: 234.2 kB / 447 MB, free: 43.31 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007417/0.17, allocations: 0.5958 MB / 447.6 MB, free: 43.07 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003313/0.1704, allocations: 229.4 kB / 447.8 MB, free: 43.05 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001397/0.1705, allocations: 121.6 kB / 447.9 MB, free: 43.04 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.286e-05/0.1705, allocations: 3.125 kB / 447.9 MB, free: 43.04 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.504e-05/0.1706, allocations: 36.91 kB / 448 MB, free: 43 MB / 410.7 MB Notification: Performance of pre-optimization done (n=26): time 1.714e-06/0.1706, allocations: 0 / 448 MB, free: 43 MB / 410.7 MB Notification: Performance of matching and sorting (n=34): time 0.001764/0.1723, allocations: 1.197 MB / 449.2 MB, free: 42.47 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3e-05/0.1724, allocations: 60.64 kB / 449.2 MB, free: 42.41 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001099/0.1725, allocations: 189.7 kB / 449.4 MB, free: 42.27 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.931e-05/0.1725, allocations: 39.86 kB / 449.4 MB, free: 42.23 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.904e-05/0.1725, allocations: 143.9 kB / 449.6 MB, free: 42.11 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.302e-05/0.1726, allocations: 117.8 kB / 449.7 MB, free: 42.02 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.403e-05/0.1726, allocations: 68.94 kB / 449.8 MB, free: 41.98 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.597e-05/0.1727, allocations: 331 kB / 450.1 MB, free: 41.66 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001459/0.1728, allocations: 115.6 kB / 450.2 MB, free: 41.62 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001518/0.173, allocations: 158.1 kB / 450.4 MB, free: 41.54 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00024/0.1732, allocations: 248.1 kB / 450.6 MB, free: 41.41 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.1732, allocations: 0 / 450.6 MB, free: 41.41 MB / 410.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004731/0.1737, allocations: 423.6 kB / 451 MB, free: 41.24 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.1737, allocations: 5.625 kB / 451 MB, free: 41.24 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.543e-06/0.1737, allocations: 0 / 451 MB, free: 41.24 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003054/0.174, allocations: 197.6 kB / 451.2 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001229/0.1741, allocations: 55.88 kB / 451.3 MB, free: 41.17 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004043/0.1746, allocations: 0.7367 MB / 452 MB, free: 40.56 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001152/0.1747, allocations: 34.22 kB / 452 MB, free: 40.55 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.603e-05/0.1747, allocations: 15.86 kB / 452 MB, free: 40.55 MB / 410.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,13)} Notification: Performance of prepare postOptimizeDAE: time 9.167e-05/0.1748, allocations: 146.7 kB / 452.2 MB, free: 40.42 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.833e-05/0.1748, allocations: 20.45 kB / 452.2 MB, free: 40.41 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.353e-05/0.1748, allocations: 43.5 kB / 452.3 MB, free: 40.38 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.1748, allocations: 2.781 kB / 452.3 MB, free: 40.38 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.1749, allocations: 3.141 kB / 452.3 MB, free: 40.38 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.1749, allocations: 0 / 452.3 MB, free: 40.38 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008443/0.1757, allocations: 0.8237 MB / 453.1 MB, free: 39.88 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.1757, allocations: 2.719 kB / 453.1 MB, free: 39.88 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001154/0.1758, allocations: 51.47 kB / 453.1 MB, free: 39.88 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002128/0.176, allocations: 177.7 kB / 453.3 MB, free: 39.83 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.699e-05/0.1761, allocations: 13.44 kB / 453.3 MB, free: 39.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003022/0.1764, allocations: 0.6811 MB / 454 MB, free: 39.23 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1764, allocations: 4.094 kB / 454 MB, free: 39.23 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005743/0.1769, allocations: 0.6064 MB / 454.6 MB, free: 38.9 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.659e-05/0.177, allocations: 49.23 kB / 454.7 MB, free: 38.88 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.206e-05/0.177, allocations: 18.59 kB / 454.7 MB, free: 38.86 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001154/0.1772, allocations: 36.06 kB / 454.7 MB, free: 38.86 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.599e-05/0.1772, allocations: 50.81 kB / 454.8 MB, free: 38.85 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.448e-05/0.1772, allocations: 13.7 kB / 454.8 MB, free: 38.84 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.893e-05/0.1773, allocations: 139.2 kB / 454.9 MB, free: 38.75 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1773, allocations: 0 / 454.9 MB, free: 38.75 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002192/0.1775, allocations: 68.25 kB / 455 MB, free: 38.74 MB / 410.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,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006284/0.1781, allocations: 403.2 kB / 455.4 MB, free: 38.59 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004477/0.1786, allocations: 289 kB / 455.7 MB, free: 38.5 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1786, allocations: 7.031 kB / 455.7 MB, free: 38.5 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001623/0.1788, allocations: 144.5 kB / 455.8 MB, free: 38.46 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000276/0.179, allocations: 39.14 kB / 455.8 MB, free: 38.45 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001071/0.1801, allocations: 0.7443 MB / 456.6 MB, free: 38.04 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.829e-05/0.1802, allocations: 147.7 kB / 456.7 MB, free: 37.96 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.128e-05/0.1802, allocations: 25.41 kB / 456.8 MB, free: 37.95 MB / 410.7 MB Notification: Performance of SimCode: time 8.91e-07/0.1802, allocations: 0 / 456.8 MB, free: 37.95 MB / 410.7 MB Notification: Performance of Templates: time 0.004191/0.1844, allocations: 4.557 MB / 461.3 MB, free: 37.47 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/ForUsersGuide/SupportTorque1/SupportTorque1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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.2513131238520145]