Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.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.001311/0.001311, allocations: 120.4 kB / 20.44 MB, free: 1.461 MB / 14.72 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.001481/0.001481, allocations: 212.1 kB / 23.74 MB, free: 4.695 MB / 14.72 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 1.461/1.461, allocations: 230.5 MB / 257.4 MB, free: 8.168 MB / 206.1 MB " [Timeout remaining time 178] 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.2309/0.2309, allocations: 46.93 MB / 360.8 MB, free: 4.199 MB / 286.1 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.MixIdealGasAir,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_MixIdealGasAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.MixIdealGasAir,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_MixIdealGasAir",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002343/0.002343, allocations: 76.16 kB / 0.4962 GB, free: 7.777 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.342/0.3444, allocations: 66.09 MB / 0.5607 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.1881/0.5325, allocations: 153.3 MB / 0.7104 GB, free: 10.41 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004284/0.5367, allocations: 3.259 MB / 0.7136 GB, free: 7.141 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001765/0.5369, allocations: 4 kB / 0.7136 GB, free: 7.137 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003904/0.5373, allocations: 67.58 kB / 0.7137 GB, free: 7.07 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002827/0.5401, allocations: 1.112 MB / 0.7148 GB, free: 5.957 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000581/0.5407, allocations: 198.4 kB / 0.7149 GB, free: 5.766 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0005056/0.5412, allocations: 370.6 kB / 0.7153 GB, free: 5.402 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 6.666e-05/0.5413, allocations: 13.28 kB / 0.7153 GB, free: 5.391 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002969/0.5416, allocations: 163.4 kB / 0.7155 GB, free: 5.23 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000225/0.5418, allocations: 131.5 kB / 0.7156 GB, free: 5.102 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.911e-05/0.5418, allocations: 12 kB / 0.7156 GB, free: 5.09 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003208/0.545, allocations: 1.64 MB / 0.7172 GB, free: 3.445 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001437/0.5452, allocations: 87.7 kB / 0.7173 GB, free: 3.359 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.00017/0.5454, allocations: 107.6 kB / 0.7174 GB, free: 3.254 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002067/0.5474, allocations: 1.015 MB / 0.7184 GB, free: 2.238 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.5474, allocations: 4 kB / 0.7184 GB, free: 2.234 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.694e-06/0.5474, allocations: 4 kB / 0.7184 GB, free: 2.23 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.875e-06/0.5474, allocations: 0 / 0.7184 GB, free: 2.23 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.001076/0.5485, allocations: 497.1 kB / 0.7189 GB, free: 1.715 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.5486, allocations: 8.031 kB / 0.7189 GB, free: 1.707 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.657e-05/0.5486, allocations: 54.73 kB / 0.7189 GB, free: 1.645 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001488/0.5501, allocations: 212.6 kB / 0.7191 GB, free: 1.438 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004039/0.5505, allocations: 197.8 kB / 0.7193 GB, free: 1.219 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.091e-05/0.5506, allocations: 12.38 kB / 0.7193 GB, free: 1.207 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.864e-05/0.5506, allocations: 20 kB / 0.7193 GB, free: 1.188 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006993/0.5513, allocations: 392.1 kB / 0.7197 GB, free: 0.7969 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.5513, allocations: 0 / 0.7197 GB, free: 0.7969 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.351e-05/0.5514, allocations: 8 kB / 0.7197 GB, free: 0.7891 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.299e-05/0.5514, allocations: 8 kB / 0.7197 GB, free: 0.7812 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006521/0.552, allocations: 424.4 kB / 0.7201 GB, free: 376 kB / 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.002002/0.554, allocations: 0.7894 MB / 0.7209 GB, free: 15.53 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004642/0.5545, allocations: 225.1 kB / 0.7211 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002302/0.5547, allocations: 117.7 kB / 0.7212 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001645/0.5564, allocations: 313.7 kB / 0.7215 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.945e-05/0.5564, allocations: 46.5 kB / 0.7216 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=31): time 3.977e-06/0.5564, allocations: 0 / 0.7216 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of matching and sorting (n=31): time 0.001309/0.5578, allocations: 384 kB / 0.7219 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.898e-05/0.5578, allocations: 81.11 kB / 0.722 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001204/0.5579, allocations: 121.8 kB / 0.7221 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.244e-05/0.558, allocations: 29.7 kB / 0.7222 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.215e-05/0.5581, allocations: 116.5 kB / 0.7223 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.926e-05/0.5582, allocations: 119 kB / 0.7224 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001045/0.5583, allocations: 66 kB / 0.7225 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001498/0.5584, allocations: 326.8 kB / 0.7228 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000203/0.5586, allocations: 108 kB / 0.7229 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002726/0.5589, allocations: 190.9 kB / 0.7231 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005028/0.5594, allocations: 307.2 kB / 0.7233 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.5594, allocations: 0 / 0.7233 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0006622/0.5601, allocations: 361.1 kB / 0.7237 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/0.5601, allocations: 4 kB / 0.7237 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.5601, allocations: 4 kB / 0.7237 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.558e-05/0.5601, allocations: 4 kB / 0.7237 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000387/0.5605, allocations: 75.89 kB / 0.7238 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.302e-05/0.5605, allocations: 8.25 kB / 0.7238 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002367/0.5607, allocations: 31.78 kB / 0.7238 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.866e-05/0.5608, allocations: 23.98 kB / 0.7238 GB, free: 12.37 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.0001984/0.561, allocations: 137.7 kB / 0.724 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000113/0.5611, allocations: 15.91 kB / 0.724 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007063/0.5618, allocations: 344.7 kB / 0.7243 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-05/0.5618, allocations: 4 kB / 0.7243 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/0.5618, allocations: 0 / 0.7243 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.5619, allocations: 0 / 0.7243 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006402/0.5625, allocations: 318.1 kB / 0.7246 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.5625, allocations: 8 kB / 0.7246 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003365/0.5628, allocations: 55.91 kB / 0.7247 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.046e-05/0.5628, allocations: 3.984 kB / 0.7247 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.936e-05/0.5629, allocations: 12 kB / 0.7247 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.5629, allocations: 0 / 0.7247 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.5629, allocations: 0 / 0.7247 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008229/0.5637, allocations: 0.5342 MB / 0.7252 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.035e-05/0.5637, allocations: 15.89 kB / 0.7252 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.126e-05/0.5638, allocations: 8.062 kB / 0.7252 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003098/0.5641, allocations: 11.98 kB / 0.7252 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.28e-05/0.5641, allocations: 15.97 kB / 0.7253 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.262e-05/0.5642, allocations: 23.92 kB / 0.7253 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.402e-05/0.5642, allocations: 91.27 kB / 0.7254 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.5642, allocations: 0 / 0.7254 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000985/0.5652, allocations: 235.4 kB / 0.7256 GB, free: 10.48 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.002292/0.5675, allocations: 1.414 MB / 0.727 GB, free: 9.043 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005896/0.5681, allocations: 259.9 kB / 0.7272 GB, free: 8.789 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.141e-06/0.5681, allocations: 4 kB / 0.7272 GB, free: 8.785 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002325/0.5683, allocations: 138.7 kB / 0.7274 GB, free: 8.652 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006762/0.569, allocations: 88.33 kB / 0.7274 GB, free: 8.566 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003903/0.5729, allocations: 2.734 MB / 0.7301 GB, free: 5.676 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003841/0.5733, allocations: 0.7402 MB / 0.7308 GB, free: 4.906 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003217/0.5736, allocations: 77.95 kB / 0.7309 GB, free: 4.832 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001487/0.5738, allocations: 63.41 kB / 0.731 GB, free: 4.77 MB / 0.5606 GB Notification: Performance of SimCode: time 6.21e-07/0.5738, allocations: 0 / 0.731 GB, free: 4.77 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3008/0.8745, allocations: 11.24 MB / 0.742 GB, free: 171.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.22/12.09, allocations: 10.08 kB / 0.742 GB, free: 171.4 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_Media_TestOnly_MixIdealGasAir.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_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_trunk_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_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.csv. Warning: Get data of variable medium2.p from file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.248537537001539]