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.001191/0.001191, allocations: 107 kB / 16.41 MB, free: 6.457 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.001431/0.001431, allocations: 189.5 kB / 17.34 MB, free: 5.715 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.592/1.592, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.2232/0.2232, allocations: 43.53 MB / 314.1 MB, free: 456 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.001321/0.001321, allocations: 77.44 kB / 441.8 MB, free: 5.668 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1452/0.1465, allocations: 57.78 MB / 499.6 MB, free: 11.81 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.5542/0.7008, allocations: 151.2 MB / 0.6355 GB, free: 3.512 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003618/0.7044, allocations: 3.042 MB / 0.6385 GB, free: 492 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.283e-05/0.7045, allocations: 0 / 0.6385 GB, free: 492 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003672/0.7049, allocations: 59.64 kB / 0.6385 GB, free: 432 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002534/0.7075, allocations: 1.003 MB / 0.6395 GB, free: 15.41 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005226/0.708, allocations: 204.4 kB / 0.6397 GB, free: 15.21 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004341/0.7085, allocations: 346.7 kB / 0.64 GB, free: 14.88 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.143e-05/0.7086, allocations: 17.11 kB / 0.6401 GB, free: 14.86 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000236/0.7088, allocations: 154.8 kB / 0.6402 GB, free: 14.71 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002037/0.709, allocations: 111.6 kB / 0.6403 GB, free: 14.6 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.657e-05/0.7091, allocations: 12 kB / 0.6403 GB, free: 14.59 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002844/0.7119, allocations: 1.453 MB / 0.6417 GB, free: 13.13 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001198/0.712, allocations: 79.77 kB / 0.6418 GB, free: 13.05 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001375/0.7122, allocations: 111.6 kB / 0.6419 GB, free: 12.95 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001521/0.7137, allocations: 0.9863 MB / 0.6429 GB, free: 11.96 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.7137, allocations: 0 / 0.6429 GB, free: 11.96 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.7137, allocations: 0 / 0.6429 GB, free: 11.96 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.695e-06/0.7138, allocations: 0 / 0.6429 GB, free: 11.96 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.0009913/0.7147, allocations: 0.5452 MB / 0.6434 GB, free: 11.37 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.786e-05/0.7148, allocations: 16.03 kB / 0.6434 GB, free: 11.35 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001392/0.7162, allocations: 192.6 kB / 0.6436 GB, free: 11.16 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003609/0.7166, allocations: 256.1 kB / 0.6439 GB, free: 10.88 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.038e-05/0.7166, allocations: 16.88 kB / 0.6439 GB, free: 10.86 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.943e-05/0.7167, allocations: 23.94 kB / 0.6439 GB, free: 10.84 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006047/0.7173, allocations: 385.4 kB / 0.6443 GB, free: 10.45 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.7173, allocations: 0 / 0.6443 GB, free: 10.45 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.246e-05/0.7174, allocations: 8 kB / 0.6443 GB, free: 10.44 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.325e-06/0.7174, allocations: 4 kB / 0.6443 GB, free: 10.44 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005762/0.7179, allocations: 415.1 kB / 0.6447 GB, free: 10.04 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.001678/0.7196, allocations: 0.8048 MB / 0.6455 GB, free: 9.176 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00038/0.72, allocations: 211.3 kB / 0.6457 GB, free: 8.953 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001776/0.7202, allocations: 129.8 kB / 0.6458 GB, free: 8.82 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001703/0.7219, allocations: 0.9049 MB / 0.6467 GB, free: 7.77 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.139e-05/0.722, allocations: 34.56 kB / 0.6467 GB, free: 7.727 MB / 494.1 MB Notification: Performance of pre-optimization done (n=29): time 1.422e-06/0.722, allocations: 0 / 0.6467 GB, free: 7.727 MB / 494.1 MB Notification: Performance of matching and sorting (n=29): time 0.001168/0.7232, allocations: 357.6 kB / 0.647 GB, free: 7.371 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.097e-05/0.7232, allocations: 81.11 kB / 0.6471 GB, free: 7.273 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001106/0.7234, allocations: 109.8 kB / 0.6472 GB, free: 7.156 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.385e-05/0.7234, allocations: 37.7 kB / 0.6473 GB, free: 7.113 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.772e-05/0.7235, allocations: 112.5 kB / 0.6474 GB, free: 6.996 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.59e-05/0.7236, allocations: 115 kB / 0.6475 GB, free: 6.883 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001158/0.7237, allocations: 58.03 kB / 0.6475 GB, free: 6.82 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001322/0.7239, allocations: 322.8 kB / 0.6478 GB, free: 6.496 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001873/0.7241, allocations: 100.6 kB / 0.6479 GB, free: 6.398 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002478/0.7243, allocations: 191.4 kB / 0.6481 GB, free: 6.176 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004656/0.7248, allocations: 302.6 kB / 0.6484 GB, free: 5.844 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.7248, allocations: 4 kB / 0.6484 GB, free: 5.84 MB / 494.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006096/0.7254, allocations: 342.2 kB / 0.6487 GB, free: 5.5 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.503e-05/0.7255, allocations: 8 kB / 0.6488 GB, free: 5.492 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/0.7255, allocations: 0 / 0.6488 GB, free: 5.492 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.481e-05/0.7255, allocations: 8 kB / 0.6488 GB, free: 5.484 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003449/0.7259, allocations: 76.14 kB / 0.6488 GB, free: 5.41 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.281e-05/0.7259, allocations: 12 kB / 0.6488 GB, free: 5.398 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002056/0.7261, allocations: 29.66 kB / 0.6489 GB, free: 5.371 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.743e-05/0.7262, allocations: 19.98 kB / 0.6489 GB, free: 5.352 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.000154/0.7263, allocations: 137.7 kB / 0.649 GB, free: 5.207 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.547e-05/0.7264, allocations: 19.89 kB / 0.649 GB, free: 5.188 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007189/0.7271, allocations: 334.3 kB / 0.6494 GB, free: 4.863 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.071e-06/0.7272, allocations: 3.984 kB / 0.6494 GB, free: 4.859 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/0.7272, allocations: 4 kB / 0.6494 GB, free: 4.855 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.635e-06/0.7272, allocations: 3.984 kB / 0.6494 GB, free: 4.852 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006025/0.7278, allocations: 335 kB / 0.6497 GB, free: 4.477 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.7278, allocations: 3.984 kB / 0.6497 GB, free: 4.473 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003225/0.7281, allocations: 55.91 kB / 0.6497 GB, free: 4.418 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.786e-06/0.7282, allocations: 0 / 0.6497 GB, free: 4.418 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.032e-05/0.7282, allocations: 8 kB / 0.6498 GB, free: 4.41 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.7282, allocations: 4.312 kB / 0.6498 GB, free: 4.406 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.7282, allocations: 0 / 0.6498 GB, free: 4.406 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007902/0.729, allocations: 0.516 MB / 0.6503 GB, free: 3.875 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.549e-05/0.7291, allocations: 92.95 kB / 0.6504 GB, free: 3.766 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.706e-05/0.7291, allocations: 8.062 kB / 0.6504 GB, free: 3.758 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003011/0.7294, allocations: 11.98 kB / 0.6504 GB, free: 3.746 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.937e-05/0.7295, allocations: 19.97 kB / 0.6504 GB, free: 3.727 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.637e-05/0.7295, allocations: 19.98 kB / 0.6504 GB, free: 3.707 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.146e-05/0.7296, allocations: 91.25 kB / 0.6505 GB, free: 3.617 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.7296, allocations: 0 / 0.6505 GB, free: 3.617 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0008826/0.7305, allocations: 235.4 kB / 0.6507 GB, free: 3.387 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.00101/0.7315, allocations: 427.1 kB / 0.6511 GB, free: 2.961 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005441/0.7321, allocations: 264.8 kB / 0.6514 GB, free: 2.703 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.7321, allocations: 0 / 0.6514 GB, free: 2.703 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002188/0.7323, allocations: 123.9 kB / 0.6515 GB, free: 2.582 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006474/0.733, allocations: 82.33 kB / 0.6516 GB, free: 2.504 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001317/0.7343, allocations: 0.7148 MB / 0.6523 GB, free: 1.754 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003335/0.7346, allocations: 0.7285 MB / 0.653 GB, free: 1 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003242/0.735, allocations: 77.77 kB / 0.6531 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001011/0.7351, allocations: 35.44 kB / 0.6531 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of SimCode: time 1.553e-06/0.7351, allocations: 0 / 0.6531 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of Templates: time 0.01496/0.75, allocations: 8.266 MB / 0.6612 GB, free: 8.645 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