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.001393/0.001393, allocations: 100.4 kB / 20.45 MB, free: 1.262 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.001494/0.001494, allocations: 210.9 kB / 23.74 MB, free: 4.445 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.533/1.533, allocations: 207.7 MB / 234.6 MB, free: 9.805 MB / 190.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.2383/0.2383, allocations: 44.26 MB / 331.1 MB, free: 9.316 MB / 270.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.002488/0.002488, allocations: 71.91 kB / 468.7 MB, free: 3.859 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.137/0.1395, allocations: 61.04 MB / 0.5174 GB, free: 6.688 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1): time 0.00453/0.1441, allocations: 2.159 MB / 0.5195 GB, free: 4.512 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001755/0.1458, allocations: 0.7294 MB / 0.5202 GB, free: 3.773 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002/0.146, allocations: 4 kB / 0.5202 GB, free: 3.77 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002153/0.1462, allocations: 39.59 kB / 0.5202 GB, free: 3.73 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001736/0.1464, allocations: 79.39 kB / 0.5203 GB, free: 3.652 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005004/0.1469, allocations: 135.7 kB / 0.5204 GB, free: 3.52 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004009/0.1473, allocations: 335.3 kB / 0.5208 GB, free: 3.191 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001773/0.1475, allocations: 60.58 kB / 0.5208 GB, free: 3.133 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002218/0.1477, allocations: 139.6 kB / 0.5209 GB, free: 2.996 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002442/0.1479, allocations: 143.4 kB / 0.5211 GB, free: 2.855 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.274e-05/0.148, allocations: 28 kB / 0.5211 GB, free: 2.828 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001662/0.1482, allocations: 79.88 kB / 0.5212 GB, free: 2.75 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001101/0.1483, allocations: 67.81 kB / 0.5212 GB, free: 2.684 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001288/0.1484, allocations: 111.5 kB / 0.5214 GB, free: 2.574 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004737/0.1489, allocations: 338.7 kB / 0.5217 GB, free: 2.242 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.1489, allocations: 0 / 0.5217 GB, free: 2.242 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.1489, allocations: 0 / 0.5217 GB, free: 2.242 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.743e-06/0.1489, allocations: 4 kB / 0.5217 GB, free: 2.238 MB / 398.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.001014/0.1499, allocations: 0.4897 MB / 0.5222 GB, free: 1.719 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.1499, allocations: 8.031 kB / 0.5222 GB, free: 1.711 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.703e-05/0.15, allocations: 24.8 kB / 0.5222 GB, free: 1.688 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004221/0.1504, allocations: 186.1 kB / 0.5224 GB, free: 1.48 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.933e-05/0.1505, allocations: 20.81 kB / 0.5224 GB, free: 1.461 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.947e-05/0.1505, allocations: 24.33 kB / 0.5224 GB, free: 1.438 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005813/0.1511, allocations: 271.4 kB / 0.5227 GB, free: 1.168 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.84e-05/0.1511, allocations: 0 / 0.5227 GB, free: 1.168 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.333e-05/0.1512, allocations: 12 kB / 0.5227 GB, free: 1.156 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.035e-05/0.1512, allocations: 8 kB / 0.5227 GB, free: 1.148 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005011/0.1517, allocations: 237.5 kB / 0.5229 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001337/0.153, allocations: 0.5802 MB / 0.5235 GB, free: 308 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005502/0.1536, allocations: 234.4 kB / 0.5237 GB, free: 64 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002861/0.1539, allocations: 136.8 kB / 0.5238 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.084e-05/0.1539, allocations: 4 kB / 0.5238 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.18e-05/0.1539, allocations: 34.56 kB / 0.5239 GB, free: 15.88 MB / 414.1 MB Notification: Performance of pre-optimization done (n=25): time 3.486e-06/0.1539, allocations: 3.984 kB / 0.5239 GB, free: 15.88 MB / 414.1 MB Notification: Performance of matching and sorting (n=33): time 0.003156/0.1571, allocations: 1.228 MB / 0.5251 GB, free: 14.59 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.954e-05/0.1571, allocations: 59.41 kB / 0.5251 GB, free: 14.52 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002065/0.1573, allocations: 190.3 kB / 0.5253 GB, free: 14.33 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.232e-05/0.1574, allocations: 33.7 kB / 0.5253 GB, free: 14.29 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001233/0.1575, allocations: 136.8 kB / 0.5255 GB, free: 14.15 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001157/0.1576, allocations: 111.1 kB / 0.5256 GB, free: 14.04 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00012/0.1578, allocations: 73.64 kB / 0.5257 GB, free: 13.96 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000172/0.1579, allocations: 330.8 kB / 0.526 GB, free: 13.63 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002614/0.1582, allocations: 123.9 kB / 0.5261 GB, free: 13.51 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002916/0.1585, allocations: 163.4 kB / 0.5262 GB, free: 13.34 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005521/0.159, allocations: 247.2 kB / 0.5265 GB, free: 13.09 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.159, allocations: 3.938 kB / 0.5265 GB, free: 13.08 MB / 414.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008235/0.1599, allocations: 429.9 kB / 0.5269 GB, free: 12.65 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.043e-05/0.1599, allocations: 8 kB / 0.5269 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.1599, allocations: 0 / 0.5269 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005314/0.1604, allocations: 232.7 kB / 0.5271 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002458/0.1607, allocations: 59.91 kB / 0.5272 GB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009056/0.1616, allocations: 0.7514 MB / 0.5279 GB, free: 11.58 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002412/0.1618, allocations: 35.98 kB / 0.5279 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.842e-05/0.1618, allocations: 15.98 kB / 0.528 GB, free: 11.53 MB / 414.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.0001899/0.162, allocations: 145.8 kB / 0.5281 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.379e-05/0.1621, allocations: 19.86 kB / 0.5281 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.124e-05/0.1622, allocations: 38.7 kB / 0.5282 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.283e-06/0.1622, allocations: 7.938 kB / 0.5282 GB, free: 11.31 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.313e-06/0.1622, allocations: 0 / 0.5282 GB, free: 11.31 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.1622, allocations: 0 / 0.5282 GB, free: 11.31 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001617/0.1638, allocations: 0.8423 MB / 0.529 GB, free: 10.42 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/0.1638, allocations: 4.062 kB / 0.529 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002318/0.1641, allocations: 55.94 kB / 0.529 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004263/0.1645, allocations: 216.6 kB / 0.5292 GB, free: 10.14 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.238e-05/0.1645, allocations: 11.98 kB / 0.5293 GB, free: 10.13 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007653/0.1653, allocations: 0.7085 MB / 0.53 GB, free: 9.398 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.1653, allocations: 3.938 kB / 0.53 GB, free: 9.395 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001198/0.1665, allocations: 0.6383 MB / 0.5306 GB, free: 8.734 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001315/0.1666, allocations: 43.98 kB / 0.5306 GB, free: 8.691 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.367e-05/0.1667, allocations: 11.94 kB / 0.5306 GB, free: 8.68 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002448/0.1669, allocations: 35.95 kB / 0.5307 GB, free: 8.645 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001404/0.1671, allocations: 59.81 kB / 0.5307 GB, free: 8.586 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.733e-05/0.1671, allocations: 15.92 kB / 0.5307 GB, free: 8.57 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001353/0.1672, allocations: 128.2 kB / 0.5309 GB, free: 8.445 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1672, allocations: 3.938 kB / 0.5309 GB, free: 8.441 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004017/0.1676, allocations: 76.06 kB / 0.5309 GB, free: 8.367 MB / 414.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.0002507/0.1679, allocations: 131.2 kB / 0.5311 GB, free: 8.23 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008044/0.1687, allocations: 300 kB / 0.5313 GB, free: 7.938 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.1687, allocations: 0 / 0.5313 GB, free: 7.938 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003372/0.169, allocations: 147.8 kB / 0.5315 GB, free: 7.793 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003976/0.1694, allocations: 28.17 kB / 0.5315 GB, free: 7.766 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002129/0.1715, allocations: 0.7879 MB / 0.5323 GB, free: 6.938 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001732/0.1717, allocations: 142.9 kB / 0.5324 GB, free: 6.777 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.059e-05/0.1718, allocations: 23.44 kB / 0.5324 GB, free: 6.758 MB / 414.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1718, allocations: 0 / 0.5324 GB, free: 6.758 MB / 414.1 MB Notification: Performance of Templates: time 0.007892/0.1797, allocations: 4.181 MB / 0.5365 GB, free: 2.574 MB / 414.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 -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: 8.849431109149009]