Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001859/0.001859, allocations: 124.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 trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002522/0.002522, allocations: 206.6 kB / 20.75 MB, free: 2.312 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.618/1.618, allocations: 230.4 MB / 254 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2436/0.2436, allocations: 46.92 MB / 357 MB, free: 10.19 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002686/0.002686, allocations: 79.88 kB / 0.491 GB, free: 7.734 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1584/0.1611, allocations: 66.04 MB / 0.5554 GB, free: 5.562 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.004227/0.1653, allocations: 1.872 MB / 0.5573 GB, free: 3.672 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004315/0.1657, allocations: 151.4 kB / 0.5574 GB, free: 3.523 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.185e-05/0.1658, allocations: 8 kB / 0.5574 GB, free: 3.516 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 7.208e-05/0.1659, allocations: 19.8 kB / 0.5574 GB, free: 3.496 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001684/0.1661, allocations: 55.48 kB / 0.5575 GB, free: 3.441 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000186/0.1662, allocations: 43.94 kB / 0.5575 GB, free: 3.398 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002566/0.1665, allocations: 183.1 kB / 0.5577 GB, free: 3.219 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001816/0.1667, allocations: 41.53 kB / 0.5578 GB, free: 3.18 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001214/0.1668, allocations: 71.78 kB / 0.5578 GB, free: 3.109 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001433/0.1669, allocations: 75.64 kB / 0.5579 GB, free: 3.035 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.312e-05/0.167, allocations: 16 kB / 0.5579 GB, free: 3.02 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.778e-05/0.167, allocations: 16 kB / 0.5579 GB, free: 3.004 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.736e-05/0.1671, allocations: 31.91 kB / 0.558 GB, free: 2.973 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001074/0.1672, allocations: 79.61 kB / 0.558 GB, free: 2.895 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003561/0.1675, allocations: 183.3 kB / 0.5582 GB, free: 2.715 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.1675, allocations: 0 / 0.5582 GB, free: 2.715 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.695e-06/0.1675, allocations: 0 / 0.5582 GB, free: 2.715 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.748e-06/0.1675, allocations: 0 / 0.5582 GB, free: 2.715 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.000749/0.1683, allocations: 463 kB / 0.5586 GB, free: 2.207 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.1683, allocations: 15.97 kB / 0.5587 GB, free: 2.191 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.24e-05/0.1684, allocations: 50.73 kB / 0.5587 GB, free: 2.133 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.36e-05/0.1684, allocations: 20.84 kB / 0.5587 GB, free: 2.113 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003097/0.1688, allocations: 200.2 kB / 0.5589 GB, free: 1.879 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.32e-05/0.1688, allocations: 8.703 kB / 0.5589 GB, free: 1.871 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.681e-05/0.1688, allocations: 24.33 kB / 0.559 GB, free: 1.848 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003085/0.1691, allocations: 166.2 kB / 0.5591 GB, free: 1.676 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.965e-05/0.1691, allocations: 7.875 kB / 0.5591 GB, free: 1.668 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.252e-05/0.1692, allocations: 15.98 kB / 0.5591 GB, free: 1.652 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.116e-06/0.1692, allocations: 4 kB / 0.5591 GB, free: 1.648 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001754/0.1694, allocations: 87.94 kB / 0.5592 GB, free: 1.562 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008959/0.1702, allocations: 0.6073 MB / 0.5598 GB, free: 0.8945 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002449/0.1705, allocations: 125.2 kB / 0.5599 GB, free: 0.7539 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.633e-05/0.1706, allocations: 45.7 kB / 0.56 GB, free: 0.7031 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.69e-05/0.1706, allocations: 7.938 kB / 0.56 GB, free: 0.6953 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.32e-05/0.1706, allocations: 34.56 kB / 0.56 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.212e-06/0.1706, allocations: 0 / 0.56 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.0008828/0.1715, allocations: 381.5 kB / 0.5604 GB, free: 236 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.199e-05/0.1716, allocations: 81.05 kB / 0.5605 GB, free: 136 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000152/0.1717, allocations: 135.7 kB / 0.5606 GB, free: 15.99 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.33e-05/0.1718, allocations: 25.7 kB / 0.5606 GB, free: 15.96 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.247e-05/0.1719, allocations: 132.2 kB / 0.5607 GB, free: 15.82 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.897e-05/0.1719, allocations: 67.45 kB / 0.5608 GB, free: 15.76 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.397e-05/0.172, allocations: 33.72 kB / 0.5608 GB, free: 15.72 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001825/0.1722, allocations: 322.8 kB / 0.5611 GB, free: 15.39 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.056e-05/0.1722, allocations: 35.98 kB / 0.5612 GB, free: 15.36 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001339/0.1724, allocations: 104.6 kB / 0.5613 GB, free: 15.23 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002081/0.1726, allocations: 156.4 kB / 0.5614 GB, free: 15.04 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.702e-06/0.1726, allocations: 8 kB / 0.5614 GB, free: 15.04 MB / 430.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003879/0.173, allocations: 215.1 kB / 0.5616 GB, free: 14.81 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.484e-05/0.173, allocations: 8.469 kB / 0.5616 GB, free: 14.8 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/0.173, allocations: 0 / 0.5616 GB, free: 14.8 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000251/0.1732, allocations: 57.62 kB / 0.5617 GB, free: 14.74 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001381/0.1734, allocations: 40.16 kB / 0.5617 GB, free: 14.7 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002752/0.1761, allocations: 2.99 MB / 0.5647 GB, free: 11.43 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.406e-05/0.1762, allocations: 23.98 kB / 0.5647 GB, free: 11.41 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.285e-05/0.1762, allocations: 8 kB / 0.5647 GB, free: 11.4 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.0001544/0.1764, allocations: 133.7 kB / 0.5648 GB, free: 11.26 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.425e-05/0.1765, allocations: 11.91 kB / 0.5648 GB, free: 11.25 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.554e-05/0.1765, allocations: 24.78 kB / 0.5649 GB, free: 11.22 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.76e-06/0.1765, allocations: 7.984 kB / 0.5649 GB, free: 11.21 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.1765, allocations: 0 / 0.5649 GB, free: 11.21 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.1765, allocations: 0 / 0.5649 GB, free: 11.21 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003288/0.1768, allocations: 229.6 kB / 0.5651 GB, free: 10.94 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.1768, allocations: 0 / 0.5651 GB, free: 10.94 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001502/0.177, allocations: 31.98 kB / 0.5651 GB, free: 10.91 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001554/0.1772, allocations: 53.62 kB / 0.5652 GB, free: 10.85 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.436e-05/0.1772, allocations: 3.938 kB / 0.5652 GB, free: 10.85 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002615/0.1798, allocations: 2.982 MB / 0.5681 GB, free: 7.59 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.1798, allocations: 0 / 0.5681 GB, free: 7.59 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005438/0.1803, allocations: 377.7 kB / 0.5684 GB, free: 7.199 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.886e-05/0.1804, allocations: 92.98 kB / 0.5685 GB, free: 7.09 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.85e-05/0.1804, allocations: 4 kB / 0.5685 GB, free: 7.086 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001053/0.1805, allocations: 8 kB / 0.5685 GB, free: 7.078 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.263e-05/0.1806, allocations: 11.98 kB / 0.5685 GB, free: 7.066 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.181e-06/0.1806, allocations: 4 kB / 0.5686 GB, free: 7.062 MB / 430.1 MB Notification: Performance of sorting global known variables: time 8.316e-05/0.1807, allocations: 101.1 kB / 0.5686 GB, free: 6.965 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1807, allocations: 0 / 0.5686 GB, free: 6.965 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000523/0.1812, allocations: 51.95 kB / 0.5687 GB, free: 6.914 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.0008341/0.182, allocations: 0.9045 MB / 0.5696 GB, free: 5.977 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0007102/0.1827, allocations: 352.1 kB / 0.5699 GB, free: 5.609 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/0.1827, allocations: 4.062 kB / 0.5699 GB, free: 5.605 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003594/0.1831, allocations: 285.4 kB / 0.5702 GB, free: 5.301 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005322/0.1836, allocations: 28.23 kB / 0.5702 GB, free: 5.273 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003057/0.1867, allocations: 2.322 MB / 0.5725 GB, free: 2.793 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004416/0.1871, allocations: 0.7242 MB / 0.5732 GB, free: 2.043 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 4.783e-05/0.1872, allocations: 13.42 kB / 0.5732 GB, free: 2.031 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001591/0.1873, allocations: 43.36 kB / 0.5732 GB, free: 1.988 MB / 430.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1873, allocations: 0 / 0.5732 GB, free: 1.988 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03325/0.2206, allocations: 3.806 MB / 0.577 GB, free: 14.35 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.38/10.6, allocations: 4 kB / 0.577 GB, free: 14.35 MB / 446.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities.fmu > ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_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_trunk_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_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.csv. Warning: Get data of variable inertia1.phi from file ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.csv failed! Error: Could not read variable inertia4.w in file ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.csv. Warning: Get data of variable inertia4.w from file ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.046912122983485]