Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00124/0.00124, allocations: 111 kB / 17.75 MB, free: 5.32 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.001237/0.001237, allocations: 191 kB / 18.68 MB, free: 4.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.303/1.303, allocations: 222.9 MB / 242.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2223/0.2223, allocations: 44.17 MB / 336.7 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 59.84 kB / 470.5 MB, free: 13.19 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3927/0.3939, allocations: 60.82 MB / 0.5188 GB, free: 3.602 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.1638/0.5578, allocations: 149.9 MB / 0.6652 GB, free: 5.609 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.003599/0.5614, allocations: 3.146 MB / 0.6683 GB, free: 2.453 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.823e-05/0.5615, allocations: 0 / 0.6683 GB, free: 2.453 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003823/0.5619, allocations: 59.64 kB / 0.6684 GB, free: 2.395 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.002331/0.5643, allocations: 1.019 MB / 0.6693 GB, free: 1.375 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005073/0.5648, allocations: 203.2 kB / 0.6695 GB, free: 1.18 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003893/0.5652, allocations: 354.7 kB / 0.6699 GB, free: 0.832 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.289e-05/0.5653, allocations: 17.06 kB / 0.6699 GB, free: 0.8125 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000225/0.5655, allocations: 147.5 kB / 0.67 GB, free: 0.668 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000198/0.5657, allocations: 107.6 kB / 0.6701 GB, free: 0.5625 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.974e-05/0.5658, allocations: 16 kB / 0.6702 GB, free: 0.5469 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00253/0.5683, allocations: 1.488 MB / 0.6716 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001065/0.5684, allocations: 83.66 kB / 0.6717 GB, free: 14.97 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001141/0.5686, allocations: 99.64 kB / 0.6718 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001302/0.5699, allocations: 0.9918 MB / 0.6728 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.5699, allocations: 3.938 kB / 0.6728 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.343e-06/0.5699, allocations: 7.938 kB / 0.6728 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.833e-06/0.5699, allocations: 0 / 0.6728 GB, free: 13.87 MB / 0.5294 GB 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.0008335/0.5707, allocations: 0.5384 MB / 0.6733 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.5708, allocations: 8.031 kB / 0.6733 GB, free: 13.28 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001406/0.5722, allocations: 208.5 kB / 0.6735 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003288/0.5725, allocations: 255.8 kB / 0.6737 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.832e-05/0.5726, allocations: 16.38 kB / 0.6738 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.574e-05/0.5726, allocations: 19.94 kB / 0.6738 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005554/0.5732, allocations: 369.5 kB / 0.6741 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.5732, allocations: 0 / 0.6741 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.315e-05/0.5733, allocations: 15.94 kB / 0.6741 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.5733, allocations: 4 kB / 0.6741 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000559/0.5738, allocations: 395.8 kB / 0.6745 GB, free: 11.97 MB / 0.5294 GB 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.001526/0.5754, allocations: 0.8085 MB / 0.6753 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00037/0.5758, allocations: 225 kB / 0.6755 GB, free: 10.87 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001612/0.5759, allocations: 117.7 kB / 0.6756 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001818/0.5778, allocations: 0.988 MB / 0.6766 GB, free: 9.594 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.855e-05/0.5778, allocations: 42.55 kB / 0.6766 GB, free: 9.543 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=29): time 3.376e-06/0.5778, allocations: 3.984 kB / 0.6766 GB, free: 9.539 MB / 0.5294 GB Notification: Performance of matching and sorting (n=29): time 0.001297/0.5791, allocations: 365.7 kB / 0.677 GB, free: 9.176 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.225e-05/0.5792, allocations: 81.11 kB / 0.6771 GB, free: 9.078 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001264/0.5793, allocations: 105.8 kB / 0.6772 GB, free: 8.965 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.356e-05/0.5794, allocations: 33.7 kB / 0.6772 GB, free: 8.926 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 8.142e-05/0.5795, allocations: 112.4 kB / 0.6773 GB, free: 8.812 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001089/0.5796, allocations: 110.5 kB / 0.6774 GB, free: 8.703 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001072/0.5797, allocations: 62.02 kB / 0.6775 GB, free: 8.637 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001833/0.5799, allocations: 330.8 kB / 0.6778 GB, free: 8.305 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001841/0.5801, allocations: 96.61 kB / 0.6779 GB, free: 8.211 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000263/0.5804, allocations: 183.5 kB / 0.6781 GB, free: 7.996 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00048/0.5809, allocations: 305 kB / 0.6784 GB, free: 7.668 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/0.5809, allocations: 0 / 0.6784 GB, free: 7.668 MB / 0.5294 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006673/0.5815, allocations: 341.1 kB / 0.6787 GB, free: 7.328 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.518e-05/0.5816, allocations: 10.81 kB / 0.6787 GB, free: 7.32 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.5816, allocations: 0 / 0.6787 GB, free: 7.32 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.437e-05/0.5816, allocations: 4 kB / 0.6787 GB, free: 7.316 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003374/0.582, allocations: 79.78 kB / 0.6788 GB, free: 7.238 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.251e-05/0.582, allocations: 7.984 kB / 0.6788 GB, free: 7.23 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002114/0.5822, allocations: 24.09 kB / 0.6788 GB, free: 7.207 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.005e-05/0.5823, allocations: 27.94 kB / 0.6788 GB, free: 7.18 MB / 0.5294 GB 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.0001575/0.5824, allocations: 137.7 kB / 0.679 GB, free: 7.035 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.901e-05/0.5826, allocations: 23.81 kB / 0.679 GB, free: 7.012 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006385/0.5832, allocations: 306.2 kB / 0.6793 GB, free: 6.707 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.5832, allocations: 4 kB / 0.6793 GB, free: 6.703 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.5832, allocations: 0 / 0.6793 GB, free: 6.703 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.5832, allocations: 3.938 kB / 0.6793 GB, free: 6.699 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000543/0.5838, allocations: 335 kB / 0.6796 GB, free: 6.32 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.5838, allocations: 0 / 0.6796 GB, free: 6.32 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003225/0.5841, allocations: 55.91 kB / 0.6797 GB, free: 6.266 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.5841, allocations: 8 kB / 0.6797 GB, free: 6.258 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.703e-05/0.5842, allocations: 11.98 kB / 0.6797 GB, free: 6.246 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.5842, allocations: 0 / 0.6797 GB, free: 6.246 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.5842, allocations: 4 kB / 0.6797 GB, free: 6.242 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007279/0.5849, allocations: 0.5023 MB / 0.6802 GB, free: 5.723 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 4.898e-05/0.585, allocations: 92.86 kB / 0.6803 GB, free: 5.613 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.378e-05/0.585, allocations: 8.062 kB / 0.6803 GB, free: 5.605 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003025/0.5853, allocations: 15.98 kB / 0.6803 GB, free: 5.59 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.127e-05/0.5854, allocations: 19.97 kB / 0.6803 GB, free: 5.57 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.045e-05/0.5854, allocations: 12 kB / 0.6803 GB, free: 5.559 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.786e-05/0.5855, allocations: 99.5 kB / 0.6804 GB, free: 5.461 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5855, allocations: 0 / 0.6804 GB, free: 5.461 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0008035/0.5863, allocations: 227.8 kB / 0.6806 GB, free: 5.238 MB / 0.5294 GB 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.0009418/0.5872, allocations: 442.7 kB / 0.681 GB, free: 4.797 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0004717/0.5877, allocations: 252.3 kB / 0.6813 GB, free: 4.551 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.5877, allocations: 0.625 kB / 0.6813 GB, free: 4.551 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002027/0.5879, allocations: 135.1 kB / 0.6814 GB, free: 4.422 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006057/0.5886, allocations: 88.2 kB / 0.6815 GB, free: 4.336 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001053/0.5896, allocations: 0.7107 MB / 0.6822 GB, free: 3.594 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002941/0.5899, allocations: 0.7285 MB / 0.6829 GB, free: 2.84 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002722/0.5902, allocations: 69.84 kB / 0.683 GB, free: 2.773 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.613e-05/0.5903, allocations: 31.44 kB / 0.683 GB, free: 2.742 MB / 0.5294 GB Notification: Performance of SimCode: time 2.7e-07/0.5903, allocations: 4 kB / 0.683 GB, free: 2.738 MB / 0.5294 GB Notification: Performance of Templates: time 0.01254/0.6029, allocations: 8.178 MB / 0.691 GB, free: 10.6 MB / 0.545 GB 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches