Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_3.2.3_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_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001287/0.001287, allocations: 111.1 kB / 16.41 MB, free: 6.484 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001339/0.00134, allocations: 189.5 kB / 17.34 MB, free: 5.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.625/1.625, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2707/0.2707, allocations: 43.53 MB / 314.1 MB, free: 464 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001441/0.001442, allocations: 59.91 kB / 441.8 MB, free: 5.691 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1501/0.1516, allocations: 57.8 MB / 499.6 MB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.5701/0.7217, allocations: 151.2 MB / 0.6355 GB, free: 3.461 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003811/0.7256, allocations: 3.036 MB / 0.6385 GB, free: 448 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001067/0.7257, allocations: 0 / 0.6385 GB, free: 448 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00049/0.7262, allocations: 63.64 kB / 0.6385 GB, free: 384 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003327/0.7297, allocations: 1.019 MB / 0.6395 GB, free: 15.36 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006806/0.7304, allocations: 200.4 kB / 0.6397 GB, free: 15.16 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006463/0.731, allocations: 354.7 kB / 0.6401 GB, free: 14.81 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.093e-05/0.7311, allocations: 9.125 kB / 0.6401 GB, free: 14.8 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003047/0.7314, allocations: 151.5 kB / 0.6402 GB, free: 14.66 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000212/0.7316, allocations: 111.6 kB / 0.6403 GB, free: 14.55 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.885e-05/0.7317, allocations: 12 kB / 0.6403 GB, free: 14.54 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00297/0.7346, allocations: 1.457 MB / 0.6418 GB, free: 13.07 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001193/0.7348, allocations: 79.78 kB / 0.6418 GB, free: 13 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001509/0.7349, allocations: 107.6 kB / 0.6419 GB, free: 12.89 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001988/0.7369, allocations: 0.9812 MB / 0.6429 GB, free: 11.91 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.737, allocations: 3.375 kB / 0.6429 GB, free: 11.91 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.485e-06/0.737, allocations: 0 / 0.6429 GB, free: 11.91 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.181e-05/0.737, allocations: 0 / 0.6429 GB, free: 11.91 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.001286/0.7383, allocations: 0.5572 MB / 0.6434 GB, free: 11.31 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.217e-05/0.7384, allocations: 8.031 kB / 0.6435 GB, free: 11.3 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001507/0.7399, allocations: 196.5 kB / 0.6436 GB, free: 11.11 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00052/0.7404, allocations: 248.1 kB / 0.6439 GB, free: 10.83 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.621e-05/0.7405, allocations: 12.94 kB / 0.6439 GB, free: 10.82 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.898e-05/0.7406, allocations: 27.92 kB / 0.6439 GB, free: 10.79 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007159/0.7413, allocations: 381.4 kB / 0.6443 GB, free: 10.41 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.461e-05/0.7413, allocations: 0 / 0.6443 GB, free: 10.41 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.69e-05/0.7414, allocations: 12 kB / 0.6443 GB, free: 10.39 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.126e-05/0.7414, allocations: 4 kB / 0.6443 GB, free: 10.39 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00067/0.7421, allocations: 403.8 kB / 0.6447 GB, free: 9.996 MB / 494.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.002087/0.7442, allocations: 0.8007 MB / 0.6455 GB, free: 9.141 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000563/0.7447, allocations: 229 kB / 0.6457 GB, free: 8.898 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002566/0.745, allocations: 125.6 kB / 0.6458 GB, free: 8.77 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0022/0.7472, allocations: 0.8893 MB / 0.6467 GB, free: 7.734 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.589e-05/0.7473, allocations: 38.5 kB / 0.6467 GB, free: 7.688 MB / 494.1 MB Notification: Performance of pre-optimization done (n=29): time 1.904e-06/0.7473, allocations: 0 / 0.6467 GB, free: 7.688 MB / 494.1 MB Notification: Performance of matching and sorting (n=29): time 0.001463/0.7488, allocations: 366.8 kB / 0.6471 GB, free: 7.324 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.111e-05/0.7489, allocations: 81.36 kB / 0.6471 GB, free: 7.227 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001889/0.7491, allocations: 109.8 kB / 0.6472 GB, free: 7.109 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 6.953e-05/0.7491, allocations: 29.7 kB / 0.6473 GB, free: 7.074 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000111/0.7493, allocations: 116.3 kB / 0.6474 GB, free: 6.953 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001258/0.7494, allocations: 106.5 kB / 0.6475 GB, free: 6.848 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001289/0.7495, allocations: 62.02 kB / 0.6475 GB, free: 6.781 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002477/0.7498, allocations: 326.8 kB / 0.6478 GB, free: 6.453 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002412/0.75, allocations: 96.61 kB / 0.6479 GB, free: 6.359 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003359/0.7504, allocations: 183.4 kB / 0.6481 GB, free: 6.145 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005443/0.7509, allocations: 311.3 kB / 0.6484 GB, free: 5.805 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.751, allocations: 0 / 0.6484 GB, free: 5.805 MB / 494.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006959/0.7517, allocations: 349.1 kB / 0.6487 GB, free: 5.461 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.117e-05/0.7517, allocations: 11.94 kB / 0.6488 GB, free: 5.449 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.601e-05/0.7517, allocations: 4 kB / 0.6488 GB, free: 5.445 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.007e-05/0.7518, allocations: 4 kB / 0.6488 GB, free: 5.441 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003715/0.7522, allocations: 79.83 kB / 0.6488 GB, free: 5.363 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.516e-05/0.7522, allocations: 4 kB / 0.6488 GB, free: 5.359 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002298/0.7524, allocations: 31.67 kB / 0.6489 GB, free: 5.328 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.024e-05/0.7525, allocations: 16 kB / 0.6489 GB, free: 5.312 MB / 494.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 (39): * Single equations (assignments): 39 * Array equations: 0 * 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.0002004/0.7527, allocations: 141.8 kB / 0.649 GB, free: 5.164 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.745e-05/0.7528, allocations: 23.12 kB / 0.649 GB, free: 5.145 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007021/0.7535, allocations: 328.7 kB / 0.6494 GB, free: 4.82 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.046e-06/0.7535, allocations: 4 kB / 0.6494 GB, free: 4.816 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.7535, allocations: 0 / 0.6494 GB, free: 4.816 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.7536, allocations: 0 / 0.6494 GB, free: 4.816 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006318/0.7542, allocations: 335 kB / 0.6497 GB, free: 4.441 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.7542, allocations: 0 / 0.6497 GB, free: 4.441 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003088/0.7545, allocations: 51.91 kB / 0.6497 GB, free: 4.391 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.7545, allocations: 4 kB / 0.6497 GB, free: 4.387 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.338e-05/0.7546, allocations: 15.98 kB / 0.6498 GB, free: 4.371 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.7546, allocations: 0 / 0.6498 GB, free: 4.371 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.7546, allocations: 4 kB / 0.6498 GB, free: 4.367 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008379/0.7554, allocations: 0.5033 MB / 0.6502 GB, free: 3.848 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.031e-05/0.7555, allocations: 96.94 kB / 0.6503 GB, free: 3.734 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.363e-05/0.7556, allocations: 4.062 kB / 0.6503 GB, free: 3.73 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002968/0.7559, allocations: 15.98 kB / 0.6504 GB, free: 3.715 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.058e-05/0.7559, allocations: 19.98 kB / 0.6504 GB, free: 3.695 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.68e-05/0.756, allocations: 15.98 kB / 0.6504 GB, free: 3.68 MB / 494.1 MB Notification: Performance of sorting global known variables: time 7.528e-05/0.756, allocations: 91.27 kB / 0.6505 GB, free: 3.59 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7561, allocations: 3.938 kB / 0.6505 GB, free: 3.586 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001074/0.7571, allocations: 227.7 kB / 0.6507 GB, free: 3.363 MB / 494.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 (29): * Single equations (assignments): 29 * Array equations: 0 * 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.0009932/0.7581, allocations: 433.4 kB / 0.6511 GB, free: 2.934 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005202/0.7587, allocations: 248.5 kB / 0.6513 GB, free: 2.691 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.161e-06/0.7587, allocations: 4 kB / 0.6514 GB, free: 2.688 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001993/0.7589, allocations: 123.8 kB / 0.6515 GB, free: 2.566 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005929/0.7595, allocations: 86.05 kB / 0.6516 GB, free: 2.488 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001252/0.7608, allocations: 0.7263 MB / 0.6523 GB, free: 1.73 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003618/0.7611, allocations: 0.7363 MB / 0.653 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0002724/0.7614, allocations: 73.77 kB / 0.6531 GB, free: 0.8984 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.317e-05/0.7615, allocations: 35.36 kB / 0.6531 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of SimCode: time 2.21e-07/0.7615, allocations: 0 / 0.6531 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of Templates: time 0.01367/0.7752, allocations: 8.251 MB / 0.6611 GB, free: 8.625 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/MixIdealGasAir/MixIdealGasAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches