Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_phX.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.0009395/0.0009395, 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.001297/0.001297, allocations: 170.3 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.941/0.941, allocations: 177.1 MB / 204.3 MB, free: 5.754 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.2693/0.2693, allocations: 34.25 MB / 294.9 MB, free: 0.707 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_phX,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_R134a_setState_phX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.R134a_setState_phX,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_R134a_setState_phX",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 3.938 kB / 442.2 MB, free: 1.676 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.963e-05/2.122e-05, allocations: 2.281 kB / 442.2 MB, free: 1.672 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_phX): time 0.187/0.1871, allocations: 8.034 MB / 450.2 MB, free: 40.89 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.006154/0.1932, allocations: 11.45 MB / 461.6 MB, free: 33.32 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.814e-05/0.1932, allocations: 0 / 461.6 MB, free: 33.32 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00018/0.1934, allocations: 31.12 kB / 461.7 MB, free: 33.31 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0038/0.1972, allocations: 2.172 MB / 463.8 MB, free: 32.28 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.683e-06/0.1972, allocations: 0 / 463.8 MB, free: 32.28 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 8.471e-05/0.1973, allocations: 58.36 kB / 463.9 MB, free: 32.24 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.355e-05/0.1974, allocations: 7.25 kB / 463.9 MB, free: 32.24 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001399/0.1975, allocations: 42.36 kB / 463.9 MB, free: 32.22 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.521e-05/0.1975, allocations: 21.98 kB / 464 MB, free: 32.21 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.119e-05/0.1975, allocations: 0 / 464 MB, free: 32.21 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005452/0.203, allocations: 5.878 MB / 469.8 MB, free: 31.47 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.957e-05/0.203, allocations: 11.3 kB / 469.9 MB, free: 31.46 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.879e-05/0.2031, allocations: 21.58 kB / 469.9 MB, free: 31.45 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006752/0.2098, allocations: 5.056 MB / 474.9 MB, free: 30.79 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.2098, allocations: 0 / 474.9 MB, free: 30.79 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.2098, allocations: 3.031 kB / 474.9 MB, free: 30.79 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.2098, allocations: 0 / 474.9 MB, free: 30.79 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.001995/0.2118, allocations: 0.5757 MB / 475.5 MB, free: 30.34 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.2119, allocations: 8.594 kB / 475.5 MB, free: 30.34 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.548e-05/0.2119, allocations: 36.8 kB / 475.6 MB, free: 30.3 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.366e-05/0.212, allocations: 9.562 kB / 475.6 MB, free: 30.29 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.775e-05/0.212, allocations: 107.8 kB / 475.7 MB, free: 30.17 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.885e-05/0.212, allocations: 0 / 475.7 MB, free: 30.17 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.103e-05/0.212, allocations: 10.77 kB / 475.7 MB, free: 30.16 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001908/0.2122, allocations: 109.8 kB / 475.8 MB, free: 30.11 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.793e-06/0.2122, allocations: 4 kB / 475.8 MB, free: 30.11 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.939e-06/0.2123, allocations: 4 kB / 475.8 MB, free: 30.11 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.2123, allocations: 3.938 kB / 475.8 MB, free: 30.1 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001687/0.2124, allocations: 133.6 kB / 475.9 MB, free: 30.07 MB / 410.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003719/0.2128, allocations: 311.5 kB / 476.2 MB, free: 29.79 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001465/0.2129, allocations: 67.14 kB / 476.3 MB, free: 29.75 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.126e-05/0.213, allocations: 37.95 kB / 476.3 MB, free: 29.73 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001465/0.2145, allocations: 0.8719 MB / 477.2 MB, free: 29.57 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.784e-05/0.2145, allocations: 39.45 kB / 477.2 MB, free: 29.52 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.563e-06/0.2145, allocations: 5 kB / 477.3 MB, free: 29.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003699/0.2148, allocations: 143 kB / 477.4 MB, free: 29.46 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.974e-05/0.2149, allocations: 52.59 kB / 477.4 MB, free: 29.39 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.06e-05/0.2149, allocations: 97.64 kB / 477.5 MB, free: 29.3 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.663e-06/0.2149, allocations: 33.7 kB / 477.6 MB, free: 29.26 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.241e-05/0.2149, allocations: 89.41 kB / 477.7 MB, free: 29.17 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.226e-05/0.215, allocations: 27.47 kB / 477.7 MB, free: 29.15 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.069e-05/0.215, allocations: 28.03 kB / 477.7 MB, free: 29.12 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.461e-05/0.215, allocations: 311.9 kB / 478 MB, free: 28.81 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.047e-05/0.2151, allocations: 28.45 kB / 478 MB, free: 28.8 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.639e-05/0.2151, allocations: 43.36 kB / 478.1 MB, free: 28.78 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001017/0.2152, allocations: 74.25 kB / 478.2 MB, free: 28.73 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.2152, allocations: 0 / 478.2 MB, free: 28.73 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001566/0.2154, allocations: 101 kB / 478.3 MB, free: 28.68 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.2154, allocations: 5.562 kB / 478.3 MB, free: 28.68 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.2154, allocations: 1.031 kB / 478.3 MB, free: 28.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.2154, allocations: 1.25 kB / 478.3 MB, free: 28.68 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.501e-05/0.2155, allocations: 22.03 kB / 478.3 MB, free: 28.68 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.2155, allocations: 8.188 kB / 478.3 MB, free: 28.67 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.66e-05/0.2155, allocations: 3.406 kB / 478.3 MB, free: 28.67 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.899e-06/0.2155, allocations: 3.562 kB / 478.3 MB, free: 28.67 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 (8): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.015e-05/0.2156, allocations: 120.1 kB / 478.4 MB, free: 28.55 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.595e-05/0.2156, allocations: 13.81 kB / 478.4 MB, free: 28.54 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002686/0.2158, allocations: 257.4 kB / 478.7 MB, free: 28.41 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.2159, allocations: 4.25 kB / 478.7 MB, free: 28.41 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.2159, allocations: 1.031 kB / 478.7 MB, free: 28.41 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.2159, allocations: 2.766 kB / 478.7 MB, free: 28.41 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001239/0.216, allocations: 205.9 kB / 478.9 MB, free: 28.21 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.216, allocations: 0 / 478.9 MB, free: 28.21 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.836e-05/0.216, allocations: 23.36 kB / 478.9 MB, free: 28.21 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.216, allocations: 1.312 kB / 478.9 MB, free: 28.21 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-06/0.216, allocations: 1.125 kB / 478.9 MB, free: 28.21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.216, allocations: 5.312 kB / 478.9 MB, free: 28.21 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.216, allocations: 0 / 478.9 MB, free: 28.21 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000182/0.2162, allocations: 260.8 kB / 479.2 MB, free: 28.02 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.406e-06/0.2162, allocations: 6.297 kB / 479.2 MB, free: 28.02 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.166e-05/0.2162, allocations: 4.453 kB / 479.2 MB, free: 28.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.733e-05/0.2163, allocations: 3.438 kB / 479.2 MB, free: 28.02 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.388e-05/0.2163, allocations: 16.73 kB / 479.2 MB, free: 28.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.951e-06/0.2163, allocations: 2.688 kB / 479.2 MB, free: 28.02 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.274e-05/0.2163, allocations: 78 kB / 479.3 MB, free: 27.94 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2163, allocations: 4 kB / 479.3 MB, free: 27.94 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001519/0.2179, allocations: 385.8 kB / 479.7 MB, free: 27.84 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: 3 ($cse3.phase,$cse4,state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * 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.008909/0.2268, allocations: 4.308 MB / 484 MB, free: 25.37 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003105/0.2271, allocations: 93.53 kB / 484.1 MB, free: 25.34 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.2271, allocations: 3.938 kB / 484.1 MB, free: 25.34 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.694e-05/0.2272, allocations: 56.98 kB / 484.1 MB, free: 25.32 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002297/0.2274, allocations: 20.19 kB / 484.1 MB, free: 25.32 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001599/0.229, allocations: 435.3 kB / 484.6 MB, free: 25.04 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.344e-05/0.2291, allocations: 81.12 kB / 484.7 MB, free: 24.96 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001094/0.2292, allocations: 48.8 kB / 484.7 MB, free: 24.95 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.471e-05/0.2292, allocations: 28.48 kB / 484.7 MB, free: 24.94 MB / 410.7 MB Notification: Performance of SimCode: time 1.123e-06/0.2292, allocations: 0 / 484.7 MB, free: 24.94 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03617/0.2654, allocations: 18.95 MB / 0.4919 GB, free: 19.35 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.617/7.882, allocations: 7.125 kB / 0.4919 GB, free: 19.35 MB / 410.7 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_phX.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_phX_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019984 ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_R134a_setState_phX.fmu > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_phX_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/R134a_setState_phX/R134a_setState_phX.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_phX.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_phX_res.csv. Warning: Get data of variable Time from file ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_phX_res.csv failed! Error: Could not read variable rho in file ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_phX_res.csv. Warning: Get data of variable rho from file ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_phX_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.351303860545158]