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.0016/0.0016, allocations: 105.5 kB / 16.4 MB, free: 6.445 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.002077/0.002077, allocations: 192.1 kB / 17.34 MB, free: 5.719 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.638/1.638, allocations: 205.1 MB / 223.2 MB, free: 12.21 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.2595/0.2595, allocations: 43.52 MB / 314.1 MB, free: 440 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.001566/0.001566, allocations: 65.61 kB / 441.8 MB, free: 5.656 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1651/0.1666, allocations: 57.78 MB / 499.6 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.5839/0.7506, allocations: 151.2 MB / 0.6355 GB, free: 3.457 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003916/0.7546, allocations: 3.032 MB / 0.6385 GB, free: 452 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001538/0.7548, allocations: 4 kB / 0.6385 GB, free: 448 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004374/0.7552, allocations: 59.64 kB / 0.6385 GB, free: 388 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003067/0.7584, allocations: 1.018 MB / 0.6395 GB, free: 15.36 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006399/0.759, allocations: 196.5 kB / 0.6397 GB, free: 15.17 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006392/0.7597, allocations: 354.6 kB / 0.6401 GB, free: 14.82 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.387e-05/0.7598, allocations: 9.125 kB / 0.6401 GB, free: 14.81 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000375/0.7601, allocations: 147.5 kB / 0.6402 GB, free: 14.67 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002604/0.7604, allocations: 111.6 kB / 0.6403 GB, free: 14.56 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.723e-05/0.7605, allocations: 12 kB / 0.6403 GB, free: 14.55 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003073/0.7635, allocations: 1.457 MB / 0.6417 GB, free: 13.09 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001162/0.7637, allocations: 79.83 kB / 0.6418 GB, free: 13.01 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001379/0.7638, allocations: 107.5 kB / 0.6419 GB, free: 12.9 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002452/0.7663, allocations: 0.9889 MB / 0.6429 GB, free: 11.91 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.7663, allocations: 0 / 0.6429 GB, free: 11.91 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.465e-06/0.7663, allocations: 0 / 0.6429 GB, free: 11.91 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.165e-05/0.7663, 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.0018/0.7681, allocations: 0.55 MB / 0.6434 GB, free: 11.32 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.979e-05/0.7682, allocations: 12.03 kB / 0.6434 GB, free: 11.3 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001826/0.77, allocations: 192.5 kB / 0.6436 GB, free: 11.12 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005318/0.7706, allocations: 248.1 kB / 0.6439 GB, free: 10.84 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.545e-05/0.7706, allocations: 16.94 kB / 0.6439 GB, free: 10.82 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.132e-05/0.7707, allocations: 23.94 kB / 0.6439 GB, free: 10.8 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007285/0.7715, allocations: 381.4 kB / 0.6443 GB, free: 10.41 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/0.7715, allocations: 0 / 0.6443 GB, free: 10.41 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.608e-05/0.7715, allocations: 12 kB / 0.6443 GB, free: 10.4 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/0.7716, allocations: 4 kB / 0.6443 GB, free: 10.4 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005826/0.7721, allocations: 407.7 kB / 0.6447 GB, free: 10 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.001848/0.774, allocations: 0.8007 MB / 0.6454 GB, free: 9.145 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004237/0.7744, allocations: 235.8 kB / 0.6457 GB, free: 8.898 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001726/0.7746, allocations: 117.6 kB / 0.6458 GB, free: 8.777 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001924/0.7766, allocations: 0.8932 MB / 0.6467 GB, free: 7.738 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.606e-05/0.7766, allocations: 34.56 kB / 0.6467 GB, free: 7.695 MB / 494.1 MB Notification: Performance of pre-optimization done (n=29): time 1.813e-06/0.7766, allocations: 0 / 0.6467 GB, free: 7.695 MB / 494.1 MB Notification: Performance of matching and sorting (n=29): time 0.001228/0.7778, allocations: 361.6 kB / 0.647 GB, free: 7.336 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.128e-05/0.7779, allocations: 85.34 kB / 0.6471 GB, free: 7.234 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.794e-05/0.778, allocations: 109.8 kB / 0.6472 GB, free: 7.117 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.896e-05/0.7781, allocations: 29.7 kB / 0.6473 GB, free: 7.082 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.627e-05/0.7781, allocations: 116.3 kB / 0.6474 GB, free: 6.961 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.108e-05/0.7782, allocations: 102.5 kB / 0.6475 GB, free: 6.859 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001023/0.7784, allocations: 65.95 kB / 0.6475 GB, free: 6.789 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001299/0.7785, allocations: 326.8 kB / 0.6478 GB, free: 6.461 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002001/0.7787, allocations: 104.5 kB / 0.6479 GB, free: 6.359 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002563/0.779, allocations: 179.5 kB / 0.6481 GB, free: 6.148 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004515/0.7794, allocations: 310.6 kB / 0.6484 GB, free: 5.809 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.7794, allocations: 0 / 0.6484 GB, free: 5.809 MB / 494.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006358/0.7801, allocations: 346.3 kB / 0.6487 GB, free: 5.465 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/0.7801, allocations: 12.03 kB / 0.6487 GB, free: 5.453 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.896e-06/0.7801, allocations: 4 kB / 0.6487 GB, free: 5.449 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/0.7801, allocations: 4 kB / 0.6488 GB, free: 5.445 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000331/0.7805, allocations: 67.91 kB / 0.6488 GB, free: 5.379 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.294e-05/0.7805, allocations: 4 kB / 0.6488 GB, free: 5.375 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002269/0.7807, allocations: 39.61 kB / 0.6489 GB, free: 5.336 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.429e-05/0.7808, allocations: 15.38 kB / 0.6489 GB, free: 5.324 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.0001565/0.781, allocations: 145.7 kB / 0.649 GB, free: 5.172 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.959e-05/0.7811, allocations: 19.83 kB / 0.649 GB, free: 5.152 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006742/0.7817, allocations: 332.7 kB / 0.6493 GB, free: 4.824 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.339e-06/0.7818, allocations: 0 / 0.6493 GB, free: 4.824 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.7818, allocations: 4 kB / 0.6494 GB, free: 4.82 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.7818, allocations: 0 / 0.6494 GB, free: 4.82 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006205/0.7824, allocations: 331 kB / 0.6497 GB, free: 4.449 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.7824, allocations: 4 kB / 0.6497 GB, free: 4.445 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000344/0.7828, allocations: 51.97 kB / 0.6497 GB, free: 4.395 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.384e-06/0.7828, allocations: 0 / 0.6497 GB, free: 4.395 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.196e-05/0.7828, allocations: 15.94 kB / 0.6497 GB, free: 4.379 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.7828, allocations: 0 / 0.6497 GB, free: 4.379 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.7829, allocations: 3.984 kB / 0.6497 GB, free: 4.375 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008155/0.7837, allocations: 0.5041 MB / 0.6502 GB, free: 3.855 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.559e-05/0.7837, allocations: 92.94 kB / 0.6503 GB, free: 3.746 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.341e-05/0.7838, allocations: 8.062 kB / 0.6503 GB, free: 3.738 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003137/0.7841, allocations: 15.98 kB / 0.6503 GB, free: 3.723 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.816e-05/0.7841, allocations: 19.92 kB / 0.6504 GB, free: 3.703 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.472e-05/0.7842, allocations: 19.98 kB / 0.6504 GB, free: 3.684 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.718e-05/0.7843, allocations: 87.27 kB / 0.6505 GB, free: 3.598 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.954e-06/0.7843, allocations: 0 / 0.6505 GB, free: 3.598 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0008525/0.7851, allocations: 235.6 kB / 0.6507 GB, free: 3.367 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.001131/0.7863, allocations: 414.8 kB / 0.6511 GB, free: 2.953 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005447/0.7868, allocations: 268.2 kB / 0.6513 GB, free: 2.695 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.7868, allocations: 0 / 0.6513 GB, free: 2.695 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002106/0.787, allocations: 123.8 kB / 0.6515 GB, free: 2.574 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006641/0.7877, allocations: 91.41 kB / 0.6515 GB, free: 2.492 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001218/0.7889, allocations: 0.7186 MB / 0.6522 GB, free: 1.742 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003557/0.7893, allocations: 0.7362 MB / 0.653 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0002889/0.7896, allocations: 73.78 kB / 0.653 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.867e-05/0.7897, allocations: 27.44 kB / 0.6531 GB, free: 0.8828 MB / 494.1 MB Notification: Performance of SimCode: time 2.8e-07/0.7897, allocations: 3.938 kB / 0.6531 GB, free: 0.8789 MB / 494.1 MB Notification: Performance of Templates: time 0.01433/0.8041, allocations: 8.301 MB / 0.6612 GB, free: 8.594 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