Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.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.001381/0.001381, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 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.001887/0.001887, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.9683/0.9683, allocations: 177.1 MB / 204.3 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] 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.2567/0.2567, allocations: 34.24 MB / 294.9 MB, free: 0.7227 MB / 266.7 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.Media.TestOnly.R134a_setState_pTX,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_R134a_setState_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.R134a_setState_pTX,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_R134a_setState_pTX",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.814e-06/1.814e-06, allocations: 0 / 442.2 MB, free: 1.676 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.132e-05/2.313e-05, allocations: 4.25 kB / 442.2 MB, free: 1.672 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX): time 0.204/0.2041, allocations: 8.026 MB / 450.2 MB, free: 40.88 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00752/0.2116, allocations: 9.87 MB / 460.1 MB, free: 34.38 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.903e-05/0.2117, allocations: 0 / 460.1 MB, free: 34.38 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002106/0.2119, allocations: 38.34 kB / 460.1 MB, free: 34.36 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00438/0.2162, allocations: 1.884 MB / 462 MB, free: 33.47 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.015e-06/0.2162, allocations: 0 / 462 MB, free: 33.47 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001039/0.2164, allocations: 56.95 kB / 462 MB, free: 33.44 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.458e-05/0.2164, allocations: 3.234 kB / 462 MB, free: 33.44 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001431/0.2165, allocations: 45.83 kB / 462.1 MB, free: 33.42 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.292e-05/0.2166, allocations: 13.81 kB / 462.1 MB, free: 33.41 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.186e-05/0.2166, allocations: 3.312 kB / 462.1 MB, free: 33.41 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006191/0.2228, allocations: 6.592 MB / 468.7 MB, free: 32.73 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.059e-05/0.2228, allocations: 0 / 468.7 MB, free: 32.73 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.884e-05/0.2228, allocations: 16.95 kB / 468.7 MB, free: 32.73 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008368/0.2312, allocations: 5.334 MB / 474 MB, free: 32.15 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.345e-06/0.2312, allocations: 0 / 474 MB, free: 32.15 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.354e-06/0.2312, allocations: 0 / 474 MB, free: 32.15 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.753e-06/0.2312, allocations: 2.688 kB / 474 MB, free: 32.15 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.003829/0.2351, allocations: 0.503 MB / 474.5 MB, free: 31.73 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.548e-05/0.2351, allocations: 12.06 kB / 474.6 MB, free: 31.73 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.786e-05/0.2351, allocations: 37.89 kB / 474.6 MB, free: 31.68 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.046e-05/0.2352, allocations: 5.875 kB / 474.6 MB, free: 31.68 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.132e-05/0.2353, allocations: 119.9 kB / 474.7 MB, free: 31.55 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.414e-05/0.2353, allocations: 4 kB / 474.7 MB, free: 31.54 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.618e-06/0.2353, allocations: 3.062 kB / 474.7 MB, free: 31.54 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001225/0.2354, allocations: 77.2 kB / 474.8 MB, free: 31.5 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.555e-06/0.2355, allocations: 0 / 474.8 MB, free: 31.5 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/0.2355, allocations: 4 kB / 474.8 MB, free: 31.49 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.2355, allocations: 7.094 kB / 474.8 MB, free: 31.49 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.225e-05/0.2355, allocations: 77.05 kB / 474.9 MB, free: 31.46 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000348/0.2359, allocations: 279.4 kB / 475.2 MB, free: 31.2 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.727e-05/0.2359, allocations: 42.16 kB / 475.2 MB, free: 31.16 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.444e-05/0.236, allocations: 27.23 kB / 475.2 MB, free: 31.14 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001697/0.2377, allocations: 0.8128 MB / 476 MB, free: 30.99 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.565e-05/0.2377, allocations: 35.84 kB / 476.1 MB, free: 30.95 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 1.503e-06/0.2377, allocations: 0 / 476.1 MB, free: 30.95 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002964/0.238, allocations: 122.2 kB / 476.2 MB, free: 30.88 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.209e-05/0.238, allocations: 52.59 kB / 476.2 MB, free: 30.81 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.509e-05/0.2381, allocations: 100.6 kB / 476.3 MB, free: 30.71 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.596e-06/0.2381, allocations: 29.7 kB / 476.4 MB, free: 30.68 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.525e-05/0.2382, allocations: 90.09 kB / 476.5 MB, free: 30.59 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.302e-05/0.2382, allocations: 30.36 kB / 476.5 MB, free: 30.57 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.606e-05/0.2382, allocations: 20.66 kB / 476.5 MB, free: 30.55 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.745e-05/0.2382, allocations: 316.2 kB / 476.8 MB, free: 30.23 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.345e-05/0.2383, allocations: 22.38 kB / 476.8 MB, free: 30.23 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.048e-05/0.2383, allocations: 41.06 kB / 476.9 MB, free: 30.2 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.211e-05/0.2384, allocations: 73.48 kB / 477 MB, free: 30.15 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.2384, allocations: 0 / 477 MB, free: 30.15 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001117/0.2385, allocations: 89.09 kB / 477 MB, free: 30.09 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.2385, allocations: 5.219 kB / 477 MB, free: 30.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.2385, allocations: 1.062 kB / 477 MB, free: 30.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.2385, allocations: 1.281 kB / 477 MB, free: 30.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.043e-05/0.2386, allocations: 12.55 kB / 477.1 MB, free: 30.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.2386, allocations: 0.9688 kB / 477.1 MB, free: 30.09 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.88e-05/0.2386, allocations: 9.703 kB / 477.1 MB, free: 30.09 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.625e-05/0.2386, allocations: 6.062 kB / 477.1 MB, free: 30.08 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 4.877e-05/0.2387, allocations: 116.8 kB / 477.2 MB, free: 29.96 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.292e-05/0.2387, allocations: 6.969 kB / 477.2 MB, free: 29.96 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002037/0.2389, allocations: 160.5 kB / 477.4 MB, free: 29.87 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.143e-05/0.239, allocations: 119.8 kB / 477.5 MB, free: 29.8 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.239, allocations: 0 / 477.5 MB, free: 29.8 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.239, allocations: 3.422 kB / 477.5 MB, free: 29.8 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002982/0.2393, allocations: 394.4 kB / 477.9 MB, free: 29.46 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.2393, allocations: 0 / 477.9 MB, free: 29.46 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.283e-05/0.2394, allocations: 24.94 kB / 477.9 MB, free: 29.46 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.2394, allocations: 0 / 477.9 MB, free: 29.46 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.438e-06/0.2394, allocations: 0.75 kB / 477.9 MB, free: 29.46 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.704e-06/0.2394, allocations: 1.469 kB / 477.9 MB, free: 29.46 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.2394, allocations: 3.938 kB / 477.9 MB, free: 29.45 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001306/0.2395, allocations: 227.7 kB / 478.1 MB, free: 29.28 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.446e-06/0.2395, allocations: 7.75 kB / 478.1 MB, free: 29.27 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.162e-05/0.2395, allocations: 0 / 478.1 MB, free: 29.27 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.064e-05/0.2396, allocations: 1.188 kB / 478.1 MB, free: 29.27 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.995e-05/0.2396, allocations: 19.33 kB / 478.1 MB, free: 29.27 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.384e-06/0.2396, allocations: 2.688 kB / 478.1 MB, free: 29.27 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.461e-05/0.2396, allocations: 82.06 kB / 478.2 MB, free: 29.19 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2396, allocations: 0 / 478.2 MB, free: 29.19 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002136/0.2417, allocations: 362.3 kB / 478.6 MB, free: 29.1 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.01067/0.2524, allocations: 4.799 MB / 483.4 MB, free: 26.34 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000254/0.2527, allocations: 104.3 kB / 483.5 MB, free: 26.28 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.2527, allocations: 0 / 483.5 MB, free: 26.28 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.557e-05/0.2527, allocations: 47.45 kB / 483.5 MB, free: 26.26 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003203/0.253, allocations: 46.11 kB / 483.6 MB, free: 26.25 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002153/0.2552, allocations: 388 kB / 483.9 MB, free: 25.99 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.313e-05/0.2553, allocations: 78.88 kB / 484 MB, free: 25.91 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.446e-05/0.2553, allocations: 21.27 kB / 484 MB, free: 25.91 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.837e-05/0.2554, allocations: 25.09 kB / 484.1 MB, free: 25.89 MB / 410.7 MB Notification: Performance of SimCode: time 1.593e-06/0.2554, allocations: 0 / 484.1 MB, free: 25.89 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04718/0.3026, allocations: 20.97 MB / 0.4932 GB, free: 17.99 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.62/7.923, allocations: 6.938 kB / 0.4932 GB, free: 17.99 MB / 410.7 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_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_4_1_0_ModelicaTest_Media_TestOnly_R134a_setState_pTX.fmu > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_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_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.csv. Warning: Get data of variable Time from file ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.csv failed! Error: Could not read variable h in file ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.csv. Warning: Get data of variable h from file ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.csv failed! Error: Could not read variable rho in file ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.csv. Warning: Get data of variable rho from file ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.csv failed! Error: Could not read variable mu in file ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.csv. Warning: Get data of variable mu from file ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.csv failed! Error: Could not read variable cp in file ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.csv. Warning: Get data of variable cp from file ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.csv failed! Error: Could not read variable k in file ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.csv. Warning: Get data of variable k from file ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.492269912734628]