Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.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.001688/0.001688, allocations: 123.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.002135/0.002135, allocations: 200.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.571/1.571, 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.2363/0.2363, allocations: 46.92 MB / 357.1 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: "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002004/0.002004, allocations: 67.91 kB / 0.4909 GB, free: 8.012 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1537/0.1557, allocations: 65.99 MB / 0.5554 GB, free: 5.887 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.003695/0.1594, allocations: 1.866 MB / 0.5572 GB, free: 4.008 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004211/0.1598, allocations: 151.4 kB / 0.5573 GB, free: 3.859 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.036e-05/0.1599, allocations: 0 / 0.5573 GB, free: 3.859 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 8.158e-05/0.16, allocations: 27.73 kB / 0.5574 GB, free: 3.832 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001638/0.1602, allocations: 51.55 kB / 0.5574 GB, free: 3.781 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001657/0.1603, allocations: 43.94 kB / 0.5574 GB, free: 3.738 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002288/0.1606, allocations: 183.1 kB / 0.5576 GB, free: 3.559 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001808/0.1607, allocations: 41.53 kB / 0.5577 GB, free: 3.52 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001187/0.1609, allocations: 67.78 kB / 0.5577 GB, free: 3.453 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001557/0.161, allocations: 79.64 kB / 0.5578 GB, free: 3.375 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.483e-05/0.161, allocations: 19.94 kB / 0.5578 GB, free: 3.355 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.912e-05/0.1611, allocations: 12 kB / 0.5578 GB, free: 3.344 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.463e-05/0.1611, allocations: 35.91 kB / 0.5579 GB, free: 3.309 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001014/0.1612, allocations: 79.61 kB / 0.5579 GB, free: 3.23 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002819/0.1615, allocations: 183.3 kB / 0.5581 GB, free: 3.051 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.1615, allocations: 0 / 0.5581 GB, free: 3.051 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1615, allocations: 3.938 kB / 0.5581 GB, free: 3.047 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.622e-06/0.1615, allocations: 0 / 0.5581 GB, free: 3.047 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0007025/0.1622, allocations: 463 kB / 0.5586 GB, free: 2.539 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.675e-05/0.1623, allocations: 11.97 kB / 0.5586 GB, free: 2.527 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.549e-05/0.1623, allocations: 50.73 kB / 0.5586 GB, free: 2.469 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.251e-05/0.1624, allocations: 16.84 kB / 0.5586 GB, free: 2.453 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002559/0.1626, allocations: 208.2 kB / 0.5588 GB, free: 2.211 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.186e-05/0.1627, allocations: 8.703 kB / 0.5588 GB, free: 2.203 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.28e-05/0.1627, allocations: 24.33 kB / 0.5589 GB, free: 2.18 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003218/0.163, allocations: 170.1 kB / 0.559 GB, free: 2.004 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.862e-05/0.163, allocations: 7.938 kB / 0.559 GB, free: 1.996 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.832e-05/0.1631, allocations: 4 kB / 0.559 GB, free: 1.992 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.745e-06/0.1631, allocations: 4 kB / 0.559 GB, free: 1.988 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001824/0.1632, allocations: 94.12 kB / 0.5591 GB, free: 1.898 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009113/0.1642, allocations: 0.6073 MB / 0.5597 GB, free: 1.23 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002481/0.1644, allocations: 125.2 kB / 0.5598 GB, free: 1.09 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.753e-05/0.1645, allocations: 45.7 kB / 0.5599 GB, free: 1.039 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.895e-05/0.1645, allocations: 4 kB / 0.5599 GB, free: 1.035 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.449e-05/0.1646, allocations: 34.56 kB / 0.5599 GB, free: 0.9922 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.443e-06/0.1646, allocations: 192 / 0.5599 GB, free: 0.9922 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009195/0.1655, allocations: 385.2 kB / 0.5603 GB, free: 0.5664 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.112e-05/0.1656, allocations: 81.11 kB / 0.5604 GB, free: 480 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001514/0.1657, allocations: 132.5 kB / 0.5605 GB, free: 336 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.026e-05/0.1657, allocations: 26.08 kB / 0.5605 GB, free: 304 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000152/0.1659, allocations: 128.2 kB / 0.5606 GB, free: 172 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.74e-05/0.166, allocations: 71.45 kB / 0.5607 GB, free: 100 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.714e-05/0.166, allocations: 33.72 kB / 0.5607 GB, free: 60 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001823/0.1662, allocations: 326.8 kB / 0.5611 GB, free: 15.73 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.15e-05/0.1663, allocations: 35.98 kB / 0.5611 GB, free: 15.7 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001296/0.1664, allocations: 104.6 kB / 0.5612 GB, free: 15.56 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002152/0.1666, allocations: 156.4 kB / 0.5613 GB, free: 15.38 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.1666, allocations: 0 / 0.5613 GB, free: 15.38 MB / 430.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003945/0.167, allocations: 223.2 kB / 0.5616 GB, free: 15.15 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.446e-05/0.167, allocations: 9.875 kB / 0.5616 GB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.167, allocations: 0 / 0.5616 GB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002592/0.1673, allocations: 57.62 kB / 0.5616 GB, free: 15.08 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001502/0.1675, allocations: 40.14 kB / 0.5617 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00289/0.1703, allocations: 2.999 MB / 0.5646 GB, free: 11.76 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001087/0.1705, allocations: 11.89 kB / 0.5646 GB, free: 11.75 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.655e-05/0.1705, allocations: 12 kB / 0.5646 GB, free: 11.73 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 (20): * Single equations (assignments): 18 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001765/0.1706, allocations: 133.7 kB / 0.5647 GB, free: 11.59 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.371e-05/0.1707, allocations: 11.91 kB / 0.5647 GB, free: 11.58 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.72e-05/0.1708, allocations: 24.64 kB / 0.5648 GB, free: 11.56 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.664e-06/0.1708, allocations: 0 / 0.5648 GB, free: 11.56 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.023e-05/0.1708, allocations: 8.062 kB / 0.5648 GB, free: 11.55 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.1708, allocations: 0 / 0.5648 GB, free: 11.55 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003527/0.1711, allocations: 221.6 kB / 0.565 GB, free: 11.29 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.093e-06/0.1711, allocations: 4 kB / 0.565 GB, free: 11.28 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001549/0.1713, allocations: 27.98 kB / 0.565 GB, free: 11.25 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001555/0.1715, allocations: 49.62 kB / 0.5651 GB, free: 11.2 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.638e-05/0.1715, allocations: 7.938 kB / 0.5651 GB, free: 11.19 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002631/0.1741, allocations: 2.99 MB / 0.568 GB, free: 7.926 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.1741, allocations: 256 / 0.568 GB, free: 7.926 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004868/0.1746, allocations: 377.9 kB / 0.5684 GB, free: 7.535 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.524e-05/0.1747, allocations: 92.98 kB / 0.5684 GB, free: 7.426 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.773e-05/0.1747, allocations: 4 kB / 0.5684 GB, free: 7.422 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001057/0.1748, allocations: 8 kB / 0.5685 GB, free: 7.414 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.434e-05/0.1748, allocations: 11.98 kB / 0.5685 GB, free: 7.402 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.889e-06/0.1748, allocations: 4 kB / 0.5685 GB, free: 7.398 MB / 430.1 MB Notification: Performance of sorting global known variables: time 8.392e-05/0.1749, allocations: 99.27 kB / 0.5686 GB, free: 7.301 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1749, allocations: 0 / 0.5686 GB, free: 7.301 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005028/0.1754, allocations: 51.95 kB / 0.5686 GB, free: 7.25 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (inertia1.w,inertia2.phi,inertia3.phi,inertia3.w,inertia4.phi,inertia4.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 (10): * Single equations (assignments): 8 * 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,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.0009047/0.1763, allocations: 0.9045 MB / 0.5695 GB, free: 6.312 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0007375/0.1771, allocations: 357 kB / 0.5698 GB, free: 5.941 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.267e-06/0.1771, allocations: 0 / 0.5698 GB, free: 5.941 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000348/0.1774, allocations: 281.3 kB / 0.5701 GB, free: 5.641 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000523/0.1779, allocations: 23.98 kB / 0.5701 GB, free: 5.617 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003144/0.1811, allocations: 2.331 MB / 0.5724 GB, free: 3.125 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004171/0.1815, allocations: 0.7242 MB / 0.5731 GB, free: 2.375 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.495e-05/0.1816, allocations: 13.42 kB / 0.5731 GB, free: 2.363 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.149e-05/0.1817, allocations: 43.42 kB / 0.5732 GB, free: 2.32 MB / 430.1 MB Notification: Performance of SimCode: time 1.623e-06/0.1817, allocations: 0 / 0.5732 GB, free: 2.32 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03792/0.2196, allocations: 3.803 MB / 0.5769 GB, free: 14.69 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.5/10.72, allocations: 0 / 0.5769 GB, free: 14.69 MB / 446.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000219912 ModelicaTest_4_1_0_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities.fmu > ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/ForUsersGuide/ConnectionPossibilities/ConnectionPossibilities.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable inertia1.phi in file ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.csv. Warning: Get data of variable inertia1.phi from file ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.csv failed! Error: Could not read variable inertia4.w in file ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.csv. Warning: Get data of variable inertia4.w from file ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.123351732006995]