Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J2.phi|J2.w|J3.phi|J3.w|J5.phi|J5.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J2.phi|J2.w|J3.phi|J3.w|J5.phi|J5.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008628/0.0008628, allocations: 93.53 kB / 16.99 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008999/0.0008999, allocations: 181 kB / 17.87 MB, free: 5.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.375/1.375, allocations: 223.2 MB / 241.8 MB, free: 388 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.193/0.193, allocations: 44.23 MB / 337.1 MB, free: 2.91 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000573/0.0005733, allocations: 9.656 kB / 409.5 MB, free: 27.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1452/0.1458, allocations: 61.92 MB / 471.5 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.002883/0.1488, allocations: 2.256 MB / 473.7 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001118/0.1499, allocations: 0.6978 MB / 474.4 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001445/0.1501, allocations: 8 kB / 474.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 7.144e-05/0.1502, allocations: 43.62 kB / 474.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002474/0.1504, allocations: 123.7 kB / 474.6 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002097/0.1507, allocations: 75.86 kB / 474.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003446/0.151, allocations: 311.7 kB / 475 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002285/0.1512, allocations: 137.4 kB / 475.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001679/0.1514, allocations: 143.5 kB / 475.2 MB, free: 9.969 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001875/0.1516, allocations: 163.2 kB / 475.4 MB, free: 9.809 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.023e-05/0.1517, allocations: 20 kB / 475.4 MB, free: 9.789 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.448e-05/0.1517, allocations: 16 kB / 475.4 MB, free: 9.773 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.965e-05/0.1518, allocations: 59.77 kB / 475.5 MB, free: 9.715 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.679e-05/0.1518, allocations: 97.52 kB / 475.6 MB, free: 9.613 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002588/0.1521, allocations: 315.3 kB / 475.9 MB, free: 9.305 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.1521, allocations: 0 / 475.9 MB, free: 9.305 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.1521, allocations: 0 / 475.9 MB, free: 9.305 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.58e-06/0.1521, allocations: 0 / 475.9 MB, free: 9.305 MB / 350.1 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.0008443/0.153, allocations: 0.6198 MB / 476.5 MB, free: 8.633 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/0.153, allocations: 12.5 kB / 476.5 MB, free: 8.621 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.139e-05/0.1531, allocations: 39.53 kB / 476.6 MB, free: 8.582 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002951/0.1534, allocations: 287.3 kB / 476.8 MB, free: 8.258 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.977e-05/0.1535, allocations: 29 kB / 476.9 MB, free: 8.23 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.013e-05/0.1535, allocations: 39.95 kB / 476.9 MB, free: 8.191 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000608/0.1542, allocations: 385 kB / 477.3 MB, free: 7.797 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.062e-05/0.1542, allocations: 3.906 kB / 477.3 MB, free: 7.793 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.494e-05/0.1542, allocations: 16 kB / 477.3 MB, free: 7.777 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.33e-05/0.1542, allocations: 12 kB / 477.3 MB, free: 7.766 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004746/0.1547, allocations: 267.7 kB / 477.6 MB, free: 7.504 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001494/0.1562, allocations: 1.112 MB / 478.7 MB, free: 6.332 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005358/0.1568, allocations: 359.5 kB / 479 MB, free: 5.953 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.388e-05/0.1568, allocations: 4 kB / 479 MB, free: 5.949 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.29e-05/0.1568, allocations: 43.31 kB / 479.1 MB, free: 5.898 MB / 350.1 MB Notification: Performance of pre-optimization done (n=39): time 1.674e-06/0.1569, allocations: 0 / 479.1 MB, free: 5.898 MB / 350.1 MB Notification: Performance of matching and sorting (n=57): time 0.003649/0.1605, allocations: 2.466 MB / 481.5 MB, free: 3.168 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.344e-05/0.1606, allocations: 114.8 kB / 481.7 MB, free: 3.031 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002231/0.1608, allocations: 238.6 kB / 481.9 MB, free: 2.793 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.807e-05/0.1609, allocations: 37.7 kB / 481.9 MB, free: 2.75 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001023/0.161, allocations: 180.7 kB / 482.1 MB, free: 2.57 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001435/0.1611, allocations: 201.1 kB / 482.3 MB, free: 2.371 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.07e-05/0.1612, allocations: 12 kB / 482.3 MB, free: 2.359 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001286/0.1613, allocations: 346.8 kB / 482.7 MB, free: 2.012 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002492/0.1615, allocations: 129.1 kB / 482.8 MB, free: 1.883 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002981/0.1619, allocations: 239.8 kB / 483 MB, free: 1.613 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002906/0.1622, allocations: 167.9 kB / 483.2 MB, free: 1.449 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.1622, allocations: 0 / 483.2 MB, free: 1.449 MB / 350.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0009681/0.1631, allocations: 0.5657 MB / 483.7 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.478e-05/0.1632, allocations: 12.09 kB / 483.8 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.1632, allocations: 0 / 483.8 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003761/0.1636, allocations: 118.5 kB / 483.9 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003776/0.164, allocations: 103.8 kB / 484 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004224/0.1682, allocations: 4.704 MB / 488.7 MB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002852/0.1685, allocations: 23.98 kB / 488.7 MB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.25e-05/0.1685, allocations: 20 kB / 488.7 MB, free: 11.48 MB / 366.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000231/0.1688, allocations: 177.7 kB / 488.9 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.223e-05/0.1689, allocations: 39.53 kB / 488.9 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.639e-05/0.169, allocations: 46.17 kB / 489 MB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.169, allocations: 8 kB / 489 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.724e-05/0.169, allocations: 4 kB / 489 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.428e-06/0.169, allocations: 3.984 kB / 489 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002009/0.171, allocations: 1.347 MB / 490.3 MB, free: 9.773 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/0.1711, allocations: 0 / 490.3 MB, free: 9.773 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005583/0.1716, allocations: 95.89 kB / 490.4 MB, free: 9.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003574/0.172, allocations: 102.6 kB / 490.5 MB, free: 9.57 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.9e-05/0.172, allocations: 12 kB / 490.5 MB, free: 9.559 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00366/0.1757, allocations: 4.135 MB / 494.7 MB, free: 5.02 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.545e-06/0.1757, allocations: 7.984 kB / 494.7 MB, free: 5.012 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001531/0.1773, allocations: 1.002 MB / 495.7 MB, free: 3.945 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001159/0.1774, allocations: 101.2 kB / 495.8 MB, free: 3.828 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.289e-05/0.1775, allocations: 16.06 kB / 495.8 MB, free: 3.812 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002611/0.1778, allocations: 19.98 kB / 495.8 MB, free: 3.793 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001101/0.1779, allocations: 47.83 kB / 495.9 MB, free: 3.746 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.52e-05/0.1779, allocations: 20 kB / 495.9 MB, free: 3.727 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001663/0.1781, allocations: 166 kB / 496.1 MB, free: 3.562 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1781, allocations: 4 kB / 496.1 MB, free: 3.559 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007532/0.1788, allocations: 120 kB / 496.2 MB, free: 3.441 MB / 366.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000172/0.179, allocations: 107.2 kB / 496.3 MB, free: 3.328 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001332/0.1804, allocations: 0.7784 MB / 497.1 MB, free: 2.512 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.1804, allocations: 3.938 kB / 497.1 MB, free: 2.508 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008279/0.1812, allocations: 0.5798 MB / 497.6 MB, free: 1.891 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005194/0.1817, allocations: 48.47 kB / 497.7 MB, free: 1.844 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002064/0.1838, allocations: 1.287 MB / 499 MB, free: 0.5117 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000539/0.1844, allocations: 0.8365 MB / 499.8 MB, free: 15.65 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.00015/0.1845, allocations: 31.27 kB / 499.8 MB, free: 15.62 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.126e-05/0.1846, allocations: 31.42 kB / 499.9 MB, free: 15.59 MB / 382.1 MB Notification: Performance of SimCode: time 2.465e-06/0.1846, allocations: 3.938 kB / 499.9 MB, free: 15.59 MB / 382.1 MB Notification: Performance of Templates: time 0.00819/0.1928, allocations: 3.998 MB / 0.4921 GB, free: 11.6 MB / 382.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.sim & ./ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/ForUsersGuide/Directions/Directions.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches