Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX.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.001146/0.001146, allocations: 80.34 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.0008723/0.0008723, allocations: 156.9 kB / 23.94 MB, free: 0.6172 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.8802/0.8802, allocations: 177 MB / 204.1 MB, free: 5.746 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.2306/0.2306, allocations: 34.24 MB / 294.8 MB, free: 0.6836 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_phX,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_R134a_setState_phX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.R134a_setState_phX,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_R134a_setState_phX",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.835e-06/2.835e-06, allocations: 3.938 kB / 442.1 MB, free: 1.582 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.078e-05/2.361e-05, allocations: 2.281 kB / 442.1 MB, free: 1.578 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_phX): time 0.1588/0.1589, allocations: 8.034 MB / 450.2 MB, free: 40.79 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.006501/0.1654, allocations: 11.45 MB / 461.6 MB, free: 33.16 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.923e-05/0.1654, allocations: 0 / 461.6 MB, free: 33.16 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001795/0.1656, allocations: 30.81 kB / 461.7 MB, free: 33.15 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003626/0.1692, allocations: 2.174 MB / 463.8 MB, free: 32.11 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.671e-06/0.1692, allocations: 0 / 463.8 MB, free: 32.11 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 8.602e-05/0.1693, allocations: 53.45 kB / 463.9 MB, free: 32.08 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.018e-05/0.1693, allocations: 7.062 kB / 463.9 MB, free: 32.08 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001221/0.1695, allocations: 38.09 kB / 463.9 MB, free: 32.07 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.522e-05/0.1695, allocations: 17.75 kB / 463.9 MB, free: 32.06 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.397e-06/0.1695, allocations: 0 / 463.9 MB, free: 32.06 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004978/0.1745, allocations: 5.892 MB / 469.8 MB, free: 31.3 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.943e-05/0.1745, allocations: 2.812 kB / 469.8 MB, free: 31.3 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.65e-05/0.1745, allocations: 12 kB / 469.8 MB, free: 31.3 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007143/0.1817, allocations: 5.071 MB / 474.9 MB, free: 30.63 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.1817, allocations: 0 / 474.9 MB, free: 30.63 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1817, allocations: 0 / 474.9 MB, free: 30.63 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.121e-06/0.1817, allocations: 0 / 474.9 MB, free: 30.63 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.002106/0.1838, allocations: 0.5629 MB / 475.5 MB, free: 30.18 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/0.1838, allocations: 9.375 kB / 475.5 MB, free: 30.18 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.711e-05/0.1839, allocations: 40.94 kB / 475.5 MB, free: 30.14 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.538e-05/0.184, allocations: 12.45 kB / 475.5 MB, free: 30.14 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.247e-05/0.184, allocations: 112.2 kB / 475.7 MB, free: 30.01 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.14e-05/0.184, allocations: 3.062 kB / 475.7 MB, free: 30.01 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.039e-05/0.184, allocations: 3.25 kB / 475.7 MB, free: 30.01 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002233/0.1843, allocations: 115.4 kB / 475.8 MB, free: 29.95 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.1843, allocations: 0 / 475.8 MB, free: 29.95 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/0.1843, allocations: 6.844 kB / 475.8 MB, free: 29.95 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.1843, allocations: 3.938 kB / 475.8 MB, free: 29.94 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000174/0.1845, allocations: 132 kB / 475.9 MB, free: 29.91 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.0004022/0.1849, allocations: 316.2 kB / 476.2 MB, free: 29.62 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001564/0.185, allocations: 69.3 kB / 476.3 MB, free: 29.59 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.73e-05/0.1851, allocations: 38.92 kB / 476.3 MB, free: 29.57 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001599/0.1867, allocations: 0.8693 MB / 477.2 MB, free: 29.41 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.845e-05/0.1867, allocations: 31.72 kB / 477.2 MB, free: 29.37 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.824e-06/0.1867, allocations: 1.094 kB / 477.2 MB, free: 29.37 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003798/0.1871, allocations: 145.3 kB / 477.4 MB, free: 29.3 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.181e-05/0.1871, allocations: 52.53 kB / 477.4 MB, free: 29.24 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.467e-05/0.1871, allocations: 98.08 kB / 477.5 MB, free: 29.14 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.234e-06/0.1872, allocations: 25.7 kB / 477.5 MB, free: 29.11 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.308e-05/0.1872, allocations: 94.25 kB / 477.6 MB, free: 29.02 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.331e-05/0.1872, allocations: 26.44 kB / 477.7 MB, free: 29 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.244e-05/0.1872, allocations: 28.62 kB / 477.7 MB, free: 28.97 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.623e-05/0.1873, allocations: 315.9 kB / 478 MB, free: 28.66 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.577e-05/0.1873, allocations: 28.3 kB / 478 MB, free: 28.65 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.874e-05/0.1874, allocations: 44.03 kB / 478.1 MB, free: 28.62 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001083/0.1875, allocations: 75.91 kB / 478.1 MB, free: 28.58 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.1875, allocations: 0 / 478.1 MB, free: 28.58 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001635/0.1876, allocations: 99.89 kB / 478.2 MB, free: 28.53 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.1877, allocations: 5.438 kB / 478.2 MB, free: 28.53 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.1877, allocations: 0 / 478.2 MB, free: 28.53 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.1877, allocations: 1.344 kB / 478.2 MB, free: 28.53 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.137e-05/0.1877, allocations: 23.06 kB / 478.3 MB, free: 28.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.1878, allocations: 1.438 kB / 478.3 MB, free: 28.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.099e-05/0.1878, allocations: 22.83 kB / 478.3 MB, free: 28.51 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.129e-05/0.1878, allocations: 2.469 kB / 478.3 MB, free: 28.51 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.97e-05/0.1878, allocations: 117.7 kB / 478.4 MB, free: 28.39 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.798e-05/0.1879, allocations: 6.078 kB / 478.4 MB, free: 28.38 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003142/0.1882, allocations: 253.6 kB / 478.7 MB, free: 28.27 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.1882, allocations: 6.656 kB / 478.7 MB, free: 28.26 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.87e-06/0.1882, allocations: 3.938 kB / 478.7 MB, free: 28.26 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.1882, allocations: 0 / 478.7 MB, free: 28.26 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001368/0.1883, allocations: 202.2 kB / 478.9 MB, free: 28.06 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.1883, allocations: 0 / 478.9 MB, free: 28.06 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.976e-05/0.1884, allocations: 18.12 kB / 478.9 MB, free: 28.06 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.1884, allocations: 1.312 kB / 478.9 MB, free: 28.06 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.258e-05/0.1884, allocations: 10.5 kB / 478.9 MB, free: 28.06 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.1884, allocations: 0 / 478.9 MB, free: 28.06 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.1884, allocations: 5.188 kB / 478.9 MB, free: 28.05 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002035/0.1886, allocations: 249.2 kB / 479.1 MB, free: 27.88 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.07e-05/0.1886, allocations: 7.641 kB / 479.2 MB, free: 27.88 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.258e-05/0.1886, allocations: 4 kB / 479.2 MB, free: 27.87 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.92e-05/0.1887, allocations: 9.609 kB / 479.2 MB, free: 27.87 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.838e-05/0.1887, allocations: 15.86 kB / 479.2 MB, free: 27.86 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.715e-06/0.1887, allocations: 6.875 kB / 479.2 MB, free: 27.86 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.689e-05/0.1887, allocations: 81.06 kB / 479.3 MB, free: 27.79 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1887, allocations: 0 / 479.3 MB, free: 27.79 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001625/0.1904, allocations: 383.2 kB / 479.6 MB, free: 27.69 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.00834/0.1987, allocations: 4.302 MB / 483.9 MB, free: 25.22 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002541/0.199, allocations: 97.58 kB / 484 MB, free: 25.19 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.199, allocations: 1.312 kB / 484 MB, free: 25.19 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.29e-05/0.199, allocations: 62.62 kB / 484.1 MB, free: 25.17 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000225/0.1993, allocations: 18.73 kB / 484.1 MB, free: 25.17 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001285/0.2006, allocations: 438.8 kB / 484.6 MB, free: 24.89 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.752e-05/0.2006, allocations: 77.8 kB / 484.6 MB, free: 24.82 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 9.094e-05/0.2007, allocations: 56.69 kB / 484.7 MB, free: 24.8 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.925e-05/0.2007, allocations: 31.66 kB / 484.7 MB, free: 24.78 MB / 410.7 MB Notification: Performance of SimCode: time 9.42e-07/0.2007, allocations: 0 / 484.7 MB, free: 24.78 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03606/0.2368, allocations: 18.91 MB / 0.4918 GB, free: 19.24 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.863/8.1, allocations: 5 kB / 0.4918 GB, free: 19.23 MB / 410.7 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_Media_TestOnly_R134a_setState_phX.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_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_trunk_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_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX_res.csv. Warning: Get data of variable Time from file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX_res.csv failed! Error: Could not read variable rho in file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX_res.csv. Warning: Get data of variable rho from file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.395407743752003]