Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.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.001506/0.001506, 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.001021/0.001021, 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.8954/0.8954, allocations: 177 MB / 204.1 MB, free: 5.703 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.2353/0.2353, allocations: 34.24 MB / 294.8 MB, free: 0.6797 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,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_R134a_setState_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.R134a_setState_pTX,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_R134a_setState_pTX",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 442.1 MB, free: 1.566 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.48e-05/1.682e-05, allocations: 9.094 kB / 442.1 MB, free: 1.559 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX): time 0.1668/0.1668, allocations: 8.029 MB / 450.2 MB, free: 40.77 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005638/0.1724, allocations: 9.871 MB / 460 MB, free: 34.22 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.191e-05/0.1724, allocations: 0 / 460 MB, free: 34.22 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001662/0.1726, allocations: 37.94 kB / 460.1 MB, free: 34.2 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002306/0.1749, allocations: 1.885 MB / 462 MB, free: 33.31 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.529e-06/0.1749, allocations: 0 / 462 MB, free: 33.31 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 7.146e-05/0.175, allocations: 56.2 kB / 462 MB, free: 33.28 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.854e-05/0.175, allocations: 3.094 kB / 462 MB, free: 33.28 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001254/0.1752, allocations: 45.22 kB / 462.1 MB, free: 33.26 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.179e-05/0.1752, allocations: 13.25 kB / 462.1 MB, free: 33.26 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.157e-05/0.1752, allocations: 0 / 462.1 MB, free: 33.26 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004754/0.18, allocations: 6.596 MB / 468.7 MB, free: 32.57 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.717e-05/0.18, allocations: 3.938 kB / 468.7 MB, free: 32.57 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.746e-05/0.18, allocations: 17.56 kB / 468.7 MB, free: 32.57 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005807/0.1858, allocations: 5.338 MB / 474 MB, free: 31.98 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.1858, allocations: 0 / 474 MB, free: 31.98 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1858, allocations: 0 / 474 MB, free: 31.98 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.498e-06/0.1858, allocations: 2.906 kB / 474 MB, free: 31.98 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.001168/0.187, allocations: 0.5044 MB / 474.5 MB, free: 31.56 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.187, allocations: 9.406 kB / 474.6 MB, free: 31.56 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.632e-05/0.1871, allocations: 33.91 kB / 474.6 MB, free: 31.52 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.112e-05/0.1871, allocations: 10.77 kB / 474.6 MB, free: 31.52 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.436e-05/0.1872, allocations: 108.4 kB / 474.7 MB, free: 31.39 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.106e-05/0.1872, allocations: 3.281 kB / 474.7 MB, free: 31.39 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.955e-06/0.1872, allocations: 0 / 474.7 MB, free: 31.39 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001218/0.1873, allocations: 87.36 kB / 474.8 MB, free: 31.34 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.645e-06/0.1873, allocations: 0 / 474.8 MB, free: 31.34 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.248e-06/0.1874, allocations: 2.062 kB / 474.8 MB, free: 31.34 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.1874, allocations: 7.156 kB / 474.8 MB, free: 31.33 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.238e-05/0.1874, allocations: 79.48 kB / 474.9 MB, free: 31.3 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003355/0.1878, allocations: 285.6 kB / 475.2 MB, free: 31.04 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.459e-05/0.1878, allocations: 40.52 kB / 475.2 MB, free: 31 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.036e-05/0.1879, allocations: 26.88 kB / 475.2 MB, free: 30.98 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001446/0.1893, allocations: 0.8087 MB / 476 MB, free: 30.82 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.552e-05/0.1893, allocations: 35.47 kB / 476.1 MB, free: 30.79 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 1.102e-06/0.1893, allocations: 0 / 476.1 MB, free: 30.79 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001956/0.1895, allocations: 113.1 kB / 476.2 MB, free: 30.72 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.653e-05/0.1895, allocations: 52.5 kB / 476.2 MB, free: 30.66 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.973e-05/0.1896, allocations: 103.1 kB / 476.3 MB, free: 30.55 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.821e-06/0.1896, allocations: 25.7 kB / 476.4 MB, free: 30.52 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.022e-05/0.1896, allocations: 89.16 kB / 476.4 MB, free: 30.43 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.505e-05/0.1896, allocations: 34.55 kB / 476.5 MB, free: 30.41 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.649e-05/0.1896, allocations: 25.5 kB / 476.5 MB, free: 30.38 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.826e-05/0.1897, allocations: 319.3 kB / 476.8 MB, free: 30.07 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.69e-05/0.1897, allocations: 22.36 kB / 476.8 MB, free: 30.06 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.945e-05/0.1897, allocations: 32.52 kB / 476.9 MB, free: 30.04 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.262e-05/0.1898, allocations: 75.55 kB / 476.9 MB, free: 29.98 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.1898, allocations: 0 / 476.9 MB, free: 29.98 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.322e-05/0.1899, allocations: 94.11 kB / 477 MB, free: 29.93 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.1899, allocations: 8.719 kB / 477 MB, free: 29.93 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.1899, allocations: 3.812 kB / 477 MB, free: 29.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.1899, allocations: 1.656 kB / 477 MB, free: 29.93 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.528e-05/0.19, allocations: 10.84 kB / 477.1 MB, free: 29.92 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.19, allocations: 1.219 kB / 477.1 MB, free: 29.92 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.634e-05/0.19, allocations: 4.953 kB / 477.1 MB, free: 29.92 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.319e-05/0.19, allocations: 3.375 kB / 477.1 MB, free: 29.92 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.961e-05/0.19, allocations: 116.7 kB / 477.2 MB, free: 29.8 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.001e-05/0.1901, allocations: 6.234 kB / 477.2 MB, free: 29.8 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001657/0.1902, allocations: 155.9 kB / 477.3 MB, free: 29.71 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.289e-05/0.1903, allocations: 119.2 kB / 477.5 MB, free: 29.64 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.1903, allocations: 0 / 477.5 MB, free: 29.64 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.1903, allocations: 8.828 kB / 477.5 MB, free: 29.63 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002556/0.1906, allocations: 398 kB / 477.9 MB, free: 29.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.1906, allocations: 0 / 477.9 MB, free: 29.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.043e-05/0.1906, allocations: 13 kB / 477.9 MB, free: 29.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.1906, allocations: 1.125 kB / 477.9 MB, free: 29.3 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.153e-06/0.1906, allocations: 1.344 kB / 477.9 MB, free: 29.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.1906, allocations: 0.9688 kB / 477.9 MB, free: 29.3 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.1906, allocations: 11.3 kB / 477.9 MB, free: 29.29 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001275/0.1908, allocations: 225.4 kB / 478.1 MB, free: 29.11 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.913e-06/0.1908, allocations: 2.844 kB / 478.1 MB, free: 29.11 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.598e-06/0.1908, allocations: 4 kB / 478.1 MB, free: 29.11 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.024e-05/0.1908, allocations: 10.62 kB / 478.1 MB, free: 29.11 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.65e-05/0.1908, allocations: 11.73 kB / 478.1 MB, free: 29.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.44e-06/0.1908, allocations: 3.781 kB / 478.1 MB, free: 29.1 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.138e-05/0.1908, allocations: 85.16 kB / 478.2 MB, free: 29.02 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1908, allocations: 0 / 478.2 MB, free: 29.02 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008374/0.1917, allocations: 358.5 kB / 478.6 MB, free: 28.94 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.008336/0.2, allocations: 4.799 MB / 483.4 MB, free: 26.17 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001551/0.2002, allocations: 107.8 kB / 483.5 MB, free: 26.11 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.2002, allocations: 0 / 483.5 MB, free: 26.11 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.253e-05/0.2002, allocations: 44.23 kB / 483.5 MB, free: 26.09 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002616/0.2005, allocations: 46.56 kB / 483.6 MB, free: 26.08 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008731/0.2013, allocations: 390.3 kB / 483.9 MB, free: 25.82 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.995e-05/0.2014, allocations: 75.42 kB / 484 MB, free: 25.75 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.328e-05/0.2014, allocations: 14.25 kB / 484 MB, free: 25.75 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.884e-05/0.2015, allocations: 32.11 kB / 484.1 MB, free: 25.73 MB / 410.7 MB Notification: Performance of SimCode: time 8.41e-07/0.2015, allocations: 4 kB / 484.1 MB, free: 25.72 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02964/0.2311, allocations: 20.94 MB / 0.4932 GB, free: 17.85 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.559/7.79, allocations: 8.125 kB / 0.4932 GB, free: 17.84 MB / 410.7 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_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.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/R134a_setState_pTX/R134a_setState_pTX.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.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_res.csv. Warning: Get data of variable Time from file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.csv failed! Error: Could not read variable h in file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.csv. Warning: Get data of variable h from file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.csv failed! Error: Could not read variable rho in file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.csv. Warning: Get data of variable rho from file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.csv failed! Error: Could not read variable mu in file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.csv. Warning: Get data of variable mu from file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.csv failed! Error: Could not read variable cp in file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.csv. Warning: Get data of variable cp from file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.csv failed! Error: Could not read variable k in file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.csv. Warning: Get data of variable k from file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.202087690122426]