Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.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.001815/0.001815, allocations: 118.9 kB / 17.79 MB, free: 5.285 MB / 14.72 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.002191/0.002191, allocations: 199.3 kB / 20.74 MB, free: 2.344 MB / 14.72 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 1.565/1.565, allocations: 230.6 MB / 254.1 MB, free: 15.07 MB / 206.1 MB " [Timeout remaining time 178] 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.2475/0.2475, allocations: 46.91 MB / 357.1 MB, free: 10.32 MB / 286.1 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.MixIdealGasAir,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_MixIdealGasAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.MixIdealGasAir,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_MixIdealGasAir",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001887/0.001887, allocations: 63.91 kB / 0.4909 GB, free: 7.984 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1384/0.1403, allocations: 65.99 MB / 0.5554 GB, free: 5.871 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.4999/0.6401, allocations: 153.2 MB / 0.705 GB, free: 8.355 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.003883/0.644, allocations: 3.253 MB / 0.7082 GB, free: 5.109 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.538e-05/0.6441, allocations: 4 kB / 0.7082 GB, free: 5.105 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003624/0.6444, allocations: 67.64 kB / 0.7082 GB, free: 5.039 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.002534/0.647, allocations: 1.062 MB / 0.7093 GB, free: 3.973 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005377/0.6475, allocations: 204.2 kB / 0.7095 GB, free: 3.777 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0004873/0.648, allocations: 366.6 kB / 0.7098 GB, free: 3.418 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.964e-05/0.6481, allocations: 5.656 kB / 0.7098 GB, free: 3.414 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002805/0.6483, allocations: 171.2 kB / 0.71 GB, free: 3.25 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002078/0.6485, allocations: 119.6 kB / 0.7101 GB, free: 3.133 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.955e-05/0.6486, allocations: 15.98 kB / 0.7101 GB, free: 3.117 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002795/0.6514, allocations: 1.594 MB / 0.7117 GB, free: 1.52 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001201/0.6515, allocations: 83.77 kB / 0.7118 GB, free: 1.438 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001341/0.6516, allocations: 113.5 kB / 0.7119 GB, free: 1.328 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001614/0.6532, allocations: 1.021 MB / 0.7129 GB, free: 316 kB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.6532, allocations: 0 / 0.7129 GB, free: 316 kB / 0.5137 GB Notification: Performance of FrontEnd: time 1.543e-06/0.6532, allocations: 0 / 0.7129 GB, free: 316 kB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.961e-06/0.6533, allocations: 0 / 0.7129 GB, free: 316 kB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.0009432/0.6542, allocations: 0.5568 MB / 0.7134 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.6542, allocations: 12.03 kB / 0.7134 GB, free: 15.69 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.687e-05/0.6543, allocations: 54.73 kB / 0.7135 GB, free: 15.63 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001424/0.6557, allocations: 204.6 kB / 0.7137 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003351/0.6561, allocations: 256.1 kB / 0.7139 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.216e-05/0.6561, allocations: 16.31 kB / 0.7139 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.663e-05/0.6561, allocations: 20 kB / 0.7139 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006197/0.6568, allocations: 392.1 kB / 0.7143 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.6568, allocations: 3.938 kB / 0.7143 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.809e-05/0.6568, allocations: 8 kB / 0.7143 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.38e-05/0.6568, allocations: 12 kB / 0.7143 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006211/0.6575, allocations: 416.4 kB / 0.7147 GB, free: 14.28 MB / 0.5294 GB 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.001737/0.6592, allocations: 0.8215 MB / 0.7155 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004168/0.6596, allocations: 229.9 kB / 0.7158 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001879/0.6598, allocations: 119.2 kB / 0.7159 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001887/0.6617, allocations: 0.9802 MB / 0.7168 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.289e-05/0.6617, allocations: 38.56 kB / 0.7169 GB, free: 11.85 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=31): time 1.764e-06/0.6617, allocations: 0 / 0.7169 GB, free: 11.85 MB / 0.5294 GB Notification: Performance of matching and sorting (n=31): time 0.001252/0.663, allocations: 378.1 kB / 0.7172 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.681e-05/0.663, allocations: 81.11 kB / 0.7173 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001028/0.6631, allocations: 125.7 kB / 0.7174 GB, free: 11.24 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.978e-05/0.6632, allocations: 33.7 kB / 0.7175 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.816e-05/0.6632, allocations: 108.6 kB / 0.7176 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 9.86e-05/0.6633, allocations: 118.9 kB / 0.7177 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001108/0.6635, allocations: 70.03 kB / 0.7177 GB, free: 10.9 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001373/0.6636, allocations: 322.8 kB / 0.7181 GB, free: 10.58 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002013/0.6638, allocations: 108 kB / 0.7182 GB, free: 10.47 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002695/0.6641, allocations: 186.9 kB / 0.7183 GB, free: 10.25 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004947/0.6646, allocations: 328.3 kB / 0.7186 GB, free: 9.898 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.6646, allocations: 0 / 0.7186 GB, free: 9.898 MB / 0.5294 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0006564/0.6652, allocations: 355.8 kB / 0.719 GB, free: 9.551 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.6652, allocations: 8 kB / 0.719 GB, free: 9.543 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.6652, allocations: 4.312 kB / 0.719 GB, free: 9.539 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.6653, allocations: 8 kB / 0.719 GB, free: 9.531 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003333/0.6656, allocations: 71.91 kB / 0.7191 GB, free: 9.461 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.277e-06/0.6656, allocations: 4 kB / 0.7191 GB, free: 9.457 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000216/0.6658, allocations: 31.77 kB / 0.7191 GB, free: 9.426 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.833e-05/0.6659, allocations: 16 kB / 0.7191 GB, free: 9.41 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 39 * Array equations: 1 * 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 0.0001483/0.666, allocations: 147.8 kB / 0.7193 GB, free: 9.258 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001113/0.6661, allocations: 19.91 kB / 0.7193 GB, free: 9.238 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006936/0.6668, allocations: 333 kB / 0.7196 GB, free: 8.906 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-05/0.6668, allocations: 4 kB / 0.7196 GB, free: 8.902 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.6668, allocations: 7.75 kB / 0.7196 GB, free: 8.898 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.736e-06/0.6668, allocations: 7.984 kB / 0.7196 GB, free: 8.891 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005846/0.6674, allocations: 339.1 kB / 0.7199 GB, free: 8.508 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.6674, allocations: 0 / 0.7199 GB, free: 8.508 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00033/0.6678, allocations: 51.91 kB / 0.72 GB, free: 8.457 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.068e-05/0.6678, allocations: 7.984 kB / 0.72 GB, free: 8.449 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.728e-05/0.6678, allocations: 8 kB / 0.72 GB, free: 8.441 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.6678, allocations: 0 / 0.72 GB, free: 8.441 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.6678, allocations: 0 / 0.72 GB, free: 8.441 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007919/0.6686, allocations: 0.5336 MB / 0.7205 GB, free: 7.891 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.508e-05/0.6686, allocations: 93.06 kB / 0.7206 GB, free: 7.781 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.599e-05/0.6687, allocations: 8 kB / 0.7206 GB, free: 7.773 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003163/0.669, allocations: 11.98 kB / 0.7206 GB, free: 7.762 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.678e-05/0.669, allocations: 23.91 kB / 0.7207 GB, free: 7.738 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.139e-05/0.6691, allocations: 19.98 kB / 0.7207 GB, free: 7.719 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.384e-05/0.6691, allocations: 91.22 kB / 0.7208 GB, free: 7.629 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6e-08/0.6691, allocations: 0 / 0.7208 GB, free: 7.629 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0008158/0.67, allocations: 247.3 kB / 0.721 GB, free: 7.387 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (medium2.p,medium2.T,medium2.X[1],medium2.X[2],medium.p,medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 29 * Array equations: 1 * 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 Backend phase and start with SimCode phase: time 0.002048/0.672, allocations: 1.404 MB / 0.7224 GB, free: 5.957 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005369/0.6725, allocations: 252.5 kB / 0.7226 GB, free: 5.711 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.6725, allocations: 8.062 kB / 0.7226 GB, free: 5.703 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002339/0.6728, allocations: 123.9 kB / 0.7227 GB, free: 5.582 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006622/0.6734, allocations: 95.11 kB / 0.7228 GB, free: 5.492 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003586/0.677, allocations: 2.724 MB / 0.7255 GB, free: 2.621 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004828/0.6775, allocations: 0.7363 MB / 0.7262 GB, free: 1.855 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002915/0.6778, allocations: 74.02 kB / 0.7263 GB, free: 1.785 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001605/0.678, allocations: 59.42 kB / 0.7263 GB, free: 1.727 MB / 0.5294 GB Notification: Performance of SimCode: time 6.51e-07/0.678, allocations: 0 / 0.7263 GB, free: 1.727 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03979/0.7177, allocations: 10.95 MB / 0.737 GB, free: 6.891 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.236/8.953, allocations: 6.406 kB / 0.737 GB, free: 6.887 MB / 0.545 GB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MixIdealGasAir_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_MixIdealGasAir.fmu > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/MixIdealGasAir/MixIdealGasAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable medium2.p in file ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.csv. Warning: Get data of variable medium2.p from file ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 12.35089140299533]