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.001353/0.001353, allocations: 116.7 kB / 20.43 MB, free: 1.457 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.001619/0.001619, allocations: 213.6 kB / 23.74 MB, free: 4.672 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.438/1.438, allocations: 230.5 MB / 257.4 MB, free: 8.008 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.2464/0.2464, allocations: 46.93 MB / 360.8 MB, free: 4.184 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.002425/0.002425, allocations: 79.88 kB / 0.4962 GB, free: 7.773 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3448/0.3472, allocations: 66.09 MB / 0.5607 GB, free: 4.297 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.1906/0.5378, allocations: 153.3 MB / 0.7104 GB, free: 10.43 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004776/0.5426, allocations: 3.267 MB / 0.7136 GB, free: 7.156 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000157/0.5427, allocations: 0 / 0.7136 GB, free: 7.156 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0004806/0.5432, allocations: 63.58 kB / 0.7137 GB, free: 7.094 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003448/0.5466, allocations: 1.116 MB / 0.7147 GB, free: 5.977 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005942/0.5472, allocations: 205.9 kB / 0.7149 GB, free: 5.781 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000608/0.5478, allocations: 370.6 kB / 0.7153 GB, free: 5.418 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 7.234e-05/0.5479, allocations: 13.3 kB / 0.7153 GB, free: 5.406 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004123/0.5483, allocations: 171.4 kB / 0.7155 GB, free: 5.238 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003056/0.5486, allocations: 119.6 kB / 0.7156 GB, free: 5.121 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.649e-05/0.5487, allocations: 12 kB / 0.7156 GB, free: 5.109 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003403/0.5521, allocations: 1.64 MB / 0.7172 GB, free: 3.465 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001442/0.5522, allocations: 83.77 kB / 0.7173 GB, free: 3.383 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002181/0.5525, allocations: 111.5 kB / 0.7174 GB, free: 3.273 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002484/0.5549, allocations: 1.023 MB / 0.7184 GB, free: 2.25 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.5549, allocations: 0 / 0.7184 GB, free: 2.25 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.134e-06/0.5549, allocations: 0 / 0.7184 GB, free: 2.25 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.058e-05/0.555, allocations: 0 / 0.7184 GB, free: 2.25 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.001274/0.5562, allocations: 493.1 kB / 0.7189 GB, free: 1.738 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.656e-05/0.5563, allocations: 12.03 kB / 0.7189 GB, free: 1.727 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.564e-05/0.5564, allocations: 58.72 kB / 0.7189 GB, free: 1.66 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001568/0.5579, allocations: 208.6 kB / 0.7191 GB, free: 1.457 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004095/0.5583, allocations: 201.8 kB / 0.7193 GB, free: 1.234 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.202e-05/0.5584, allocations: 8.375 kB / 0.7193 GB, free: 1.227 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.415e-05/0.5585, allocations: 24 kB / 0.7193 GB, free: 1.203 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006604/0.5591, allocations: 388.1 kB / 0.7197 GB, free: 0.8164 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.5591, allocations: 4 kB / 0.7197 GB, free: 0.8125 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.214e-05/0.5592, allocations: 8 kB / 0.7197 GB, free: 0.8047 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.44e-05/0.5592, allocations: 8 kB / 0.7197 GB, free: 0.7969 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006313/0.5598, allocations: 424.4 kB / 0.7201 GB, free: 392 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.001838/0.5617, allocations: 0.7894 MB / 0.7209 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004331/0.5621, allocations: 221.1 kB / 0.7211 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001855/0.5623, allocations: 117.7 kB / 0.7212 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001568/0.5639, allocations: 313.7 kB / 0.7215 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.756e-05/0.5639, allocations: 42.5 kB / 0.7216 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=31): time 1.894e-06/0.5639, allocations: 0 / 0.7216 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of matching and sorting (n=31): time 0.001227/0.5651, allocations: 381.9 kB / 0.7219 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.738e-05/0.5652, allocations: 85.05 kB / 0.722 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001094/0.5653, allocations: 113.8 kB / 0.7221 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.263e-05/0.5653, allocations: 37.7 kB / 0.7222 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.708e-05/0.5654, allocations: 108.6 kB / 0.7223 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000103/0.5655, allocations: 119 kB / 0.7224 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001065/0.5656, allocations: 69.95 kB / 0.7224 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.5657, allocations: 326.8 kB / 0.7228 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002062/0.566, allocations: 108 kB / 0.7229 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002635/0.5662, allocations: 186.9 kB / 0.723 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004851/0.5667, allocations: 308.3 kB / 0.7233 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.5667, allocations: 4 kB / 0.7233 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0006636/0.5674, allocations: 363.8 kB / 0.7237 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.149e-05/0.5674, allocations: 10.03 kB / 0.7237 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/0.5674, allocations: 4 kB / 0.7237 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.03e-05/0.5674, allocations: 4 kB / 0.7237 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003402/0.5678, allocations: 80.2 kB / 0.7238 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.329e-05/0.5678, allocations: 7.938 kB / 0.7238 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002087/0.568, allocations: 27.78 kB / 0.7238 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.54e-05/0.568, allocations: 19.98 kB / 0.7238 GB, free: 12.39 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.0001525/0.5682, allocations: 143 kB / 0.724 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001036/0.5683, allocations: 27.89 kB / 0.724 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008243/0.5691, allocations: 334.3 kB / 0.7243 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.26e-05/0.5691, allocations: 4 kB / 0.7243 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.5691, allocations: 0 / 0.7243 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.085e-06/0.5691, allocations: 4 kB / 0.7243 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00061/0.5697, allocations: 314.1 kB / 0.7246 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.5697, allocations: 0 / 0.7246 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003366/0.5701, allocations: 59.89 kB / 0.7247 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.112e-06/0.5701, allocations: 7.938 kB / 0.7247 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.883e-05/0.5701, allocations: 8 kB / 0.7247 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.796e-06/0.5701, allocations: 0 / 0.7247 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/0.5701, allocations: 4 kB / 0.7247 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008161/0.5709, allocations: 0.5342 MB / 0.7252 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.931e-05/0.571, allocations: 11.89 kB / 0.7252 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.926e-05/0.571, allocations: 8.062 kB / 0.7252 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003212/0.5713, allocations: 15.98 kB / 0.7252 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.14e-05/0.5714, allocations: 19.97 kB / 0.7253 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.788e-05/0.5714, allocations: 15.92 kB / 0.7253 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.507e-05/0.5715, allocations: 91.27 kB / 0.7254 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.5715, allocations: 0 / 0.7254 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008869/0.5724, allocations: 239.4 kB / 0.7256 GB, free: 10.5 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.002216/0.5746, allocations: 1.414 MB / 0.727 GB, free: 9.055 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005623/0.5751, allocations: 262.4 kB / 0.7272 GB, free: 8.801 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.5751, allocations: 0.625 kB / 0.7272 GB, free: 8.801 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002417/0.5754, allocations: 143.3 kB / 0.7274 GB, free: 8.664 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006619/0.5761, allocations: 88.33 kB / 0.7274 GB, free: 8.578 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003972/0.58, allocations: 2.723 MB / 0.7301 GB, free: 5.695 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004575/0.5805, allocations: 0.7401 MB / 0.7308 GB, free: 4.926 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003398/0.5808, allocations: 77.77 kB / 0.7309 GB, free: 4.852 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001582/0.581, allocations: 67.34 kB / 0.731 GB, free: 4.785 MB / 0.5606 GB Notification: Performance of SimCode: time 5.81e-07/0.581, allocations: 0 / 0.731 GB, free: 4.785 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3003/0.8813, allocations: 11.25 MB / 0.742 GB, free: 171.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.18/12.07, allocations: 7.25 kB / 0.742 GB, free: 171.5 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestOnly_MixIdealGasAir_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.0290547600016]