Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 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_4.0.0_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_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001339/0.001339, allocations: 173.9 kB / 17.41 MB, free: 4.41 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.362/1.362, allocations: 225.7 MB / 243.9 MB, free: 8.453 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008045/0.0008046, allocations: 93.36 kB / 295.1 MB, free: 9.504 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3971/0.3971, allocations: 44.31 MB / 390.5 MB, free: 37.98 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003755/0.0003758, allocations: 12 kB / 463.1 MB, free: 492 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3778/0.3782, allocations: 61.9 MB / 0.5127 GB, free: 37.9 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.1893/0.5676, allocations: 138.3 MB / 0.6477 GB, free: 3.176 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.005819/0.5735, allocations: 4.827 MB / 0.6525 GB, free: 13.92 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001639/0.5737, allocations: 0 / 0.6525 GB, free: 13.92 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00049/0.5742, allocations: 55.72 kB / 0.6525 GB, free: 13.86 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003164/0.5774, allocations: 0.9553 MB / 0.6534 GB, free: 12.91 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006394/0.578, allocations: 183.6 kB / 0.6536 GB, free: 12.73 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006223/0.5787, allocations: 478.5 kB / 0.6541 GB, free: 12.26 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.888e-05/0.5788, allocations: 12.72 kB / 0.6541 GB, free: 12.25 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004036/0.5792, allocations: 147.5 kB / 0.6542 GB, free: 12.1 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003123/0.5795, allocations: 119.6 kB / 0.6543 GB, free: 11.98 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 4.239e-05/0.5796, allocations: 4 kB / 0.6543 GB, free: 11.98 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003834/0.5834, allocations: 1.757 MB / 0.6561 GB, free: 10.22 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001644/0.5836, allocations: 71.78 kB / 0.6561 GB, free: 10.15 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000213/0.5838, allocations: 125.3 kB / 0.6563 GB, free: 10.02 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002547/0.5864, allocations: 1.13 MB / 0.6574 GB, free: 8.887 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.5864, allocations: 4 kB / 0.6574 GB, free: 8.883 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.545e-06/0.5864, allocations: 0 / 0.6574 GB, free: 8.883 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.553e-06/0.5864, allocations: 0 / 0.6574 GB, free: 8.883 MB / 474.7 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.001096/0.5875, allocations: 0.4916 MB / 0.6578 GB, free: 8.344 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.966e-05/0.5876, allocations: 12.03 kB / 0.6579 GB, free: 8.332 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0036/0.5912, allocations: 380.2 kB / 0.6582 GB, free: 7.961 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004386/0.5916, allocations: 259.9 kB / 0.6585 GB, free: 7.668 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.974e-05/0.5917, allocations: 16.36 kB / 0.6585 GB, free: 7.652 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.849e-05/0.5918, allocations: 27.92 kB / 0.6585 GB, free: 7.625 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001002/0.5928, allocations: 481.3 kB / 0.659 GB, free: 7.145 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.5928, allocations: 0 / 0.659 GB, free: 7.145 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.267e-05/0.5929, allocations: 11.98 kB / 0.659 GB, free: 7.133 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.198e-06/0.5929, allocations: 8 kB / 0.659 GB, free: 7.125 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00103/0.5939, allocations: 0.5022 MB / 0.6595 GB, free: 6.625 MB / 474.7 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.002411/0.5963, allocations: 0.9963 MB / 0.6604 GB, free: 5.578 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006308/0.597, allocations: 289 kB / 0.6607 GB, free: 5.277 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002836/0.5973, allocations: 149.7 kB / 0.6609 GB, free: 5.125 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002001/0.5993, allocations: 0.9801 MB / 0.6618 GB, free: 3.977 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.265e-05/0.5994, allocations: 38.56 kB / 0.6619 GB, free: 3.93 MB / 474.7 MB Notification: Performance of pre-optimization done (n=29): time 2.905e-06/0.5994, allocations: 0 / 0.6619 GB, free: 3.93 MB / 474.7 MB Notification: Performance of matching and sorting (n=29): time 0.0009886/0.6004, allocations: 405.8 kB / 0.6622 GB, free: 3.527 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.311e-05/0.6004, allocations: 81.11 kB / 0.6623 GB, free: 3.43 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001136/0.6006, allocations: 117.8 kB / 0.6624 GB, free: 3.305 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 5.01e-05/0.6006, allocations: 29.7 kB / 0.6625 GB, free: 3.27 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.325e-05/0.6007, allocations: 116.4 kB / 0.6626 GB, free: 3.152 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.736e-05/0.6008, allocations: 102.5 kB / 0.6627 GB, free: 3.051 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.024e-05/0.6009, allocations: 12 kB / 0.6627 GB, free: 3.039 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001548/0.601, allocations: 330.7 kB / 0.663 GB, free: 2.707 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002444/0.6013, allocations: 112.6 kB / 0.6631 GB, free: 2.598 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002889/0.6016, allocations: 207.5 kB / 0.6633 GB, free: 2.359 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006229/0.6022, allocations: 340.5 kB / 0.6636 GB, free: 1.992 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/0.6022, allocations: 4 kB / 0.6636 GB, free: 1.988 MB / 474.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007719/0.603, allocations: 369.2 kB / 0.664 GB, free: 1.621 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.39e-05/0.603, allocations: 11.98 kB / 0.664 GB, free: 1.609 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-05/0.603, allocations: 4 kB / 0.664 GB, free: 1.605 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.134e-05/0.6031, allocations: 4 kB / 0.664 GB, free: 1.602 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004228/0.6035, allocations: 71.91 kB / 0.6641 GB, free: 1.531 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.617e-05/0.6035, allocations: 7.984 kB / 0.6641 GB, free: 1.523 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003377/0.6039, allocations: 39.94 kB / 0.6641 GB, free: 1.484 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.689e-05/0.6039, allocations: 15.98 kB / 0.6641 GB, free: 1.469 MB / 474.7 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.0001778/0.6041, allocations: 146.2 kB / 0.6643 GB, free: 1.316 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001369/0.6043, allocations: 19.89 kB / 0.6643 GB, free: 1.297 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008393/0.6051, allocations: 371 kB / 0.6646 GB, free: 0.9297 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.646e-06/0.6051, allocations: 4 kB / 0.6646 GB, free: 0.9258 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.805e-06/0.6052, allocations: 7.922 kB / 0.6647 GB, free: 0.918 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.6052, allocations: 0 / 0.6647 GB, free: 0.918 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006342/0.6058, allocations: 360.8 kB / 0.665 GB, free: 0.5117 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.269e-06/0.6058, allocations: 0 / 0.665 GB, free: 0.5117 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004514/0.6063, allocations: 59.95 kB / 0.6651 GB, free: 464 kB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.404e-06/0.6063, allocations: 7.938 kB / 0.6651 GB, free: 456 kB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.748e-05/0.6063, allocations: 11.98 kB / 0.6651 GB, free: 444 kB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.165e-06/0.6063, allocations: 0 / 0.6651 GB, free: 444 kB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.6064, allocations: 4 kB / 0.6651 GB, free: 440 kB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009078/0.6073, allocations: 0.5414 MB / 0.6656 GB, free: 15.87 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.474e-05/0.6074, allocations: 92.95 kB / 0.6657 GB, free: 15.76 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.394e-05/0.6074, allocations: 4.062 kB / 0.6657 GB, free: 15.76 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003934/0.6078, allocations: 23.89 kB / 0.6657 GB, free: 15.73 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.902e-05/0.6079, allocations: 31.91 kB / 0.6658 GB, free: 15.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.515e-05/0.6079, allocations: 19.98 kB / 0.6658 GB, free: 15.68 MB / 490.7 MB Notification: Performance of sorting global known variables: time 5.821e-05/0.608, allocations: 87.22 kB / 0.6659 GB, free: 15.6 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.608, allocations: 3.938 kB / 0.6659 GB, free: 15.59 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001021/0.609, allocations: 235.8 kB / 0.6661 GB, free: 15.36 MB / 490.7 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.00153/0.6106, allocations: 435.4 kB / 0.6665 GB, free: 14.93 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0006675/0.6112, allocations: 299.6 kB / 0.6668 GB, free: 14.64 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.6112, allocations: 0 / 0.6668 GB, free: 14.64 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002637/0.6115, allocations: 144.4 kB / 0.6669 GB, free: 14.5 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006879/0.6122, allocations: 83.84 kB / 0.667 GB, free: 14.41 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001588/0.6138, allocations: 0.9119 MB / 0.6679 GB, free: 13.47 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003935/0.6142, allocations: 0.7326 MB / 0.6686 GB, free: 12.71 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0005256/0.6148, allocations: 82.06 kB / 0.6687 GB, free: 12.63 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000138/0.6149, allocations: 31.42 kB / 0.6687 GB, free: 12.6 MB / 490.7 MB Notification: Performance of SimCode: time 3.316e-06/0.6149, allocations: 0 / 0.6687 GB, free: 12.6 MB / 490.7 MB Notification: Performance of Templates: time 0.01531/0.6302, allocations: 8.111 MB / 0.6766 GB, free: 4.531 MB / 490.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/MixIdealGasAir/MixIdealGasAir.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches