Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.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.001003/0.001003, allocations: 79.92 kB / 20.72 MB, free: 3.77 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.0009728/0.0009728, allocations: 169 kB / 24.14 MB, free: 364 kB / 18.57 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 0.9733/0.9733, allocations: 158.6 MB / 186 MB, free: 2.766 MB / 170.7 MB " [Timeout remaining time 179] 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.1603/0.1603, allocations: 32.37 MB / 270.7 MB, free: 14.59 MB / 266.7 MB " [Timeout remaining time 180] 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.Directions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J2.phi|J2.w|J3.phi|J3.w|J5.phi|J5.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J2.phi|J2.w|J3.phi|J3.w|J5.phi|J5.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 5.3e-06/5.3e-06, allocations: 7.984 kB / 299.1 MB, free: 2.215 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.045e-05/2.575e-05, allocations: 2.312 kB / 299.1 MB, free: 2.211 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.1515/0.1516, allocations: 2.813 MB / 301.9 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001511/0.1531, allocations: 0.7657 MB / 302.6 MB, free: 19.08 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001668/0.1532, allocations: 12.44 kB / 302.7 MB, free: 19.07 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001865/0.1534, allocations: 68.08 kB / 302.7 MB, free: 19.04 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002129/0.1536, allocations: 132.4 kB / 302.8 MB, free: 18.95 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000301/0.1539, allocations: 97.95 kB / 302.9 MB, free: 18.94 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003936/0.1543, allocations: 463.5 kB / 303.4 MB, free: 18.8 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001955/0.1545, allocations: 127.5 kB / 303.5 MB, free: 18.77 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003712/0.1549, allocations: 268.5 kB / 303.8 MB, free: 18.7 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002144/0.1551, allocations: 140.2 kB / 303.9 MB, free: 18.65 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.817e-05/0.1552, allocations: 35.38 kB / 304 MB, free: 18.65 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.196e-05/0.1552, allocations: 35.25 kB / 304 MB, free: 18.65 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.378e-05/0.1553, allocations: 85.08 kB / 304.1 MB, free: 18.59 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001232/0.1554, allocations: 143.1 kB / 304.2 MB, free: 18.54 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003934/0.1558, allocations: 295.8 kB / 304.5 MB, free: 18.39 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.1558, allocations: 0 / 304.5 MB, free: 18.39 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.1558, allocations: 0 / 304.5 MB, free: 18.39 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.098e-06/0.1558, allocations: 0 / 304.5 MB, free: 18.39 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.0006099/0.1564, allocations: 0.5766 MB / 305.1 MB, free: 17.97 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.1565, allocations: 8.766 kB / 305.1 MB, free: 17.97 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.044e-05/0.1565, allocations: 60.66 kB / 305.1 MB, free: 17.96 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002268/0.1568, allocations: 206.7 kB / 305.3 MB, free: 17.77 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.308e-05/0.1568, allocations: 36.16 kB / 305.4 MB, free: 17.76 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.367e-05/0.1568, allocations: 42.48 kB / 305.4 MB, free: 17.74 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003627/0.1572, allocations: 302.8 kB / 305.7 MB, free: 17.6 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.972e-05/0.1572, allocations: 5.969 kB / 305.7 MB, free: 17.6 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.169e-05/0.1573, allocations: 15.75 kB / 305.7 MB, free: 17.59 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.388e-05/0.1573, allocations: 14.06 kB / 305.8 MB, free: 17.58 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001542/0.1574, allocations: 96.5 kB / 305.8 MB, free: 17.57 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009035/0.1583, allocations: 0.7535 MB / 306.6 MB, free: 17.09 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002701/0.1586, allocations: 224.7 kB / 306.8 MB, free: 16.98 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001048/0.1587, allocations: 95.02 kB / 306.9 MB, free: 16.95 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.803e-05/0.1587, allocations: 11 kB / 306.9 MB, free: 16.94 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.371e-05/0.1588, allocations: 42.72 kB / 307 MB, free: 16.89 MB / 282.7 MB Notification: Performance of pre-optimization done (n=39): time 1.713e-06/0.1588, allocations: 1.219 kB / 307 MB, free: 16.89 MB / 282.7 MB Notification: Performance of matching and sorting (n=57): time 0.002444/0.1612, allocations: 1.572 MB / 308.5 MB, free: 15.97 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.769e-05/0.1613, allocations: 109.9 kB / 308.6 MB, free: 15.84 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002003/0.1615, allocations: 187.5 kB / 308.8 MB, free: 15.71 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.89e-05/0.1615, allocations: 40.81 kB / 308.9 MB, free: 15.67 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001201/0.1616, allocations: 180.7 kB / 309 MB, free: 15.52 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001558/0.1618, allocations: 200 kB / 309.2 MB, free: 15.36 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001436/0.1619, allocations: 91.39 kB / 309.3 MB, free: 15.3 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001325/0.162, allocations: 345.4 kB / 309.7 MB, free: 14.97 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001023/0.1621, allocations: 42.98 kB / 309.7 MB, free: 14.97 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001713/0.1623, allocations: 149.9 kB / 309.9 MB, free: 14.86 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003658/0.1627, allocations: 245.7 kB / 310.1 MB, free: 14.73 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.626e-06/0.1627, allocations: 5.094 kB / 310.1 MB, free: 14.73 MB / 282.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0005646/0.1633, allocations: 333.1 kB / 310.4 MB, free: 14.62 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.44e-05/0.1633, allocations: 6.531 kB / 310.4 MB, free: 14.62 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.1633, allocations: 3.281 kB / 310.4 MB, free: 14.62 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002602/0.1635, allocations: 115.5 kB / 310.6 MB, free: 14.57 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002466/0.1638, allocations: 93.12 kB / 310.6 MB, free: 14.56 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00202/0.1658, allocations: 4.295 MB / 314.9 MB, free: 10.52 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.972e-05/0.1659, allocations: 16.02 kB / 315 MB, free: 10.52 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.719e-05/0.1659, allocations: 19.17 kB / 315 MB, free: 10.51 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (51): * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,5,100.0%), (1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.776e-05/0.166, allocations: 143.2 kB / 315.1 MB, free: 10.37 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.018e-05/0.1661, allocations: 40.09 kB / 315.1 MB, free: 10.36 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.923e-05/0.1661, allocations: 41.22 kB / 315.2 MB, free: 10.32 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.1661, allocations: 7.594 kB / 315.2 MB, free: 10.32 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.677e-05/0.1662, allocations: 2.812 kB / 315.2 MB, free: 10.32 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.336e-06/0.1662, allocations: 3.891 kB / 315.2 MB, free: 10.32 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009072/0.1671, allocations: 0.84 MB / 316 MB, free: 9.793 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.1671, allocations: 1.375 kB / 316 MB, free: 9.793 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002215/0.1673, allocations: 94.3 kB / 316.1 MB, free: 9.785 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001808/0.1675, allocations: 84.48 kB / 316.2 MB, free: 9.75 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.183e-05/0.1675, allocations: 13.48 kB / 316.2 MB, free: 9.742 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001271/0.1688, allocations: 3.652 MB / 319.9 MB, free: 6.211 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/0.1688, allocations: 1.688 kB / 319.9 MB, free: 6.211 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004972/0.1693, allocations: 0.6276 MB / 320.5 MB, free: 5.816 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.794e-05/0.1693, allocations: 28.3 kB / 320.5 MB, free: 5.801 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.235e-05/0.1693, allocations: 15.84 kB / 320.6 MB, free: 5.789 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001111/0.1694, allocations: 15.41 kB / 320.6 MB, free: 5.781 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.758e-05/0.1695, allocations: 53.02 kB / 320.6 MB, free: 5.766 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.624e-05/0.1696, allocations: 8.531 kB / 320.6 MB, free: 5.766 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.605e-05/0.1696, allocations: 63.25 kB / 320.7 MB, free: 5.738 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1696, allocations: 1.281 kB / 320.7 MB, free: 5.738 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004382/0.17, allocations: 119.7 kB / 320.8 MB, free: 5.719 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (J5.phi,J5.w,J3.phi,J3.w,J1.phi,J1.w) * 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 (48): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 9.994e-05/0.1701, allocations: 94.05 kB / 320.9 MB, free: 5.637 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0006337/0.1708, allocations: 0.63 MB / 321.5 MB, free: 5.219 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.1708, allocations: 2.031 kB / 321.5 MB, free: 5.219 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003007/0.1711, allocations: 0.5142 MB / 322.1 MB, free: 4.824 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003515/0.1714, allocations: 59.31 kB / 322.1 MB, free: 4.797 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001081/0.1725, allocations: 0.809 MB / 322.9 MB, free: 4.273 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001098/0.1726, allocations: 120.2 kB / 323 MB, free: 4.199 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 8.41e-05/0.1727, allocations: 28.45 kB / 323.1 MB, free: 4.199 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001156/0.1728, allocations: 109.5 kB / 323.2 MB, free: 4.145 MB / 282.7 MB Notification: Performance of SimCode: time 7.92e-07/0.1728, allocations: 0 / 323.2 MB, free: 4.145 MB / 282.7 MB Notification: Performance of Templates: time 0.006513/0.1793, allocations: 4.698 MB / 327.9 MB, free: 396 kB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/ForUsersGuide/Directions/Directions.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.289354383945465]