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.001097/0.001097, allocations: 119.1 kB / 17.09 MB, free: 5.992 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.001223/0.001223, allocations: 193.2 kB / 18.01 MB, free: 5.07 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.473/1.473, allocations: 205.1 MB / 223.9 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.2187/0.2187, allocations: 43.53 MB / 314.8 MB, free: 452 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.001769/0.001769, allocations: 61.47 kB / 442.5 MB, free: 5.672 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1427/0.1445, allocations: 57.79 MB / 0.4885 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.5158/0.6604, allocations: 151.2 MB / 0.6362 GB, free: 3.469 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003832/0.6643, allocations: 3.032 MB / 0.6391 GB, free: 464 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.679e-05/0.6645, allocations: 0 / 0.6391 GB, free: 464 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004061/0.6649, allocations: 67.64 kB / 0.6392 GB, free: 396 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002444/0.6674, allocations: 1.015 MB / 0.6402 GB, free: 15.37 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005297/0.6679, allocations: 192.4 kB / 0.6404 GB, free: 15.18 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004159/0.6684, allocations: 354.6 kB / 0.6407 GB, free: 14.84 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.726e-05/0.6684, allocations: 9.125 kB / 0.6407 GB, free: 14.83 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002467/0.6687, allocations: 151.5 kB / 0.6409 GB, free: 14.68 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001927/0.6689, allocations: 111.6 kB / 0.641 GB, free: 14.57 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.404e-05/0.6689, allocations: 12 kB / 0.641 GB, free: 14.56 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002536/0.6715, allocations: 1.469 MB / 0.6424 GB, free: 13.09 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.478e-05/0.6716, allocations: 67.84 kB / 0.6425 GB, free: 13.02 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001255/0.6717, allocations: 111.6 kB / 0.6426 GB, free: 12.91 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00134/0.6731, allocations: 0.9844 MB / 0.6435 GB, free: 11.93 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.035e-06/0.6731, allocations: 0 / 0.6435 GB, free: 11.93 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.6731, allocations: 0 / 0.6435 GB, free: 11.93 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.564e-06/0.6731, allocations: 0 / 0.6435 GB, free: 11.93 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.0009189/0.674, allocations: 0.55 MB / 0.6441 GB, free: 11.33 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.6741, allocations: 11.97 kB / 0.6441 GB, free: 11.32 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001438/0.6755, allocations: 196.5 kB / 0.6443 GB, free: 11.13 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003053/0.6758, allocations: 244.1 kB / 0.6445 GB, free: 10.85 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.878e-05/0.6759, allocations: 16.92 kB / 0.6445 GB, free: 10.84 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.324e-05/0.6759, allocations: 23.94 kB / 0.6446 GB, free: 10.81 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005997/0.6765, allocations: 381.4 kB / 0.6449 GB, free: 10.43 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.6766, allocations: 0 / 0.6449 GB, free: 10.43 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.416e-05/0.6766, allocations: 8 kB / 0.6449 GB, free: 10.42 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.525e-06/0.6766, allocations: 4 kB / 0.6449 GB, free: 10.42 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005496/0.6772, allocations: 415.1 kB / 0.6453 GB, free: 10.02 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.001619/0.6788, allocations: 0.8046 MB / 0.6461 GB, free: 9.156 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003938/0.6792, allocations: 221.1 kB / 0.6463 GB, free: 8.922 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001775/0.6794, allocations: 127.5 kB / 0.6464 GB, free: 8.793 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001745/0.6812, allocations: 0.8932 MB / 0.6473 GB, free: 7.754 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.376e-05/0.6812, allocations: 42.55 kB / 0.6474 GB, free: 7.703 MB / 494.1 MB Notification: Performance of pre-optimization done (n=29): time 1.563e-06/0.6812, allocations: 0 / 0.6474 GB, free: 7.703 MB / 494.1 MB Notification: Performance of matching and sorting (n=29): time 0.001194/0.6824, allocations: 354.5 kB / 0.6477 GB, free: 7.352 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.35e-05/0.6825, allocations: 85.11 kB / 0.6478 GB, free: 7.25 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.548e-05/0.6826, allocations: 115.5 kB / 0.6479 GB, free: 7.129 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.599e-05/0.6826, allocations: 29.7 kB / 0.6479 GB, free: 7.094 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.504e-05/0.6827, allocations: 112.3 kB / 0.648 GB, free: 6.977 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.151e-05/0.6828, allocations: 102.5 kB / 0.6481 GB, free: 6.875 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001039/0.6829, allocations: 66.02 kB / 0.6482 GB, free: 6.805 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001123/0.683, allocations: 322.8 kB / 0.6485 GB, free: 6.48 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001814/0.6832, allocations: 96.61 kB / 0.6486 GB, free: 6.387 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002498/0.6835, allocations: 195.4 kB / 0.6488 GB, free: 6.16 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004246/0.6839, allocations: 306.4 kB / 0.6491 GB, free: 5.828 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.6839, allocations: 7.875 kB / 0.6491 GB, free: 5.82 MB / 494.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005738/0.6845, allocations: 345 kB / 0.6494 GB, free: 5.477 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.6845, allocations: 4 kB / 0.6494 GB, free: 5.473 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.6845, allocations: 4.312 kB / 0.6494 GB, free: 5.469 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.6845, allocations: 8 kB / 0.6494 GB, free: 5.461 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003421/0.6849, allocations: 71.91 kB / 0.6495 GB, free: 5.391 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.058e-05/0.6849, allocations: 4 kB / 0.6495 GB, free: 5.387 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002202/0.6851, allocations: 31.67 kB / 0.6495 GB, free: 5.355 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.116e-05/0.6852, allocations: 16 kB / 0.6495 GB, free: 5.34 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.0001398/0.6853, allocations: 137.8 kB / 0.6497 GB, free: 5.195 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.794e-05/0.6854, allocations: 15.84 kB / 0.6497 GB, free: 5.18 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006404/0.6861, allocations: 338.5 kB / 0.65 GB, free: 4.848 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/0.6861, allocations: 4 kB / 0.65 GB, free: 4.844 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.687e-06/0.6861, allocations: 7.062 kB / 0.65 GB, free: 4.84 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.6861, allocations: 3.938 kB / 0.65 GB, free: 4.836 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005544/0.6867, allocations: 331 kB / 0.6503 GB, free: 4.465 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.6867, allocations: 0 / 0.6503 GB, free: 4.465 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003292/0.687, allocations: 51.97 kB / 0.6504 GB, free: 4.414 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.687, allocations: 4 kB / 0.6504 GB, free: 4.41 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.962e-05/0.6871, allocations: 11.98 kB / 0.6504 GB, free: 4.398 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.6871, allocations: 0 / 0.6504 GB, free: 4.398 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.6871, allocations: 3.938 kB / 0.6504 GB, free: 4.395 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000736/0.6878, allocations: 0.5073 MB / 0.6509 GB, free: 3.871 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.236e-05/0.6879, allocations: 92.95 kB / 0.651 GB, free: 3.762 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.991e-05/0.6879, allocations: 8.062 kB / 0.651 GB, free: 3.754 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003222/0.6883, allocations: 15.98 kB / 0.651 GB, free: 3.738 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.36e-05/0.6883, allocations: 11.98 kB / 0.651 GB, free: 3.727 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.636e-05/0.6884, allocations: 23.92 kB / 0.651 GB, free: 3.703 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.283e-05/0.6884, allocations: 95.27 kB / 0.6511 GB, free: 3.609 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.6884, allocations: 0 / 0.6511 GB, free: 3.609 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0008475/0.6893, allocations: 227.7 kB / 0.6513 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.001003/0.6903, allocations: 427.2 kB / 0.6518 GB, free: 2.961 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004882/0.6908, allocations: 256.5 kB / 0.652 GB, free: 2.711 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/0.6908, allocations: 4 kB / 0.652 GB, free: 2.707 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002008/0.691, allocations: 127.3 kB / 0.6521 GB, free: 2.586 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006601/0.6917, allocations: 85.52 kB / 0.6522 GB, free: 2.508 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001147/0.6928, allocations: 0.7472 MB / 0.6529 GB, free: 1.723 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003034/0.6932, allocations: 0.7401 MB / 0.6537 GB, free: 0.957 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001308/0.6933, allocations: 35.42 kB / 0.6537 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of SimCode: time 2.71e-07/0.6933, allocations: 0 / 0.6537 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of Templates: time 0.009863/0.7032, allocations: 6.295 MB / 0.6598 GB, free: 10.62 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/MixIdealGasAir/MixIdealGasAir.csv","/var/lib/jenkins1/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