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.001788/0.001788, allocations: 75.75 kB / 20.51 MB, free: 1.27 MB / 14.72 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.002044/0.002044, allocations: 169.2 kB / 23.76 MB, free: 4.457 MB / 14.72 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.495/1.495, allocations: 158.6 MB / 185.5 MB, free: 6.215 MB / 174.1 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.2233/0.2233, allocations: 32.37 MB / 270.1 MB, free: 2.703 MB / 254.1 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002658/0.002658, allocations: 72.45 kB / 407.7 MB, free: 5.551 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1389/0.1415, allocations: 61.04 MB / 468.8 MB, free: 8.324 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1): time 0.005743/0.1473, allocations: 2.152 MB / 470.9 MB, free: 6.156 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001855/0.1491, allocations: 0.7487 MB / 471.7 MB, free: 5.398 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002503/0.1494, allocations: 0 / 471.7 MB, free: 5.398 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003047/0.1497, allocations: 43.59 kB / 471.7 MB, free: 5.355 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003301/0.15, allocations: 67.41 kB / 471.8 MB, free: 5.289 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007799/0.1508, allocations: 135.8 kB / 471.9 MB, free: 5.156 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007231/0.1515, allocations: 331.3 kB / 472.2 MB, free: 4.832 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002693/0.1518, allocations: 60.78 kB / 472.3 MB, free: 4.773 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004234/0.1522, allocations: 147.5 kB / 472.4 MB, free: 4.629 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003521/0.1526, allocations: 143.4 kB / 472.6 MB, free: 4.488 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.454e-05/0.1526, allocations: 24 kB / 472.6 MB, free: 4.465 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002/0.1528, allocations: 79.88 kB / 472.7 MB, free: 4.387 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001147/0.153, allocations: 67.81 kB / 472.8 MB, free: 4.32 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001719/0.1531, allocations: 111.5 kB / 472.9 MB, free: 4.211 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005251/0.1537, allocations: 338.8 kB / 473.2 MB, free: 3.879 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.1537, allocations: 0 / 473.2 MB, free: 3.879 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.1537, allocations: 0 / 473.2 MB, free: 3.879 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.199e-05/0.1537, allocations: 4 kB / 473.2 MB, free: 3.875 MB / 446.1 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.001163/0.1548, allocations: 0.4897 MB / 473.7 MB, free: 3.355 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.547e-05/0.1549, allocations: 12.03 kB / 473.7 MB, free: 3.344 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001043/0.155, allocations: 24.8 kB / 473.7 MB, free: 3.32 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004617/0.1555, allocations: 186.1 kB / 473.9 MB, free: 3.113 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.615e-05/0.1555, allocations: 20.88 kB / 473.9 MB, free: 3.094 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.997e-05/0.1556, allocations: 24.38 kB / 474 MB, free: 3.07 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000561/0.1561, allocations: 268.3 kB / 474.2 MB, free: 2.801 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.76e-05/0.1561, allocations: 0 / 474.2 MB, free: 2.801 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.875e-05/0.1562, allocations: 8 kB / 474.2 MB, free: 2.793 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.083e-05/0.1562, allocations: 8 kB / 474.2 MB, free: 2.785 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005138/0.1567, allocations: 233.8 kB / 474.5 MB, free: 2.555 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001381/0.1581, allocations: 0.5998 MB / 475.1 MB, free: 1.926 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005927/0.1587, allocations: 226.4 kB / 475.3 MB, free: 1.695 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002677/0.1589, allocations: 132.8 kB / 475.4 MB, free: 1.562 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.371e-05/0.159, allocations: 7.984 kB / 475.4 MB, free: 1.555 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.578e-05/0.159, allocations: 34.56 kB / 475.4 MB, free: 1.512 MB / 446.1 MB Notification: Performance of pre-optimization done (n=25): time 1.473e-06/0.159, allocations: 0 / 475.4 MB, free: 1.512 MB / 446.1 MB Notification: Performance of matching and sorting (n=33): time 0.003411/0.1624, allocations: 1.239 MB / 476.7 MB, free: 224 kB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.534e-05/0.1625, allocations: 55.41 kB / 476.7 MB, free: 156 kB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2965/0.459, allocations: 174.2 kB / 476.9 MB, free: 50.47 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.458e-05/0.4591, allocations: 35 kB / 476.9 MB, free: 50.44 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.96e-05/0.4592, allocations: 137.7 kB / 477.1 MB, free: 50.36 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001032/0.4593, allocations: 124.6 kB / 477.2 MB, free: 50.31 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001238/0.4594, allocations: 64.97 kB / 477.3 MB, free: 50.3 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.434e-05/0.4595, allocations: 330 kB / 477.6 MB, free: 49.98 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002655/0.4597, allocations: 125.5 kB / 477.7 MB, free: 49.98 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002612/0.46, allocations: 163.9 kB / 477.9 MB, free: 49.95 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004403/0.4604, allocations: 250.1 kB / 478.1 MB, free: 49.92 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.4604, allocations: 0 / 478.1 MB, free: 49.92 MB / 446.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007905/0.4612, allocations: 431.5 kB / 478.5 MB, free: 49.86 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.075e-05/0.4613, allocations: 10.22 kB / 478.5 MB, free: 49.86 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.4613, allocations: 0 / 478.5 MB, free: 49.86 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005665/0.4618, allocations: 239.8 kB / 478.8 MB, free: 49.85 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002323/0.4621, allocations: 55.45 kB / 478.8 MB, free: 49.85 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007263/0.4628, allocations: 0.7459 MB / 479.6 MB, free: 49.33 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002674/0.4631, allocations: 40.92 kB / 479.6 MB, free: 49.33 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.376e-05/0.4631, allocations: 16.38 kB / 479.6 MB, free: 49.33 MB / 446.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: 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.0001856/0.4633, allocations: 143.5 kB / 479.8 MB, free: 49.21 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.969e-05/0.4633, allocations: 25.72 kB / 479.8 MB, free: 49.2 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.42e-05/0.4634, allocations: 34.2 kB / 479.8 MB, free: 49.2 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.866e-06/0.4634, allocations: 6.609 kB / 479.8 MB, free: 49.2 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.374e-05/0.4635, allocations: 0 / 479.8 MB, free: 49.2 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.406e-06/0.4635, allocations: 3.562 kB / 479.8 MB, free: 49.2 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001554/0.465, allocations: 0.8392 MB / 480.7 MB, free: 48.9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.465, allocations: 1.781 kB / 480.7 MB, free: 48.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002169/0.4652, allocations: 42.53 kB / 480.7 MB, free: 48.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003977/0.4656, allocations: 225.1 kB / 480.9 MB, free: 48.89 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.209e-05/0.4657, allocations: 16.05 kB / 481 MB, free: 48.89 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006151/0.4663, allocations: 0.7041 MB / 481.7 MB, free: 48.3 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.4663, allocations: 0 / 481.7 MB, free: 48.3 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009531/0.4672, allocations: 0.6434 MB / 482.3 MB, free: 47.98 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.776e-05/0.4673, allocations: 47.53 kB / 482.4 MB, free: 47.95 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.529e-05/0.4674, allocations: 14.34 kB / 482.4 MB, free: 47.95 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002354/0.4676, allocations: 38.39 kB / 482.4 MB, free: 47.94 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001207/0.4677, allocations: 49.14 kB / 482.5 MB, free: 47.93 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.294e-05/0.4678, allocations: 13.45 kB / 482.5 MB, free: 47.93 MB / 446.1 MB Notification: Performance of sorting global known variables: time 8.839e-05/0.4678, allocations: 134.2 kB / 482.6 MB, free: 47.84 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4678, allocations: 0 / 482.6 MB, free: 47.84 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003764/0.4682, allocations: 75.39 kB / 482.7 MB, free: 47.83 MB / 446.1 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.0001833/0.4684, allocations: 125.6 kB / 482.8 MB, free: 47.74 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006199/0.469, allocations: 306.8 kB / 483.1 MB, free: 47.64 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.469, allocations: 3.156 kB / 483.1 MB, free: 47.64 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002741/0.4693, allocations: 150.8 kB / 483.2 MB, free: 47.6 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003911/0.4697, allocations: 31.19 kB / 483.3 MB, free: 47.59 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001781/0.4715, allocations: 0.7426 MB / 484 MB, free: 47.23 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001253/0.4716, allocations: 149 kB / 484.2 MB, free: 47.14 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.766e-05/0.4717, allocations: 24.19 kB / 484.2 MB, free: 47.14 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.773e-05/0.4717, allocations: 28.08 kB / 484.2 MB, free: 47.12 MB / 446.1 MB Notification: Performance of SimCode: time 6.41e-07/0.4717, allocations: 0 / 484.2 MB, free: 47.12 MB / 446.1 MB Notification: Performance of Templates: time 0.008713/0.4805, allocations: 4.188 MB / 488.4 MB, free: 46.71 MB / 446.1 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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/ForUsersGuide/SupportTorque1/SupportTorque1.csv","/var/lib/jenkins1/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.604838472907431]