Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001331/0.001331, allocations: 123.4 kB / 17.79 MB, free: 5.227 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.002078/0.002078, allocations: 208.3 kB / 20.75 MB, free: 2.273 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.665/1.665, allocations: 230.6 MB / 254.1 MB, free: 15.1 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.2605/0.2605, allocations: 46.91 MB / 357.1 MB, free: 10.33 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: "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Rotational_ForUsersGuide_Directions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Rotational_ForUsersGuide_Directions",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001945/0.001945, allocations: 63.89 kB / 0.4909 GB, free: 8.008 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1495/0.1515, allocations: 65.99 MB / 0.5554 GB, free: 5.891 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.004677/0.1561, allocations: 2.868 MB / 0.5582 GB, free: 3.008 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001772/0.1579, allocations: 0.8101 MB / 0.559 GB, free: 2.191 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002434/0.1582, allocations: 15.88 kB / 0.559 GB, free: 2.176 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002244/0.1584, allocations: 63.31 kB / 0.559 GB, free: 2.113 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003043/0.1587, allocations: 126.9 kB / 0.5591 GB, free: 1.988 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004118/0.1591, allocations: 115.8 kB / 0.5593 GB, free: 1.875 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000559/0.1597, allocations: 450.3 kB / 0.5597 GB, free: 1.43 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002814/0.1599, allocations: 142.1 kB / 0.5598 GB, free: 1.285 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003158/0.1603, allocations: 179.4 kB / 0.56 GB, free: 1.109 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002783/0.1605, allocations: 199 kB / 0.5602 GB, free: 0.9141 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.107e-05/0.1606, allocations: 36 kB / 0.5602 GB, free: 0.8789 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001018/0.1607, allocations: 40 kB / 0.5603 GB, free: 0.8398 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.617e-05/0.1608, allocations: 83.73 kB / 0.5603 GB, free: 0.7578 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000221/0.161, allocations: 206.9 kB / 0.5605 GB, free: 0.5547 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006005/0.1616, allocations: 462 kB / 0.561 GB, free: 104 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.1616, allocations: 0 / 0.561 GB, free: 104 kB / 414.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.1616, allocations: 4 kB / 0.561 GB, free: 100 kB / 414.1 MB Notification: Performance of Transformations before backend: time 1.529e-05/0.1616, allocations: 0 / 0.561 GB, free: 100 kB / 414.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.001162/0.1628, allocations: 0.6782 MB / 0.5616 GB, free: 15.37 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.212e-05/0.1628, allocations: 12.03 kB / 0.5617 GB, free: 15.36 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001118/0.163, allocations: 74.72 kB / 0.5617 GB, free: 15.27 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003568/0.1633, allocations: 76.62 kB / 0.5618 GB, free: 15.2 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005137/0.1638, allocations: 315.3 kB / 0.5621 GB, free: 14.85 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.223e-05/0.1639, allocations: 33.36 kB / 0.5621 GB, free: 14.82 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.469e-05/0.1639, allocations: 40.38 kB / 0.5622 GB, free: 14.78 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007171/0.1647, allocations: 385.2 kB / 0.5625 GB, free: 14.39 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.291e-05/0.1647, allocations: 3.953 kB / 0.5625 GB, free: 14.38 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.706e-05/0.1647, allocations: 16 kB / 0.5626 GB, free: 14.37 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.627e-05/0.1647, allocations: 8 kB / 0.5626 GB, free: 14.36 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005512/0.1653, allocations: 251.8 kB / 0.5628 GB, free: 14.11 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001869/0.1672, allocations: 1.097 MB / 0.5639 GB, free: 12.96 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006069/0.1678, allocations: 331.4 kB / 0.5642 GB, free: 12.61 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000317/0.1681, allocations: 154.5 kB / 0.5643 GB, free: 12.45 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.653e-05/0.1681, allocations: 4 kB / 0.5643 GB, free: 12.44 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.554e-05/0.1682, allocations: 50.44 kB / 0.5644 GB, free: 12.38 MB / 430.1 MB Notification: Performance of pre-optimization done (n=39): time 2.304e-06/0.1682, allocations: 0 / 0.5644 GB, free: 12.38 MB / 430.1 MB Notification: Performance of matching and sorting (n=57): time 0.004467/0.1726, allocations: 2.454 MB / 0.5668 GB, free: 9.664 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.75e-05/0.1727, allocations: 114.8 kB / 0.5669 GB, free: 9.527 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003109/0.173, allocations: 250.7 kB / 0.5671 GB, free: 9.273 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.032e-05/0.1731, allocations: 33.7 kB / 0.5672 GB, free: 9.234 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001397/0.1732, allocations: 184.9 kB / 0.5673 GB, free: 9.051 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001769/0.1734, allocations: 210.2 kB / 0.5675 GB, free: 8.844 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001353/0.1735, allocations: 86.19 kB / 0.5676 GB, free: 8.75 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001703/0.1737, allocations: 350.7 kB / 0.568 GB, free: 8.398 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002775/0.174, allocations: 133 kB / 0.5681 GB, free: 8.27 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003562/0.1743, allocations: 231.8 kB / 0.5683 GB, free: 8.012 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006881/0.175, allocations: 393.9 kB / 0.5687 GB, free: 7.59 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.175, allocations: 4 kB / 0.5687 GB, free: 7.586 MB / 430.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001104/0.1761, allocations: 0.5541 MB / 0.5692 GB, free: 7.016 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/0.1761, allocations: 4 kB / 0.5692 GB, free: 7.012 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/0.1762, allocations: 4 kB / 0.5692 GB, free: 7.008 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004098/0.1766, allocations: 122.5 kB / 0.5694 GB, free: 6.879 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004019/0.177, allocations: 99.97 kB / 0.5694 GB, free: 6.781 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005215/0.1822, allocations: 5.222 MB / 0.5745 GB, free: 1.141 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003353/0.1825, allocations: 19.98 kB / 0.5746 GB, free: 1.121 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.619e-05/0.1826, allocations: 19.94 kB / 0.5746 GB, free: 1.102 MB / 430.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 (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 0.0002829/0.1828, allocations: 167.2 kB / 0.5747 GB, free: 0.9297 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001112/0.1829, allocations: 39.77 kB / 0.5748 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000114/0.1831, allocations: 54.11 kB / 0.5748 GB, free: 0.8359 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/0.1831, allocations: 4 kB / 0.5748 GB, free: 0.832 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.119e-05/0.1831, allocations: 7.938 kB / 0.5748 GB, free: 0.8242 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.1831, allocations: 3.984 kB / 0.5748 GB, free: 0.8203 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002253/0.1854, allocations: 1.317 MB / 0.5761 GB, free: 15.43 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/0.1854, allocations: 4.031 kB / 0.5761 GB, free: 15.43 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004284/0.1858, allocations: 95.89 kB / 0.5762 GB, free: 15.34 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003189/0.1861, allocations: 98.39 kB / 0.5763 GB, free: 15.23 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.488e-05/0.1862, allocations: 15.98 kB / 0.5763 GB, free: 15.21 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004094/0.1902, allocations: 4.431 MB / 0.5807 GB, free: 10.36 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.54e-06/0.1903, allocations: 4.031 kB / 0.5807 GB, free: 10.36 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001554/0.1918, allocations: 0.9273 MB / 0.5816 GB, free: 9.395 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001471/0.192, allocations: 108.9 kB / 0.5817 GB, free: 9.27 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.326e-05/0.192, allocations: 12.06 kB / 0.5817 GB, free: 9.258 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000261/0.1923, allocations: 19.98 kB / 0.5817 GB, free: 9.238 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001394/0.1924, allocations: 43.88 kB / 0.5818 GB, free: 9.195 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.84e-05/0.1924, allocations: 16 kB / 0.5818 GB, free: 9.18 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001962/0.1926, allocations: 178 kB / 0.5819 GB, free: 9.008 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1926, allocations: 4 kB / 0.5819 GB, free: 9.004 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007564/0.1934, allocations: 120 kB / 0.5821 GB, free: 8.887 MB / 446.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 (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 0.001855/0.1952, allocations: 1.478 MB / 0.5835 GB, free: 7.363 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001513/0.1967, allocations: 0.7586 MB / 0.5842 GB, free: 6.566 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.1968, allocations: 4.188 kB / 0.5842 GB, free: 6.562 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008882/0.1976, allocations: 0.5621 MB / 0.5848 GB, free: 5.961 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007668/0.1984, allocations: 78.48 kB / 0.5849 GB, free: 5.891 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006626/0.205, allocations: 4.162 MB / 0.5889 GB, free: 1.539 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005531/0.2056, allocations: 0.8241 MB / 0.5897 GB, free: 0.6836 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001737/0.2058, allocations: 31.27 kB / 0.5898 GB, free: 0.6523 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002065/0.206, allocations: 135.4 kB / 0.5899 GB, free: 0.5234 MB / 446.1 MB Notification: Performance of SimCode: time 1.543e-06/0.206, allocations: 0 / 0.5899 GB, free: 0.5234 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3246/0.5306, allocations: 8.453 MB / 0.5982 GB, free: 34.73 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.84/11.37, allocations: 4.953 kB / 0.5982 GB, free: 34.73 MB / 446.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00039984 ModelicaTest_4_1_0_ModelicaTest_Rotational_ForUsersGuide_Directions.fmu > ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/ForUsersGuide/Directions/Directions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable J2.phi in file ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions_res.csv. Warning: Get data of variable J2.phi from file ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions_res.csv failed! Error: Could not read variable J2.w in file ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions_res.csv. Warning: Get data of variable J2.w from file ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions_res.csv failed! Error: Could not read variable J5.w in file ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions_res.csv. Warning: Get data of variable J5.w from file ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.830013945000246]