Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.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.001444/0.001444, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.0021/0.0021, allocations: 213.8 kB / 22.99 MB, free: 4.605 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.838/1.838, allocations: 207.7 MB / 233.8 MB, free: 9.809 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.2435/0.2435, allocations: 44.26 MB / 330.3 MB, free: 9.332 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.TestSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|speed1.phi|speed1.w|speed2.phi|speed3.s|speed3.v|speed4.s",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed") translateModel(ModelicaTest.Rotational.TestSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|speed1.phi|speed1.w|speed2.phi|speed3.s|speed3.v|speed4.s",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed") [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.002373/0.002373, allocations: 75.89 kB / 468 MB, free: 3.867 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1388/0.1412, allocations: 61.03 MB / 0.5166 GB, free: 6.711 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.005272/0.1464, allocations: 2.474 MB / 0.519 GB, free: 4.219 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00136/0.1478, allocations: 0.6632 MB / 0.5197 GB, free: 3.547 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001446/0.1479, allocations: 7.938 kB / 0.5197 GB, free: 3.539 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001744/0.1481, allocations: 43.52 kB / 0.5197 GB, free: 3.496 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001808/0.1483, allocations: 91.2 kB / 0.5198 GB, free: 3.406 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000276/0.1486, allocations: 83.88 kB / 0.5199 GB, free: 3.324 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004275/0.149, allocations: 334.5 kB / 0.5202 GB, free: 2.996 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001872/0.1492, allocations: 61.91 kB / 0.5203 GB, free: 2.934 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002021/0.1494, allocations: 139.5 kB / 0.5204 GB, free: 2.797 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001739/0.1496, allocations: 111.4 kB / 0.5205 GB, free: 2.688 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.682e-05/0.1496, allocations: 24 kB / 0.5205 GB, free: 2.664 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.114e-05/0.1497, allocations: 20 kB / 0.5206 GB, free: 2.645 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.334e-05/0.1497, allocations: 59.81 kB / 0.5206 GB, free: 2.586 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00013/0.1499, allocations: 115.4 kB / 0.5207 GB, free: 2.473 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004142/0.1503, allocations: 306.6 kB / 0.521 GB, free: 2.172 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.1503, allocations: 0 / 0.521 GB, free: 2.172 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.495e-06/0.1503, allocations: 0 / 0.521 GB, free: 2.172 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.277e-06/0.1503, allocations: 0 / 0.521 GB, free: 2.172 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.00105/0.1513, allocations: 0.5246 MB / 0.5215 GB, free: 1.613 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.188e-05/0.1514, allocations: 8.031 kB / 0.5215 GB, free: 1.605 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.974e-05/0.1515, allocations: 32.75 kB / 0.5216 GB, free: 1.574 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004524/0.1519, allocations: 206 kB / 0.5218 GB, free: 1.348 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.615e-05/0.1519, allocations: 16.88 kB / 0.5218 GB, free: 1.332 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.576e-05/0.152, allocations: 36.27 kB / 0.5218 GB, free: 1.297 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005322/0.1525, allocations: 281.5 kB / 0.5221 GB, free: 1 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.071e-05/0.1526, allocations: 0 / 0.5221 GB, free: 1 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.853e-05/0.1526, allocations: 12 kB / 0.5221 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.947e-06/0.1526, allocations: 4 kB / 0.5221 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004493/0.1531, allocations: 187.7 kB / 0.5223 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001804/0.1549, allocations: 1.161 MB / 0.5234 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004565/0.1553, allocations: 234.5 kB / 0.5236 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002111/0.1555, allocations: 95.39 kB / 0.5237 GB, free: 15.19 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.459e-05/0.1556, allocations: 4 kB / 0.5237 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.612e-05/0.1556, allocations: 46.44 kB / 0.5238 GB, free: 15.13 MB / 414.1 MB Notification: Performance of pre-optimization done (n=26): time 1.853e-06/0.1556, allocations: 0 / 0.5238 GB, free: 15.13 MB / 414.1 MB Notification: Performance of matching and sorting (n=32): time 0.002635/0.1582, allocations: 1.194 MB / 0.5249 GB, free: 13.82 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001188/0.1584, allocations: 136.5 kB / 0.5251 GB, free: 13.66 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000277/0.1586, allocations: 229 kB / 0.5253 GB, free: 13.43 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.255e-05/0.1587, allocations: 33.7 kB / 0.5253 GB, free: 13.39 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001545/0.1588, allocations: 180.5 kB / 0.5255 GB, free: 13.21 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001203/0.1589, allocations: 126.9 kB / 0.5256 GB, free: 13.08 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001062/0.1591, allocations: 70.09 kB / 0.5257 GB, free: 13.01 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000196/0.1593, allocations: 338.8 kB / 0.526 GB, free: 12.67 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002663/0.1595, allocations: 104.9 kB / 0.5261 GB, free: 12.56 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003527/0.1599, allocations: 233.4 kB / 0.5263 GB, free: 12.28 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006419/0.1605, allocations: 378.4 kB / 0.5267 GB, free: 11.85 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.1605, allocations: 3.938 kB / 0.5267 GB, free: 11.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007881/0.1613, allocations: 400.8 kB / 0.5271 GB, free: 11.45 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.175e-05/0.1613, allocations: 11.94 kB / 0.5271 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.218e-06/0.1613, allocations: 4 kB / 0.5271 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.513e-05/0.1614, allocations: 8 kB / 0.5271 GB, free: 11.42 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003777/0.1617, allocations: 92.25 kB / 0.5272 GB, free: 11.33 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.604e-05/0.1618, allocations: 15.94 kB / 0.5272 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002115/0.162, allocations: 31.97 kB / 0.5272 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.863e-05/0.162, allocations: 16 kB / 0.5272 GB, free: 11.27 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002044/0.1622, allocations: 149.7 kB / 0.5274 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001137/0.1623, allocations: 31.75 kB / 0.5274 GB, free: 11.08 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.556e-05/0.1624, allocations: 37.7 kB / 0.5274 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.663e-06/0.1624, allocations: 4 kB / 0.5275 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.094e-06/0.1624, allocations: 0 / 0.5275 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.253e-06/0.1624, allocations: 7.938 kB / 0.5275 GB, free: 11.03 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001563/0.164, allocations: 0.8683 MB / 0.5283 GB, free: 10.12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.164, allocations: 0 / 0.5283 GB, free: 10.12 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000371/0.1644, allocations: 83.88 kB / 0.5284 GB, free: 10.04 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.601e-06/0.1644, allocations: 8.062 kB / 0.5284 GB, free: 10.03 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.584e-05/0.1644, allocations: 8 kB / 0.5284 GB, free: 10.02 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.1644, allocations: 0 / 0.5284 GB, free: 10.02 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.202e-06/0.1644, allocations: 7.938 kB / 0.5284 GB, free: 10.01 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001071/0.1655, allocations: 0.7291 MB / 0.5291 GB, free: 9.258 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.806e-05/0.1655, allocations: 39.8 kB / 0.5292 GB, free: 9.219 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.118e-05/0.1656, allocations: 12 kB / 0.5292 GB, free: 9.207 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002833/0.1658, allocations: 16.27 kB / 0.5292 GB, free: 9.191 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.992e-05/0.1659, allocations: 35.83 kB / 0.5292 GB, free: 9.156 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.438e-05/0.1659, allocations: 4 kB / 0.5292 GB, free: 9.152 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001462/0.1661, allocations: 164.4 kB / 0.5294 GB, free: 8.992 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1661, allocations: 0 / 0.5294 GB, free: 8.992 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004671/0.1665, allocations: 68 kB / 0.5294 GB, free: 8.926 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (speed4.s,speed3.s,speed3.v,speed1.phi,speed1.w,speed2.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001268/0.1667, allocations: 103.2 kB / 0.5295 GB, free: 8.816 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006371/0.1673, allocations: 277 kB / 0.5298 GB, free: 8.547 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1673, allocations: 0 / 0.5298 GB, free: 8.547 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002881/0.1676, allocations: 123.8 kB / 0.5299 GB, free: 8.426 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006435/0.1682, allocations: 40.41 kB / 0.53 GB, free: 8.383 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001506/0.1697, allocations: 0.8842 MB / 0.5308 GB, free: 7.457 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002243/0.17, allocations: 160.1 kB / 0.531 GB, free: 7.273 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001394/0.1701, allocations: 30.95 kB / 0.531 GB, free: 7.242 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.353e-05/0.1702, allocations: 31.42 kB / 0.531 GB, free: 7.215 MB / 414.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1702, allocations: 0 / 0.531 GB, free: 7.215 MB / 414.1 MB Notification: Performance of Templates: time 0.006824/0.177, allocations: 2.702 MB / 0.5337 GB, free: 4.539 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/TestSpeed/TestSpeed.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.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.838051255792379]