Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.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.001528/0.001528, allocations: 119.4 kB / 17.79 MB, free: 5.285 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.001742/0.001742, allocations: 200.3 kB / 20.74 MB, free: 2.344 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.662/1.662, allocations: 230.6 MB / 254.1 MB, free: 15.08 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.2438/0.2438, allocations: 46.92 MB / 357.1 MB, free: 10.31 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.Directions3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J1.phi|J1.w|J3.phi|J3.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J1.phi|J1.w|J3.phi|J3.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002066/0.002066, allocations: 63.91 kB / 0.4914 GB, free: 7.48 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1484/0.1505, allocations: 65.99 MB / 0.5558 GB, free: 5.359 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.003943/0.1544, allocations: 1.665 MB / 0.5575 GB, free: 3.68 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004195/0.1548, allocations: 115.6 kB / 0.5576 GB, free: 3.566 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.298e-05/0.1549, allocations: 3.938 kB / 0.5576 GB, free: 3.562 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 8.107e-05/0.155, allocations: 15.86 kB / 0.5576 GB, free: 3.547 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001574/0.1551, allocations: 35.69 kB / 0.5576 GB, free: 3.512 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001684/0.1553, allocations: 27.98 kB / 0.5576 GB, free: 3.484 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003392/0.1557, allocations: 127.4 kB / 0.5578 GB, free: 3.359 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001665/0.1558, allocations: 25.11 kB / 0.5578 GB, free: 3.336 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001125/0.1559, allocations: 51.8 kB / 0.5578 GB, free: 3.285 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001101/0.156, allocations: 63.7 kB / 0.5579 GB, free: 3.223 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.592e-05/0.1561, allocations: 8 kB / 0.5579 GB, free: 3.215 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.776e-05/0.1561, allocations: 12 kB / 0.5579 GB, free: 3.203 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 3.396e-05/0.1561, allocations: 15.92 kB / 0.5579 GB, free: 3.188 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.431e-05/0.1562, allocations: 59.73 kB / 0.558 GB, free: 3.129 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002275/0.1564, allocations: 119.5 kB / 0.5581 GB, free: 3.012 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.1564, allocations: 0 / 0.5581 GB, free: 3.012 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1565, allocations: 0 / 0.5581 GB, free: 3.012 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.448e-06/0.1565, allocations: 4 kB / 0.5581 GB, free: 3.008 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0006831/0.1571, allocations: 419.2 kB / 0.5585 GB, free: 2.543 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.1572, allocations: 8.031 kB / 0.5585 GB, free: 2.535 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.94e-05/0.1572, allocations: 12.89 kB / 0.5585 GB, free: 2.523 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002559/0.1575, allocations: 200.2 kB / 0.5587 GB, free: 2.289 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.022e-05/0.1575, allocations: 4.609 kB / 0.5587 GB, free: 2.285 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.5e-05/0.1576, allocations: 16.38 kB / 0.5587 GB, free: 2.27 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002412/0.1578, allocations: 127.8 kB / 0.5589 GB, free: 2.137 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.976e-05/0.1578, allocations: 8.141 kB / 0.5589 GB, free: 2.129 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.918e-05/0.1578, allocations: 15.88 kB / 0.5589 GB, free: 2.113 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.1578, allocations: 4 kB / 0.5589 GB, free: 2.109 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00013/0.158, allocations: 63.94 kB / 0.559 GB, free: 2.047 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008049/0.1588, allocations: 0.5334 MB / 0.5595 GB, free: 1.453 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001522/0.1589, allocations: 81.22 kB / 0.5596 GB, free: 1.355 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.76e-05/0.159, allocations: 29.66 kB / 0.5596 GB, free: 1.32 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.547e-05/0.159, allocations: 3.938 kB / 0.5596 GB, free: 1.316 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.368e-05/0.159, allocations: 34.56 kB / 0.5596 GB, free: 1.273 MB / 414.1 MB Notification: Performance of pre-optimization done (n=8): time 1.272e-06/0.159, allocations: 0 / 0.5596 GB, free: 1.273 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006606/0.1597, allocations: 305.5 kB / 0.5599 GB, free: 0.9258 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.5e-05/0.1598, allocations: 77.11 kB / 0.56 GB, free: 0.832 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001261/0.1599, allocations: 121.8 kB / 0.5601 GB, free: 0.7031 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.785e-05/0.1599, allocations: 25.7 kB / 0.5601 GB, free: 0.6719 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001014/0.16, allocations: 123.8 kB / 0.5602 GB, free: 0.5469 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.281e-05/0.16, allocations: 31.75 kB / 0.5603 GB, free: 0.5156 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.664e-05/0.1601, allocations: 33.7 kB / 0.5603 GB, free: 488 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001623/0.1603, allocations: 322.8 kB / 0.5606 GB, free: 156 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.396e-05/0.1603, allocations: 27.94 kB / 0.5606 GB, free: 128 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.196e-05/0.1604, allocations: 76.58 kB / 0.5607 GB, free: 20 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001994/0.1606, allocations: 124.5 kB / 0.5608 GB, free: 15.86 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.59e-06/0.1606, allocations: 4 kB / 0.5608 GB, free: 15.86 MB / 430.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003188/0.1609, allocations: 167 kB / 0.561 GB, free: 15.69 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.1609, allocations: 4 kB / 0.561 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.161, allocations: 4 kB / 0.561 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000207/0.1612, allocations: 46.3 kB / 0.561 GB, free: 15.63 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.995e-05/0.1613, allocations: 31.92 kB / 0.5611 GB, free: 15.6 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002419/0.1637, allocations: 2.731 MB / 0.5637 GB, free: 12.59 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.881e-05/0.1637, allocations: 15.92 kB / 0.5638 GB, free: 12.57 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.229e-05/0.1638, allocations: 8 kB / 0.5638 GB, free: 12.56 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001232/0.1639, allocations: 128 kB / 0.5639 GB, free: 12.43 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.714e-05/0.1639, allocations: 8.094 kB / 0.5639 GB, free: 12.42 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.003e-05/0.164, allocations: 11.84 kB / 0.5639 GB, free: 12.41 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.164, allocations: 0 / 0.5639 GB, free: 12.41 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/0.164, allocations: 7.938 kB / 0.5639 GB, free: 12.4 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.164, allocations: 0 / 0.5639 GB, free: 12.4 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003053/0.1643, allocations: 209.5 kB / 0.5641 GB, free: 12.14 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.1643, allocations: 0 / 0.5641 GB, free: 12.14 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.263e-05/0.1644, allocations: 11.94 kB / 0.5641 GB, free: 12.13 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001061/0.1645, allocations: 37.7 kB / 0.5642 GB, free: 12.09 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.699e-05/0.1645, allocations: 11.94 kB / 0.5642 GB, free: 12.08 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00234/0.1668, allocations: 2.734 MB / 0.5668 GB, free: 9.062 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.1668, allocations: 4.031 kB / 0.5668 GB, free: 9.059 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003501/0.1672, allocations: 304.3 kB / 0.5671 GB, free: 8.738 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.377e-05/0.1672, allocations: 81.11 kB / 0.5672 GB, free: 8.641 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.275e-05/0.1673, allocations: 0 / 0.5672 GB, free: 8.641 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.383e-05/0.1673, allocations: 8.062 kB / 0.5672 GB, free: 8.633 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.059e-05/0.1674, allocations: 8.031 kB / 0.5672 GB, free: 8.625 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.532e-06/0.1674, allocations: 4 kB / 0.5672 GB, free: 8.621 MB / 430.1 MB Notification: Performance of sorting global known variables: time 7.467e-05/0.1675, allocations: 91.7 kB / 0.5673 GB, free: 8.531 MB / 430.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1675, allocations: 0 / 0.5673 GB, free: 8.531 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003873/0.1678, allocations: 39.89 kB / 0.5674 GB, free: 8.492 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (J1.w,J2.phi,J3.w,J4.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 (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001428/0.168, allocations: 103.2 kB / 0.5675 GB, free: 8.383 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0005589/0.1685, allocations: 305.4 kB / 0.5677 GB, free: 8.059 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.1685, allocations: 0 / 0.5677 GB, free: 8.059 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003084/0.1689, allocations: 262 kB / 0.568 GB, free: 7.777 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004616/0.1693, allocations: 30.45 kB / 0.568 GB, free: 7.75 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009239/0.1702, allocations: 471.9 kB / 0.5685 GB, free: 7.262 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003631/0.1706, allocations: 0.7122 MB / 0.5692 GB, free: 6.523 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 4.963e-05/0.1707, allocations: 8.875 kB / 0.5692 GB, free: 6.512 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.479e-05/0.1707, allocations: 11.44 kB / 0.5692 GB, free: 6.5 MB / 430.1 MB Notification: Performance of SimCode: time 6.21e-07/0.1707, allocations: 3.938 kB / 0.5692 GB, free: 6.496 MB / 430.1 MB Notification: Performance of Templates: time 0.005085/0.1758, allocations: 1.565 MB / 0.5707 GB, free: 4.941 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.sim & ./ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/ForUsersGuide/Directions3/Directions3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.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.417391836643219]