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.001491/0.001491, allocations: 119.1 kB / 18.46 MB, free: 4.602 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.001388/0.001388, allocations: 215.2 kB / 21.42 MB, free: 1.645 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.489/1.489, allocations: 230.6 MB / 254.8 MB, free: 15.24 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.229/0.229, allocations: 46.91 MB / 357.8 MB, free: 10.34 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.001971/0.001971, allocations: 71.89 kB / 0.4921 GB, free: 7.488 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1463/0.1483, allocations: 65.99 MB / 0.5565 GB, free: 5.367 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions2): time 0.004747/0.153, allocations: 2.86 MB / 0.5593 GB, free: 2.492 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001554/0.1546, allocations: 0.7828 MB / 0.5601 GB, free: 1.703 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000165/0.1547, allocations: 11.94 kB / 0.5601 GB, free: 1.691 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000198/0.1549, allocations: 55.39 kB / 0.5601 GB, free: 1.637 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002561/0.1552, allocations: 130.9 kB / 0.5603 GB, free: 1.508 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003376/0.1555, allocations: 107.8 kB / 0.5604 GB, free: 1.402 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004871/0.156, allocations: 434 kB / 0.5608 GB, free: 0.9766 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002447/0.1563, allocations: 113.6 kB / 0.5609 GB, free: 0.8594 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000279/0.1565, allocations: 183.3 kB / 0.5611 GB, free: 0.6797 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002471/0.1568, allocations: 179.2 kB / 0.5612 GB, free: 0.5039 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.862e-05/0.1568, allocations: 32 kB / 0.5613 GB, free: 484 kB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.886e-05/0.1569, allocations: 44 kB / 0.5613 GB, free: 440 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.706e-05/0.157, allocations: 79.69 kB / 0.5614 GB, free: 360 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000188/0.1572, allocations: 195.1 kB / 0.5616 GB, free: 164 kB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005552/0.1577, allocations: 442.1 kB / 0.562 GB, free: 15.73 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.1577, allocations: 0 / 0.562 GB, free: 15.73 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.522e-06/0.1577, allocations: 0 / 0.562 GB, free: 15.73 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.125e-06/0.1578, allocations: 0 / 0.562 GB, free: 15.73 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.001072/0.1588, allocations: 0.6664 MB / 0.5626 GB, free: 15.01 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.1589, allocations: 11.97 kB / 0.5626 GB, free: 15 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000271/0.1591, allocations: 60.67 kB / 0.5627 GB, free: 14.94 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004168/0.1596, allocations: 283.7 kB / 0.563 GB, free: 14.62 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.438e-05/0.1596, allocations: 29.38 kB / 0.563 GB, free: 14.59 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.964e-05/0.1597, allocations: 40.33 kB / 0.563 GB, free: 14.55 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006678/0.1603, allocations: 398.4 kB / 0.5634 GB, free: 14.13 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.799e-05/0.1604, allocations: 11.95 kB / 0.5634 GB, free: 14.12 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.582e-05/0.1604, allocations: 16 kB / 0.5634 GB, free: 14.11 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.724e-05/0.1604, allocations: 8 kB / 0.5635 GB, free: 14.1 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004509/0.1609, allocations: 219.7 kB / 0.5637 GB, free: 13.88 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002521/0.1634, allocations: 1.711 MB / 0.5653 GB, free: 12.07 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004973/0.1639, allocations: 266.3 kB / 0.5656 GB, free: 11.74 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001641/0.1641, allocations: 86.08 kB / 0.5657 GB, free: 11.64 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.293e-05/0.1641, allocations: 4 kB / 0.5657 GB, free: 11.63 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.714e-05/0.1641, allocations: 46.5 kB / 0.5657 GB, free: 11.58 MB / 430.1 MB Notification: Performance of pre-optimization done (n=26): time 1.573e-06/0.1641, allocations: 0 / 0.5657 GB, free: 11.58 MB / 430.1 MB Notification: Performance of matching and sorting (n=26): time 0.0007314/0.1649, allocations: 265.1 kB / 0.566 GB, free: 11.31 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001378/0.165, allocations: 221.9 kB / 0.5662 GB, free: 11.05 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003177/0.1653, allocations: 275.2 kB / 0.5664 GB, free: 10.77 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.797e-05/0.1653, allocations: 33.7 kB / 0.5665 GB, free: 10.73 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000185/0.1655, allocations: 244.2 kB / 0.5667 GB, free: 10.48 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00011/0.1656, allocations: 123 kB / 0.5668 GB, free: 10.36 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001443/0.1658, allocations: 102.3 kB / 0.5669 GB, free: 10.26 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001852/0.166, allocations: 342.8 kB / 0.5673 GB, free: 9.914 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002107/0.1662, allocations: 105.2 kB / 0.5674 GB, free: 9.812 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005027/0.1667, allocations: 428.8 kB / 0.5678 GB, free: 9.234 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007183/0.1674, allocations: 0.5744 MB / 0.5683 GB, free: 8.5 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.233e-06/0.1674, allocations: 4 kB / 0.5683 GB, free: 8.496 MB / 430.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0008863/0.1683, allocations: 0.5253 MB / 0.5688 GB, free: 7.965 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.37e-05/0.1683, allocations: 8 kB / 0.5688 GB, free: 7.957 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.753e-05/0.1683, allocations: 12 kB / 0.5689 GB, free: 7.945 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.044e-05/0.1684, allocations: 16 kB / 0.5689 GB, free: 7.93 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004569/0.1688, allocations: 147.7 kB / 0.569 GB, free: 7.785 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.743e-05/0.1688, allocations: 27.92 kB / 0.569 GB, free: 7.758 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003125/0.1692, allocations: 67.88 kB / 0.5691 GB, free: 7.691 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.804e-05/0.1692, allocations: 36 kB / 0.5691 GB, free: 7.656 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.000219/0.1694, allocations: 183.7 kB / 0.5693 GB, free: 7.469 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001609/0.1696, allocations: 31.81 kB / 0.5693 GB, free: 7.438 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.473e-05/0.1697, allocations: 37.81 kB / 0.5694 GB, free: 7.402 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.213e-06/0.1697, allocations: 4 kB / 0.5694 GB, free: 7.398 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.013e-05/0.1697, allocations: 4 kB / 0.5694 GB, free: 7.395 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.92e-06/0.1697, allocations: 3.938 kB / 0.5694 GB, free: 7.391 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001349/0.171, allocations: 0.6514 MB / 0.57 GB, free: 6.676 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.08e-06/0.171, allocations: 4 kB / 0.57 GB, free: 6.672 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004464/0.1715, allocations: 91.88 kB / 0.5701 GB, free: 6.582 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.135e-06/0.1715, allocations: 4 kB / 0.5701 GB, free: 6.578 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.539e-05/0.1715, allocations: 8 kB / 0.5701 GB, free: 6.57 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.424e-06/0.1715, allocations: 7.938 kB / 0.5701 GB, free: 6.562 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.171e-06/0.1715, allocations: 7.938 kB / 0.5701 GB, free: 6.555 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008658/0.1724, allocations: 0.829 MB / 0.571 GB, free: 5.695 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.62e-05/0.1725, allocations: 109 kB / 0.5711 GB, free: 5.57 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.889e-05/0.1725, allocations: 16 kB / 0.5711 GB, free: 5.555 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003536/0.1729, allocations: 7.938 kB / 0.5711 GB, free: 5.547 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.568e-05/0.173, allocations: 27.89 kB / 0.5711 GB, free: 5.52 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.558e-05/0.173, allocations: 12 kB / 0.5711 GB, free: 5.508 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001872/0.1732, allocations: 190 kB / 0.5713 GB, free: 5.32 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1732, allocations: 0 / 0.5713 GB, free: 5.32 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007745/0.174, allocations: 99.89 kB / 0.5714 GB, free: 5.223 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.0001441/0.1741, allocations: 107.2 kB / 0.5715 GB, free: 5.105 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0006097/0.1747, allocations: 281.7 kB / 0.5718 GB, free: 4.832 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.1747, allocations: 4.812 kB / 0.5718 GB, free: 4.828 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001818/0.1749, allocations: 92.14 kB / 0.5719 GB, free: 4.738 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009757/0.1759, allocations: 76.44 kB / 0.5719 GB, free: 4.664 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002437/0.1783, allocations: 1.589 MB / 0.5735 GB, free: 3.016 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004666/0.1788, allocations: 0.7987 MB / 0.5743 GB, free: 2.188 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.888e-05/0.1789, allocations: 31.44 kB / 0.5743 GB, free: 2.156 MB / 430.1 MB Notification: Performance of SimCode: time 6.11e-07/0.1789, allocations: 0 / 0.5743 GB, free: 2.156 MB / 430.1 MB Notification: Performance of Templates: time 0.007125/0.186, allocations: 4.23 MB / 0.5784 GB, free: 13.93 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/ForUsersGuide/Directions2/Directions2.csv","/var/lib/jenkins1/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: 8.250441402022261]