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.001329/0.001329, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.001484/0.001484, allocations: 214.4 kB / 23.75 MB, free: 4.668 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.445/1.445, allocations: 230.6 MB / 257.5 MB, free: 8.012 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.2413/0.2413, allocations: 46.92 MB / 360.9 MB, free: 4.254 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.001955/0.001955, allocations: 75.89 kB / 0.4962 GB, free: 7.879 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3502/0.3522, allocations: 66.03 MB / 0.5606 GB, free: 4.461 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.2001/0.5523, allocations: 153.3 MB / 0.7103 GB, free: 10.58 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.005142/0.5574, allocations: 3.263 MB / 0.7135 GB, free: 7.305 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002052/0.5576, allocations: 0 / 0.7135 GB, free: 7.305 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0004335/0.5581, allocations: 63.62 kB / 0.7136 GB, free: 7.242 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.00299/0.561, allocations: 1.116 MB / 0.7147 GB, free: 6.125 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005645/0.5616, allocations: 199.2 kB / 0.7148 GB, free: 5.934 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0006075/0.5622, allocations: 374.6 kB / 0.7152 GB, free: 5.566 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 6.418e-05/0.5623, allocations: 17.28 kB / 0.7152 GB, free: 5.551 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003095/0.5626, allocations: 159.5 kB / 0.7154 GB, free: 5.395 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002768/0.5629, allocations: 123.6 kB / 0.7155 GB, free: 5.273 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.154e-05/0.5629, allocations: 12 kB / 0.7155 GB, free: 5.262 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003472/0.5664, allocations: 1.644 MB / 0.7171 GB, free: 3.613 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001247/0.5665, allocations: 87.7 kB / 0.7172 GB, free: 3.527 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001557/0.5666, allocations: 107.5 kB / 0.7173 GB, free: 3.422 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001756/0.5684, allocations: 1.031 MB / 0.7183 GB, free: 2.391 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.5684, allocations: 0 / 0.7183 GB, free: 2.391 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.442e-06/0.5684, allocations: 0 / 0.7183 GB, free: 2.391 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.458e-05/0.5684, allocations: 0 / 0.7183 GB, free: 2.391 MB / 0.545 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.001016/0.5694, allocations: 497.1 kB / 0.7188 GB, free: 1.875 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/0.5695, allocations: 12.03 kB / 0.7188 GB, free: 1.863 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.758e-05/0.5696, allocations: 50.73 kB / 0.7188 GB, free: 1.805 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001493/0.571, allocations: 212.6 kB / 0.719 GB, free: 1.598 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003607/0.5714, allocations: 189.8 kB / 0.7192 GB, free: 1.387 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.221e-05/0.5714, allocations: 16.38 kB / 0.7192 GB, free: 1.371 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.663e-05/0.5715, allocations: 16 kB / 0.7193 GB, free: 1.355 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006748/0.5722, allocations: 396.1 kB / 0.7196 GB, free: 0.9609 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.5722, allocations: 0 / 0.7196 GB, free: 0.9609 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.286e-05/0.5722, allocations: 12 kB / 0.7196 GB, free: 0.9492 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.888e-05/0.5722, allocations: 7.984 kB / 0.7196 GB, free: 0.9414 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006117/0.5729, allocations: 420.4 kB / 0.72 GB, free: 0.5312 MB / 0.545 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.001803/0.5747, allocations: 0.7933 MB / 0.7208 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004301/0.5751, allocations: 221.1 kB / 0.721 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001946/0.5753, allocations: 121.7 kB / 0.7212 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001546/0.5768, allocations: 313.7 kB / 0.7215 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.769e-05/0.5769, allocations: 42.5 kB / 0.7215 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=31): time 1.773e-06/0.5769, allocations: 3.938 kB / 0.7215 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of matching and sorting (n=31): time 0.001198/0.5781, allocations: 380.6 kB / 0.7219 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.37e-05/0.5781, allocations: 85.05 kB / 0.7219 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001031/0.5782, allocations: 117.8 kB / 0.7221 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.999e-05/0.5783, allocations: 33.7 kB / 0.7221 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.729e-05/0.5784, allocations: 108.6 kB / 0.7222 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.956e-05/0.5785, allocations: 122.9 kB / 0.7223 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001046/0.5786, allocations: 62.02 kB / 0.7224 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001434/0.5787, allocations: 330.8 kB / 0.7227 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002012/0.5789, allocations: 104.1 kB / 0.7228 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002611/0.5792, allocations: 186.9 kB / 0.723 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004834/0.5797, allocations: 317.8 kB / 0.7233 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.88e-06/0.5797, allocations: 4 kB / 0.7233 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0006432/0.5803, allocations: 355.6 kB / 0.7236 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.593e-05/0.5803, allocations: 8 kB / 0.7236 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.5803, allocations: 0 / 0.7236 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.401e-05/0.5804, allocations: 12.25 kB / 0.7236 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00034/0.5807, allocations: 71.91 kB / 0.7237 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.401e-05/0.5807, allocations: 7.938 kB / 0.7237 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002233/0.5809, allocations: 35.77 kB / 0.7237 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.002e-05/0.581, allocations: 16 kB / 0.7237 GB, free: 12.53 MB / 0.5606 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.0001656/0.5811, allocations: 145.7 kB / 0.7239 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.829e-05/0.5812, allocations: 15.91 kB / 0.7239 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006698/0.5819, allocations: 338.3 kB / 0.7242 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.514e-05/0.5819, allocations: 4 kB / 0.7242 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-06/0.5819, allocations: 0 / 0.7242 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.855e-06/0.5819, allocations: 7.984 kB / 0.7242 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006223/0.5826, allocations: 310.1 kB / 0.7245 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.5826, allocations: 0 / 0.7245 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003348/0.5829, allocations: 55.91 kB / 0.7246 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.322e-06/0.5829, allocations: 7.938 kB / 0.7246 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.748e-05/0.5829, allocations: 8 kB / 0.7246 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.648e-06/0.5829, allocations: 3.984 kB / 0.7246 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.5829, allocations: 0 / 0.7246 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008818/0.5838, allocations: 0.5347 MB / 0.7251 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.822e-05/0.5838, allocations: 11.89 kB / 0.7251 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.834e-05/0.5839, allocations: 8.062 kB / 0.7251 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003092/0.5842, allocations: 11.98 kB / 0.7252 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.108e-05/0.5842, allocations: 23.95 kB / 0.7252 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.715e-05/0.5843, allocations: 23.92 kB / 0.7252 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.068e-05/0.5843, allocations: 87.28 kB / 0.7253 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.5843, allocations: 4 kB / 0.7253 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0009644/0.5853, allocations: 239.4 kB / 0.7255 GB, free: 10.64 MB / 0.5606 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.002206/0.5875, allocations: 1.41 MB / 0.7269 GB, free: 9.203 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005895/0.5881, allocations: 257.9 kB / 0.7271 GB, free: 8.953 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/0.5881, allocations: 0.625 kB / 0.7271 GB, free: 8.953 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002236/0.5883, allocations: 135.7 kB / 0.7273 GB, free: 8.82 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006629/0.589, allocations: 96.27 kB / 0.7274 GB, free: 8.727 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003901/0.5929, allocations: 2.728 MB / 0.73 GB, free: 5.844 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004603/0.5934, allocations: 0.7362 MB / 0.7307 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003187/0.5937, allocations: 81.89 kB / 0.7308 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001526/0.5938, allocations: 63.41 kB / 0.7309 GB, free: 4.941 MB / 0.5606 GB Notification: Performance of SimCode: time 8.51e-07/0.5938, allocations: 0 / 0.7309 GB, free: 4.941 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2911/0.8849, allocations: 11.25 MB / 0.7419 GB, free: 171.6 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.96/11.84, allocations: 5.812 kB / 0.7419 GB, free: 171.6 MB / 0.5606 GB " [Timeout remaining time 648] (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: 14.899733015001402]