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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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: translateModel(ModelicaTest.Media.TestOnly.MixIdealGasAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p|medium2.T|medium2.X.1.|medium2.X.2.|medium2.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir") translateModel(ModelicaTest.Media.TestOnly.MixIdealGasAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p|medium2.T|medium2.X.1.|medium2.X.2.|medium2.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001253/0.001253, allocations: 115.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001292/0.001292, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.3/1.3, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1966/0.1966, allocations: 46.11 MB / 344.9 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001344/0.001344, allocations: 72.2 kB / 419 MB, free: 19.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1009/0.1023, allocations: 62.44 MB / 481.4 MB, free: 4.535 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.3363/0.4386, allocations: 152.8 MB / 0.6194 GB, free: 10.03 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003413/0.4421, allocations: 3.252 MB / 0.6225 GB, free: 6.789 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.457e-05/0.4422, allocations: 4 kB / 0.6225 GB, free: 6.785 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003086/0.4425, allocations: 63.64 kB / 0.6226 GB, free: 6.723 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001989/0.4445, allocations: 1.064 MB / 0.6236 GB, free: 5.656 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004465/0.445, allocations: 195.4 kB / 0.6238 GB, free: 5.469 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003838/0.4454, allocations: 366.6 kB / 0.6242 GB, free: 5.109 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.667e-05/0.4454, allocations: 17.11 kB / 0.6242 GB, free: 5.094 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002422/0.4457, allocations: 159.4 kB / 0.6244 GB, free: 4.938 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000193/0.4459, allocations: 111.6 kB / 0.6245 GB, free: 4.828 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.537e-05/0.4459, allocations: 12 kB / 0.6245 GB, free: 4.816 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002393/0.4483, allocations: 1.527 MB / 0.626 GB, free: 3.289 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001018/0.4484, allocations: 87.77 kB / 0.626 GB, free: 3.203 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001205/0.4485, allocations: 103.6 kB / 0.6261 GB, free: 3.102 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001215/0.4498, allocations: 1.021 MB / 0.6271 GB, free: 2.078 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.4498, allocations: 0 / 0.6271 GB, free: 2.078 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.4498, allocations: 0 / 0.6271 GB, free: 2.078 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.522e-06/0.4498, allocations: 0 / 0.6271 GB, free: 2.078 MB / 462.1 MB 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.0007934/0.4506, allocations: 0.5501 MB / 0.6277 GB, free: 1.48 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.4506, allocations: 12.03 kB / 0.6277 GB, free: 1.469 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001371/0.452, allocations: 204.5 kB / 0.6279 GB, free: 1.27 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003501/0.4524, allocations: 256.2 kB / 0.6281 GB, free: 0.9805 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.626e-05/0.4524, allocations: 16.31 kB / 0.6281 GB, free: 0.9648 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.496e-05/0.4525, allocations: 23.98 kB / 0.6282 GB, free: 0.9414 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005501/0.453, allocations: 380.1 kB / 0.6285 GB, free: 0.5586 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.453, allocations: 4 kB / 0.6285 GB, free: 0.5547 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.778e-05/0.4531, allocations: 12 kB / 0.6285 GB, free: 0.543 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.096e-05/0.4531, allocations: 8 kB / 0.6286 GB, free: 0.5352 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005414/0.4537, allocations: 420.4 kB / 0.629 GB, free: 128 kB / 462.1 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.001606/0.4553, allocations: 0.8222 MB / 0.6298 GB, free: 15.25 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003649/0.4557, allocations: 224.9 kB / 0.63 GB, free: 15.01 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001725/0.4558, allocations: 133.6 kB / 0.6301 GB, free: 14.88 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001678/0.4575, allocations: 0.9762 MB / 0.6311 GB, free: 13.73 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.776e-05/0.4576, allocations: 38.56 kB / 0.6311 GB, free: 13.69 MB / 478.1 MB Notification: Performance of pre-optimization done (n=31): time 1.884e-06/0.4576, allocations: 0 / 0.6311 GB, free: 13.69 MB / 478.1 MB Notification: Performance of matching and sorting (n=31): time 0.001101/0.4587, allocations: 384.3 kB / 0.6315 GB, free: 13.31 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.545e-05/0.4587, allocations: 81.09 kB / 0.6315 GB, free: 13.21 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.767e-05/0.4588, allocations: 113.8 kB / 0.6316 GB, free: 13.09 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.591e-05/0.4589, allocations: 37.7 kB / 0.6317 GB, free: 13.05 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.007e-05/0.4589, allocations: 112.4 kB / 0.6318 GB, free: 12.93 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.272e-05/0.459, allocations: 118.2 kB / 0.6319 GB, free: 12.82 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001023/0.4591, allocations: 66.02 kB / 0.632 GB, free: 12.75 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.871e-05/0.4592, allocations: 322.8 kB / 0.6323 GB, free: 12.42 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001811/0.4594, allocations: 108.3 kB / 0.6324 GB, free: 12.32 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002302/0.4597, allocations: 182.9 kB / 0.6325 GB, free: 12.1 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004369/0.4601, allocations: 321.9 kB / 0.6329 GB, free: 11.75 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/0.4601, allocations: 7.938 kB / 0.6329 GB, free: 11.74 MB / 478.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0006099/0.4607, allocations: 347.5 kB / 0.6332 GB, free: 11.4 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.4608, allocations: 8 kB / 0.6332 GB, free: 11.39 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.4608, allocations: 4 kB / 0.6332 GB, free: 11.39 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.4608, allocations: 4 kB / 0.6332 GB, free: 11.38 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000325/0.4611, allocations: 72.2 kB / 0.6333 GB, free: 11.31 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.4611, allocations: 8 kB / 0.6333 GB, free: 11.3 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002023/0.4614, allocations: 31.69 kB / 0.6333 GB, free: 11.27 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.76e-05/0.4614, allocations: 12 kB / 0.6333 GB, free: 11.26 MB / 478.1 MB 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.0001301/0.4615, allocations: 149.6 kB / 0.6335 GB, free: 11.11 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.643e-05/0.4616, allocations: 15.91 kB / 0.6335 GB, free: 11.09 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006276/0.4623, allocations: 336.6 kB / 0.6338 GB, free: 10.76 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.067e-05/0.4623, allocations: 4 kB / 0.6338 GB, free: 10.75 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.4623, allocations: 0 / 0.6338 GB, free: 10.75 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.4623, allocations: 4 kB / 0.6338 GB, free: 10.75 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005507/0.4629, allocations: 338.9 kB / 0.6341 GB, free: 10.37 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.4629, allocations: 0 / 0.6341 GB, free: 10.37 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000323/0.4632, allocations: 59.59 kB / 0.6342 GB, free: 10.32 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.4632, allocations: 4 kB / 0.6342 GB, free: 10.31 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.018e-05/0.4633, allocations: 11.98 kB / 0.6342 GB, free: 10.3 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.4633, allocations: 0 / 0.6342 GB, free: 10.3 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.4633, allocations: 0 / 0.6342 GB, free: 10.3 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007266/0.464, allocations: 0.5262 MB / 0.6347 GB, free: 9.758 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.626e-05/0.4641, allocations: 92.94 kB / 0.6348 GB, free: 9.648 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.605e-05/0.4641, allocations: 12 kB / 0.6348 GB, free: 9.637 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000312/0.4644, allocations: 11.98 kB / 0.6348 GB, free: 9.625 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.53e-05/0.4645, allocations: 19.98 kB / 0.6349 GB, free: 9.605 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.812e-05/0.4645, allocations: 23.92 kB / 0.6349 GB, free: 9.582 MB / 478.1 MB Notification: Performance of sorting global known variables: time 5.062e-05/0.4646, allocations: 87.27 kB / 0.635 GB, free: 9.496 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4646, allocations: 0 / 0.635 GB, free: 9.496 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0006856/0.4653, allocations: 239.8 kB / 0.6352 GB, free: 9.262 MB / 478.1 MB 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.0009265/0.4662, allocations: 446.6 kB / 0.6356 GB, free: 8.816 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0004894/0.4667, allocations: 277.3 kB / 0.6359 GB, free: 8.551 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.4667, allocations: 0 / 0.6359 GB, free: 8.551 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002183/0.4669, allocations: 139.8 kB / 0.636 GB, free: 8.414 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006095/0.4676, allocations: 92.62 kB / 0.6361 GB, free: 8.328 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00105/0.4686, allocations: 0.734 MB / 0.6368 GB, free: 7.562 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002729/0.4689, allocations: 0.7324 MB / 0.6375 GB, free: 6.805 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0002871/0.4692, allocations: 79.42 kB / 0.6376 GB, free: 6.73 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.47e-05/0.4693, allocations: 35.42 kB / 0.6376 GB, free: 6.695 MB / 478.1 MB Notification: Performance of SimCode: time 2.61e-07/0.4693, allocations: 0 / 0.6376 GB, free: 6.695 MB / 478.1 MB Notification: Performance of Templates: time 0.01264/0.4819, allocations: 8.529 MB / 0.646 GB, free: 14.21 MB / 494.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.makefile (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 & ./ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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) Reference file matches