Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions2.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.001882/0.001882, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.002778/0.002778, allocations: 199.3 kB / 20.74 MB, free: 2.32 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.64/1.64, allocations: 230.6 MB / 254.1 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2419/0.2419, allocations: 46.92 MB / 357.1 MB, free: 10.43 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Directions2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J2.phi|J2.w|J4.phi|J4.w|J6.phi|J6.w|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions2") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J2.phi|J2.w|J4.phi|J4.w|J6.phi|J6.w|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001993/0.001993, allocations: 55.91 kB / 0.4914 GB, free: 7.598 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1452/0.1472, allocations: 65.99 MB / 0.5558 GB, free: 5.469 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions2): time 0.004691/0.1519, allocations: 2.852 MB / 0.5586 GB, free: 2.602 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001551/0.1534, allocations: 0.7827 MB / 0.5594 GB, free: 1.812 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001756/0.1536, allocations: 15.94 kB / 0.5594 GB, free: 1.797 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001968/0.1538, allocations: 59.38 kB / 0.5595 GB, free: 1.738 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002663/0.154, allocations: 126.9 kB / 0.5596 GB, free: 1.613 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003348/0.1544, allocations: 103.8 kB / 0.5597 GB, free: 1.512 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005222/0.1549, allocations: 446 kB / 0.5601 GB, free: 1.074 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002472/0.1551, allocations: 109.6 kB / 0.5602 GB, free: 0.9609 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003049/0.1555, allocations: 187.3 kB / 0.5604 GB, free: 0.7773 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002526/0.1557, allocations: 171.2 kB / 0.5606 GB, free: 0.6094 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.032e-05/0.1558, allocations: 32 kB / 0.5606 GB, free: 0.5781 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000102/0.1559, allocations: 43.98 kB / 0.5606 GB, free: 0.5352 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.626e-05/0.1559, allocations: 75.7 kB / 0.5607 GB, free: 472 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001934/0.1561, allocations: 203 kB / 0.5609 GB, free: 268 kB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005474/0.1567, allocations: 438.1 kB / 0.5613 GB, free: 15.83 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.1567, allocations: 0 / 0.5613 GB, free: 15.83 MB / 430.1 MB Notification: Performance of FrontEnd: time 9.32e-07/0.1567, allocations: 4 kB / 0.5613 GB, free: 15.83 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.004e-05/0.1567, allocations: 3.984 kB / 0.5613 GB, free: 15.82 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001106/0.1578, allocations: 0.6586 MB / 0.562 GB, free: 15.12 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.1578, allocations: 8.031 kB / 0.562 GB, free: 15.11 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002727/0.1581, allocations: 60.69 kB / 0.562 GB, free: 15.05 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003995/0.1585, allocations: 291.7 kB / 0.5623 GB, free: 14.73 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.822e-05/0.1585, allocations: 25.38 kB / 0.5623 GB, free: 14.7 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.139e-05/0.1586, allocations: 44.33 kB / 0.5624 GB, free: 14.66 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006632/0.1593, allocations: 398.5 kB / 0.5627 GB, free: 14.23 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.2e-05/0.1593, allocations: 7.953 kB / 0.5628 GB, free: 14.23 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.132e-05/0.1594, allocations: 19.98 kB / 0.5628 GB, free: 14.21 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.243e-05/0.1594, allocations: 8 kB / 0.5628 GB, free: 14.2 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004595/0.1598, allocations: 215.7 kB / 0.563 GB, free: 13.99 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002422/0.1622, allocations: 1.719 MB / 0.5647 GB, free: 12.16 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004718/0.1627, allocations: 254.3 kB / 0.5649 GB, free: 11.85 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001727/0.1629, allocations: 94.08 kB / 0.565 GB, free: 11.74 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.766e-05/0.1629, allocations: 7.984 kB / 0.565 GB, free: 11.73 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.051e-05/0.163, allocations: 42.5 kB / 0.565 GB, free: 11.68 MB / 430.1 MB Notification: Performance of pre-optimization done (n=26): time 1.603e-06/0.163, allocations: 0 / 0.565 GB, free: 11.68 MB / 430.1 MB Notification: Performance of matching and sorting (n=26): time 0.0007487/0.1637, allocations: 269.2 kB / 0.5653 GB, free: 11.41 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001447/0.1639, allocations: 213.6 kB / 0.5655 GB, free: 11.15 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003135/0.1642, allocations: 283.2 kB / 0.5658 GB, free: 10.86 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.748e-05/0.1642, allocations: 29.7 kB / 0.5658 GB, free: 10.83 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001969/0.1644, allocations: 240.3 kB / 0.566 GB, free: 10.59 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001517/0.1645, allocations: 127.1 kB / 0.5662 GB, free: 10.46 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001377/0.1647, allocations: 102.3 kB / 0.5663 GB, free: 10.36 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002233/0.1649, allocations: 346.7 kB / 0.5666 GB, free: 10.01 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002028/0.1651, allocations: 97.27 kB / 0.5667 GB, free: 9.918 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006175/0.1657, allocations: 428.8 kB / 0.5671 GB, free: 9.34 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008128/0.1665, allocations: 0.5783 MB / 0.5677 GB, free: 8.602 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.04e-05/0.1665, allocations: 4 kB / 0.5677 GB, free: 8.598 MB / 430.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0008978/0.1674, allocations: 0.5251 MB / 0.5682 GB, free: 8.066 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.755e-05/0.1675, allocations: 8 kB / 0.5682 GB, free: 8.059 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.962e-05/0.1675, allocations: 12 kB / 0.5682 GB, free: 8.047 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.402e-05/0.1675, allocations: 20.03 kB / 0.5682 GB, free: 8.027 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004547/0.168, allocations: 147.8 kB / 0.5683 GB, free: 7.883 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.69e-05/0.168, allocations: 23.92 kB / 0.5684 GB, free: 7.859 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002993/0.1683, allocations: 64.06 kB / 0.5684 GB, free: 7.797 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001046/0.1684, allocations: 35.98 kB / 0.5685 GB, free: 7.762 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (71): * Single equations (assignments): 71 * 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.0002051/0.1686, allocations: 179.7 kB / 0.5686 GB, free: 7.578 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001591/0.1688, allocations: 31.81 kB / 0.5687 GB, free: 7.547 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001333/0.1689, allocations: 41.83 kB / 0.5687 GB, free: 7.508 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.1689, allocations: 4 kB / 0.5687 GB, free: 7.504 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.218e-05/0.1689, allocations: 4 kB / 0.5687 GB, free: 7.5 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.648e-06/0.1689, allocations: 7.984 kB / 0.5687 GB, free: 7.492 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001375/0.1703, allocations: 0.6514 MB / 0.5694 GB, free: 6.777 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.1703, allocations: 4 kB / 0.5694 GB, free: 6.773 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004467/0.1708, allocations: 91.95 kB / 0.5695 GB, free: 6.684 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.853e-06/0.1708, allocations: 4 kB / 0.5695 GB, free: 6.68 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.984e-05/0.1708, allocations: 11.98 kB / 0.5695 GB, free: 6.668 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.793e-06/0.1708, allocations: 7.938 kB / 0.5695 GB, free: 6.66 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.1708, allocations: 3.938 kB / 0.5695 GB, free: 6.656 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009065/0.1717, allocations: 0.8291 MB / 0.5703 GB, free: 5.797 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000103/0.1718, allocations: 112.8 kB / 0.5704 GB, free: 5.668 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.493e-05/0.1719, allocations: 8 kB / 0.5704 GB, free: 5.66 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003375/0.1722, allocations: 23.92 kB / 0.5704 GB, free: 5.637 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.759e-05/0.1723, allocations: 15.92 kB / 0.5704 GB, free: 5.621 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.052e-05/0.1723, allocations: 15.98 kB / 0.5705 GB, free: 5.605 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002082/0.1725, allocations: 186 kB / 0.5706 GB, free: 5.422 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1725, allocations: 0 / 0.5706 GB, free: 5.422 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007621/0.1733, allocations: 99.89 kB / 0.5707 GB, free: 5.324 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 18 (inertia2.phi,inertia2.w,inertia1.phi,inertia1.w,inertia5.phi,inertia5.w,inertia6.phi,inertia6.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w,J6.phi,J6.w,J4.phi,J4.w,J2.phi,J2.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 (26): * Single equations (assignments): 26 * 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.0001751/0.1735, allocations: 107.2 kB / 0.5708 GB, free: 5.207 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0006442/0.1741, allocations: 285.4 kB / 0.5711 GB, free: 4.93 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1741, allocations: 3.938 kB / 0.5711 GB, free: 4.926 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001757/0.1743, allocations: 93.27 kB / 0.5712 GB, free: 4.836 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001049/0.1753, allocations: 81.81 kB / 0.5713 GB, free: 4.762 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002331/0.1777, allocations: 1.552 MB / 0.5728 GB, free: 3.156 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005927/0.1783, allocations: 0.7987 MB / 0.5736 GB, free: 2.328 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001427/0.1784, allocations: 47.25 kB / 0.5736 GB, free: 2.285 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.296e-05/0.1785, allocations: 27.44 kB / 0.5736 GB, free: 2.258 MB / 430.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1785, allocations: 0 / 0.5736 GB, free: 2.258 MB / 430.1 MB Notification: Performance of Templates: time 0.008134/0.1866, allocations: 3.085 MB / 0.5767 GB, free: 15.2 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions2.sim & ./ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/ForUsersGuide/Directions2/Directions2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions2.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.387171313166618]