Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.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.00126/0.00126, allocations: 80.36 kB / 20.67 MB, free: 3.891 MB / 18.57 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.001306/0.001306, allocations: 160.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8791/0.8791, allocations: 177 MB / 204.1 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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.2414/0.2414, allocations: 34.24 MB / 294.8 MB, free: 0.6953 MB / 266.7 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.Media.TestOnly.R134a_setState_pTX_high_T,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_R134a_setState_pTX_high_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_R134a_setState_pTX_high_T",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 0 / 442.1 MB, free: 1.562 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.466e-05/1.667e-05, allocations: 2.281 kB / 442.1 MB, free: 1.559 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T): time 0.1486/0.1486, allocations: 8.047 MB / 450.2 MB, free: 40.83 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004708/0.1533, allocations: 9.863 MB / 460.1 MB, free: 34.28 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.444e-05/0.1533, allocations: 3.281 kB / 460.1 MB, free: 34.28 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000144/0.1535, allocations: 38.39 kB / 460.1 MB, free: 34.26 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002158/0.1556, allocations: 1.891 MB / 462 MB, free: 33.36 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.719e-06/0.1556, allocations: 0 / 462 MB, free: 33.36 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 7.026e-05/0.1557, allocations: 49.64 kB / 462 MB, free: 33.34 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.724e-05/0.1557, allocations: 6.609 kB / 462 MB, free: 33.34 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001037/0.1558, allocations: 42.3 kB / 462.1 MB, free: 33.32 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.214e-05/0.1559, allocations: 12.64 kB / 462.1 MB, free: 33.32 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.588e-06/0.1559, allocations: 0 / 462.1 MB, free: 33.32 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004907/0.1608, allocations: 6.595 MB / 468.7 MB, free: 32.63 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.475e-05/0.1608, allocations: 7.062 kB / 468.7 MB, free: 32.63 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.159e-05/0.1608, allocations: 17.73 kB / 468.7 MB, free: 32.62 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005847/0.1667, allocations: 5.333 MB / 474 MB, free: 32.04 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.1667, allocations: 0 / 474 MB, free: 32.04 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1667, allocations: 0 / 474 MB, free: 32.04 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.479e-06/0.1667, allocations: 0 / 474 MB, free: 32.04 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.001432/0.1681, allocations: 0.5055 MB / 474.6 MB, free: 31.62 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.1681, allocations: 9.125 kB / 474.6 MB, free: 31.62 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.423e-05/0.1682, allocations: 34.56 kB / 474.6 MB, free: 31.58 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.818e-05/0.1682, allocations: 9.484 kB / 474.6 MB, free: 31.58 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.768e-05/0.1683, allocations: 108.5 kB / 474.7 MB, free: 31.45 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.09e-05/0.1683, allocations: 11.09 kB / 474.7 MB, free: 31.45 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.784e-06/0.1683, allocations: 0 / 474.7 MB, free: 31.45 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001092/0.1684, allocations: 79.3 kB / 474.8 MB, free: 31.39 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.1684, allocations: 0 / 474.8 MB, free: 31.39 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.686e-06/0.1684, allocations: 4 kB / 474.8 MB, free: 31.39 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.1684, allocations: 9.594 kB / 474.8 MB, free: 31.39 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.622e-05/0.1685, allocations: 76.45 kB / 474.9 MB, free: 31.36 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002972/0.1688, allocations: 286 kB / 475.2 MB, free: 31.09 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.831e-05/0.1689, allocations: 42.77 kB / 475.2 MB, free: 31.05 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.745e-05/0.1689, allocations: 23.89 kB / 475.2 MB, free: 31.04 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001421/0.1703, allocations: 0.8104 MB / 476 MB, free: 30.88 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.495e-05/0.1703, allocations: 33.38 kB / 476.1 MB, free: 30.84 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 9.52e-07/0.1703, allocations: 0 / 476.1 MB, free: 30.84 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002072/0.1705, allocations: 120.2 kB / 476.2 MB, free: 30.77 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.781e-05/0.1705, allocations: 56.38 kB / 476.2 MB, free: 30.71 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.873e-05/0.1706, allocations: 97.73 kB / 476.3 MB, free: 30.61 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.32e-06/0.1706, allocations: 29.7 kB / 476.4 MB, free: 30.57 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.122e-05/0.1706, allocations: 89.16 kB / 476.5 MB, free: 30.48 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.329e-05/0.1706, allocations: 30.62 kB / 476.5 MB, free: 30.46 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.708e-05/0.1707, allocations: 20.47 kB / 476.5 MB, free: 30.44 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.395e-05/0.1707, allocations: 319.4 kB / 476.8 MB, free: 30.13 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.616e-05/0.1707, allocations: 22.09 kB / 476.8 MB, free: 30.12 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.39e-05/0.1707, allocations: 37.78 kB / 476.9 MB, free: 30.09 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.326e-05/0.1708, allocations: 71.5 kB / 477 MB, free: 30.04 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.1708, allocations: 4 kB / 477 MB, free: 30.04 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.109e-05/0.1709, allocations: 91.3 kB / 477 MB, free: 29.98 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/0.1709, allocations: 6.375 kB / 477 MB, free: 29.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.1709, allocations: 3.375 kB / 477.1 MB, free: 29.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.1709, allocations: 1.281 kB / 477.1 MB, free: 29.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.468e-05/0.171, allocations: 10 kB / 477.1 MB, free: 29.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.171, allocations: 1.406 kB / 477.1 MB, free: 29.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.633e-05/0.171, allocations: 4.984 kB / 477.1 MB, free: 29.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.255e-05/0.171, allocations: 7.656 kB / 477.1 MB, free: 29.98 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 (state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 3.7e-05/0.171, allocations: 116.3 kB / 477.2 MB, free: 29.86 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.949e-05/0.1711, allocations: 5.984 kB / 477.2 MB, free: 29.86 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001547/0.1712, allocations: 159.4 kB / 477.4 MB, free: 29.76 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.197e-05/0.1713, allocations: 118.1 kB / 477.5 MB, free: 29.7 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.1713, allocations: 0 / 477.5 MB, free: 29.7 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.1713, allocations: 0.9062 kB / 477.5 MB, free: 29.7 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002515/0.1716, allocations: 403.6 kB / 477.9 MB, free: 29.36 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.1716, allocations: 0 / 477.9 MB, free: 29.36 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.18e-05/0.1716, allocations: 19.89 kB / 477.9 MB, free: 29.35 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.1716, allocations: 1.25 kB / 477.9 MB, free: 29.35 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.034e-06/0.1716, allocations: 5.156 kB / 477.9 MB, free: 29.35 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.1716, allocations: 1.156 kB / 477.9 MB, free: 29.35 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1716, allocations: 3.938 kB / 477.9 MB, free: 29.34 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001108/0.1717, allocations: 224.2 kB / 478.1 MB, free: 29.17 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.983e-06/0.1717, allocations: 6.906 kB / 478.1 MB, free: 29.17 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.074e-05/0.1717, allocations: 1.062 kB / 478.1 MB, free: 29.17 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.888e-05/0.1718, allocations: 0 / 478.1 MB, free: 29.17 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.356e-05/0.1718, allocations: 17.48 kB / 478.1 MB, free: 29.16 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.691e-06/0.1718, allocations: 7.562 kB / 478.1 MB, free: 29.16 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.858e-06/0.1718, allocations: 80.52 kB / 478.2 MB, free: 29.08 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1718, allocations: 4 kB / 478.2 MB, free: 29.08 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008439/0.1726, allocations: 362.8 kB / 478.6 MB, free: 28.99 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (state.phase,$cse1.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008451/0.1811, allocations: 4.802 MB / 483.4 MB, free: 26.21 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001802/0.1813, allocations: 104.3 kB / 483.5 MB, free: 26.16 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.1813, allocations: 0 / 483.5 MB, free: 26.16 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.27e-05/0.1813, allocations: 40.02 kB / 483.5 MB, free: 26.14 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002828/0.1816, allocations: 44.66 kB / 483.6 MB, free: 26.13 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008922/0.1825, allocations: 393.6 kB / 484 MB, free: 25.87 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.196e-05/0.1825, allocations: 79.77 kB / 484 MB, free: 25.8 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.538e-05/0.1826, allocations: 17.62 kB / 484 MB, free: 25.79 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.934e-05/0.1826, allocations: 25.06 kB / 484.1 MB, free: 25.78 MB / 410.7 MB Notification: Performance of SimCode: time 8.22e-07/0.1826, allocations: 0 / 484.1 MB, free: 25.78 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02901/0.2116, allocations: 20.97 MB / 0.4932 GB, free: 17.83 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.846/8.058, allocations: 0.7031 kB / 0.4932 GB, free: 17.83 MB / 410.7 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 ModelicaTest_trunk_ModelicaTest_Media_TestOnly_R134a_setState_pTX_high_T.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/R134a_setState_pTX_high_T/R134a_setState_pTX_high_T.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable Time in file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T_res.csv. Warning: Get data of variable Time from file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T_res.csv failed! Error: Could not read variable h in file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T_res.csv. Warning: Get data of variable h from file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T_res.csv failed! Error: Could not read variable rho in file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T_res.csv. Warning: Get data of variable rho from file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T_res.csv failed! Error: Could not read variable mu in file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T_res.csv. Warning: Get data of variable mu from file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T_res.csv failed! Error: Could not read variable cp in file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T_res.csv. Warning: Get data of variable cp from file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T_res.csv failed! Error: Could not read variable k in file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T_res.csv. Warning: Get data of variable k from file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.409079788252711]