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.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001718/0.001718, allocations: 106.3 kB / 18.9 MB, free: 3.164 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001634/0.001634, allocations: 197.9 kB / 22.06 MB, free: 16 kB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.47/1.47, allocations: 207.6 MB / 232.6 MB, free: 11.04 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2661/0.2661, allocations: 44.24 MB / 328.9 MB, free: 10.13 MB / 270.1 MB [Timeout remaining time 89] 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002473/0.002473, allocations: 81.28 kB / 465.9 MB, free: 5.137 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1311/0.1336, allocations: 61 MB / 0.5146 GB, free: 8 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1): time 0.004142/0.1377, allocations: 2.263 MB / 0.5168 GB, free: 5.719 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001476/0.1392, allocations: 0.7683 MB / 0.5175 GB, free: 4.941 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00012/0.1393, allocations: 7.938 kB / 0.5175 GB, free: 4.934 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002092/0.1395, allocations: 43.62 kB / 0.5176 GB, free: 4.891 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001482/0.1397, allocations: 63.42 kB / 0.5176 GB, free: 4.828 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004913/0.1402, allocations: 135.7 kB / 0.5178 GB, free: 4.695 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000554/0.1407, allocations: 339.2 kB / 0.5181 GB, free: 4.363 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001775/0.1409, allocations: 64.53 kB / 0.5181 GB, free: 4.297 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002327/0.1411, allocations: 147.5 kB / 0.5183 GB, free: 4.152 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003931/0.1415, allocations: 159.5 kB / 0.5184 GB, free: 3.996 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.319e-05/0.1416, allocations: 24 kB / 0.5185 GB, free: 3.973 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001794/0.1418, allocations: 71.95 kB / 0.5185 GB, free: 3.902 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001168/0.1419, allocations: 75.73 kB / 0.5186 GB, free: 3.828 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000146/0.142, allocations: 127.3 kB / 0.5187 GB, free: 3.703 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004719/0.1425, allocations: 346.7 kB / 0.5191 GB, free: 3.363 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.1425, allocations: 0 / 0.5191 GB, free: 3.363 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1425, allocations: 0 / 0.5191 GB, free: 3.363 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.753e-06/0.1425, allocations: 0 / 0.5191 GB, free: 3.363 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.00099/0.1435, allocations: 0.5611 MB / 0.5196 GB, free: 2.754 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/0.1436, allocations: 15.89 kB / 0.5196 GB, free: 2.738 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.487e-05/0.1436, allocations: 24.8 kB / 0.5196 GB, free: 2.715 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004088/0.144, allocations: 244 kB / 0.5199 GB, free: 2.438 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.468e-05/0.1441, allocations: 24.75 kB / 0.5199 GB, free: 2.414 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.98e-05/0.1441, allocations: 28.33 kB / 0.5199 GB, free: 2.387 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005672/0.1447, allocations: 263.5 kB / 0.5202 GB, free: 2.125 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.792e-05/0.1447, allocations: 4 kB / 0.5202 GB, free: 2.121 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.071e-05/0.1448, allocations: 4 kB / 0.5202 GB, free: 2.117 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.024e-05/0.1448, allocations: 8 kB / 0.5202 GB, free: 2.109 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005178/0.1453, allocations: 241.6 kB / 0.5204 GB, free: 1.867 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001436/0.1467, allocations: 0.7286 MB / 0.5211 GB, free: 1.09 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005547/0.1473, allocations: 230.4 kB / 0.5214 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000267/0.1475, allocations: 132.8 kB / 0.5215 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.502e-05/0.1476, allocations: 0 / 0.5215 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.926e-05/0.1476, allocations: 38.5 kB / 0.5215 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of pre-optimization done (n=25): time 1.032e-06/0.1476, allocations: 0 / 0.5215 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of matching and sorting (n=33): time 0.003354/0.151, allocations: 1.461 MB / 0.5229 GB, free: 15.11 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.64e-05/0.151, allocations: 55.41 kB / 0.523 GB, free: 15.04 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002276/0.1512, allocations: 198.7 kB / 0.5232 GB, free: 14.83 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.424e-05/0.1513, allocations: 33.7 kB / 0.5232 GB, free: 14.79 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001025/0.1514, allocations: 136.8 kB / 0.5234 GB, free: 14.66 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000217/0.1516, allocations: 123 kB / 0.5235 GB, free: 14.54 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001198/0.1517, allocations: 61.69 kB / 0.5235 GB, free: 14.47 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001758/0.1519, allocations: 334.8 kB / 0.5238 GB, free: 14.13 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002677/0.1522, allocations: 123.9 kB / 0.524 GB, free: 14.01 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004121/0.1526, allocations: 167.2 kB / 0.5241 GB, free: 13.84 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004932/0.1531, allocations: 251.2 kB / 0.5244 GB, free: 13.58 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.1531, allocations: 0 / 0.5244 GB, free: 13.58 MB / 414.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008472/0.1539, allocations: 421.9 kB / 0.5248 GB, free: 13.16 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/0.1539, allocations: 8 kB / 0.5248 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.154, allocations: 0 / 0.5248 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005514/0.1545, allocations: 244.6 kB / 0.525 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002266/0.1547, allocations: 51.97 kB / 0.5251 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008299/0.1556, allocations: 0.7592 MB / 0.5258 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002656/0.1558, allocations: 39.98 kB / 0.5258 GB, free: 12.03 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.935e-05/0.1559, allocations: 8 kB / 0.5258 GB, free: 12.02 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.0001896/0.156, allocations: 147.1 kB / 0.526 GB, free: 11.87 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.433e-05/0.1561, allocations: 27.84 kB / 0.526 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000117/0.1562, allocations: 42.58 kB / 0.5261 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.942e-06/0.1562, allocations: 4 kB / 0.5261 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.1562, allocations: 0 / 0.5261 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.1562, allocations: 0 / 0.5261 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001767/0.158, allocations: 0.9402 MB / 0.527 GB, free: 10.79 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.158, allocations: 4 kB / 0.527 GB, free: 10.79 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002324/0.1582, allocations: 51.91 kB / 0.527 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000419/0.1587, allocations: 212.7 kB / 0.5272 GB, free: 10.52 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.85e-05/0.1587, allocations: 12 kB / 0.5272 GB, free: 10.51 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009071/0.1596, allocations: 0.7162 MB / 0.5279 GB, free: 9.77 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.1596, allocations: 0 / 0.5279 GB, free: 9.77 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001283/0.1609, allocations: 0.6457 MB / 0.5286 GB, free: 9.102 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001569/0.161, allocations: 125 kB / 0.5287 GB, free: 8.961 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.644e-05/0.1611, allocations: 15.92 kB / 0.5287 GB, free: 8.945 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002499/0.1613, allocations: 31.97 kB / 0.5287 GB, free: 8.914 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001263/0.1615, allocations: 43.92 kB / 0.5288 GB, free: 8.871 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.067e-05/0.1615, allocations: 15.98 kB / 0.5288 GB, free: 8.855 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001568/0.1617, allocations: 156 kB / 0.5289 GB, free: 8.703 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1617, allocations: 0 / 0.5289 GB, free: 8.703 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003989/0.1621, allocations: 79.94 kB / 0.529 GB, free: 8.625 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.0002344/0.1623, allocations: 127.1 kB / 0.5291 GB, free: 8.492 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00075/0.163, allocations: 291.8 kB / 0.5294 GB, free: 8.207 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.013e-06/0.1631, allocations: 4 kB / 0.5294 GB, free: 8.203 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003599/0.1634, allocations: 164.1 kB / 0.5296 GB, free: 8.043 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004372/0.1638, allocations: 37.73 kB / 0.5296 GB, free: 8.008 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002244/0.1661, allocations: 0.7853 MB / 0.5304 GB, free: 7.184 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005599/0.1667, allocations: 0.7486 MB / 0.5311 GB, free: 6.406 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.45e-05/0.1667, allocations: 19.44 kB / 0.5311 GB, free: 6.391 MB / 414.1 MB Notification: Performance of SimCode: time 1.643e-06/0.1667, allocations: 7.938 kB / 0.5311 GB, free: 6.383 MB / 414.1 MB Notification: Performance of Templates: time 0.008184/0.1749, allocations: 4.15 MB / 0.5352 GB, free: 2.23 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