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.0007809/0.0007809, allocations: 90.55 kB / 18 MB, free: 5.602 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.0009319/0.000932, allocations: 177.6 kB / 18.91 MB, free: 4.738 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.389/1.389, allocations: 223.3 MB / 243 MB, free: 14.29 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.2099/0.2099, allocations: 44.25 MB / 338.3 MB, free: 2.41 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003163/0.0003164, allocations: 8.625 kB / 411 MB, free: 27.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.1092, allocations: 61.93 MB / 472.9 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.3925/0.5018, allocations: 145.8 MB / 0.6042 GB, free: 0.9453 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004183/0.5061, allocations: 3.178 MB / 0.6073 GB, free: 13.78 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000116/0.5062, allocations: 0 / 0.6073 GB, free: 13.78 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003609/0.5066, allocations: 59.7 kB / 0.6074 GB, free: 13.72 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002506/0.5091, allocations: 0.9512 MB / 0.6083 GB, free: 12.77 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004732/0.5096, allocations: 180.6 kB / 0.6085 GB, free: 12.59 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005572/0.5102, allocations: 486.5 kB / 0.6089 GB, free: 12.12 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.685e-05/0.5102, allocations: 13.08 kB / 0.6089 GB, free: 12.1 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002954/0.5105, allocations: 139.5 kB / 0.6091 GB, free: 11.96 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002437/0.5108, allocations: 123.5 kB / 0.6092 GB, free: 11.84 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.22e-05/0.5108, allocations: 4 kB / 0.6092 GB, free: 11.84 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002999/0.5138, allocations: 1.762 MB / 0.6109 GB, free: 10.07 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001055/0.5139, allocations: 71.83 kB / 0.611 GB, free: 10 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000156/0.5141, allocations: 129.2 kB / 0.6111 GB, free: 9.871 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00116/0.5153, allocations: 0.7524 MB / 0.6118 GB, free: 9.117 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.411e-06/0.5153, allocations: 4 kB / 0.6118 GB, free: 9.113 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.236e-06/0.5153, allocations: 0 / 0.6118 GB, free: 9.113 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.021e-05/0.5153, allocations: 3.938 kB / 0.6118 GB, free: 9.109 MB / 446.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.00103/0.5164, allocations: 0.4961 MB / 0.6123 GB, free: 8.566 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/0.5164, allocations: 8.031 kB / 0.6123 GB, free: 8.559 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00397/0.5204, allocations: 383 kB / 0.6127 GB, free: 8.188 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003645/0.5208, allocations: 260.3 kB / 0.6129 GB, free: 7.895 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.11e-05/0.5208, allocations: 20.31 kB / 0.613 GB, free: 7.875 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.293e-05/0.5209, allocations: 19.91 kB / 0.613 GB, free: 7.855 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009955/0.5219, allocations: 489.3 kB / 0.6134 GB, free: 7.367 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.5219, allocations: 3.984 kB / 0.6135 GB, free: 7.363 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.19e-05/0.522, allocations: 8 kB / 0.6135 GB, free: 7.355 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.846e-06/0.522, allocations: 4 kB / 0.6135 GB, free: 7.352 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001066/0.5231, allocations: 0.5074 MB / 0.614 GB, free: 6.844 MB / 446.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.002336/0.5254, allocations: 0.9857 MB / 0.6149 GB, free: 5.805 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000601/0.526, allocations: 297.2 kB / 0.6152 GB, free: 5.496 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002707/0.5263, allocations: 153.7 kB / 0.6154 GB, free: 5.34 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001837/0.5282, allocations: 0.9801 MB / 0.6163 GB, free: 4.195 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.469e-05/0.5282, allocations: 38.56 kB / 0.6163 GB, free: 4.148 MB / 446.1 MB Notification: Performance of pre-optimization done (n=29): time 2.705e-06/0.5282, allocations: 0 / 0.6163 GB, free: 4.148 MB / 446.1 MB Notification: Performance of matching and sorting (n=29): time 0.001015/0.5292, allocations: 406.3 kB / 0.6167 GB, free: 3.746 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.321e-05/0.5293, allocations: 81.11 kB / 0.6168 GB, free: 3.648 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.637e-05/0.5294, allocations: 109.8 kB / 0.6169 GB, free: 3.531 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.259e-05/0.5295, allocations: 29.7 kB / 0.6169 GB, free: 3.496 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.061e-05/0.5295, allocations: 112.4 kB / 0.6171 GB, free: 3.379 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.106e-05/0.5296, allocations: 110.4 kB / 0.6172 GB, free: 3.27 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.66e-05/0.5297, allocations: 37.7 kB / 0.6172 GB, free: 3.227 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001296/0.5299, allocations: 322.8 kB / 0.6175 GB, free: 2.902 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002409/0.5301, allocations: 116.6 kB / 0.6176 GB, free: 2.789 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002974/0.5304, allocations: 203.5 kB / 0.6178 GB, free: 2.555 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006038/0.531, allocations: 346.7 kB / 0.6181 GB, free: 2.184 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-06/0.531, allocations: 3.938 kB / 0.6181 GB, free: 2.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000761/0.5318, allocations: 373.3 kB / 0.6185 GB, free: 1.809 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.5318, allocations: 5.875 kB / 0.6185 GB, free: 1.805 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.5318, allocations: 4 kB / 0.6185 GB, free: 1.801 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.5319, allocations: 4 kB / 0.6185 GB, free: 1.797 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004313/0.5323, allocations: 79.83 kB / 0.6186 GB, free: 1.719 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.175e-05/0.5323, allocations: 4 kB / 0.6186 GB, free: 1.715 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003371/0.5327, allocations: 39.89 kB / 0.6186 GB, free: 1.676 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.08e-05/0.5327, allocations: 20 kB / 0.6186 GB, free: 1.656 MB / 446.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.0001797/0.5329, allocations: 141.7 kB / 0.6188 GB, free: 1.508 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000107/0.533, allocations: 19.75 kB / 0.6188 GB, free: 1.488 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008269/0.5339, allocations: 367.1 kB / 0.6192 GB, free: 1.129 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-06/0.5339, allocations: 11.94 kB / 0.6192 GB, free: 1.117 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.323e-06/0.5339, allocations: 3.312 kB / 0.6192 GB, free: 1.117 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.456e-06/0.5339, allocations: 11.97 kB / 0.6192 GB, free: 1.105 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006144/0.5345, allocations: 356.8 kB / 0.6195 GB, free: 0.7031 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.5345, allocations: 4 kB / 0.6195 GB, free: 0.6992 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004279/0.535, allocations: 55.95 kB / 0.6196 GB, free: 0.6445 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.213e-06/0.535, allocations: 4 kB / 0.6196 GB, free: 0.6406 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.078e-05/0.535, allocations: 8 kB / 0.6196 GB, free: 0.6328 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/0.535, allocations: 0 / 0.6196 GB, free: 0.6328 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.535, allocations: 3.938 kB / 0.6196 GB, free: 0.6289 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009046/0.5359, allocations: 0.5569 MB / 0.6201 GB, free: 60 kB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.903e-05/0.536, allocations: 92.86 kB / 0.6202 GB, free: 15.95 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.32e-05/0.5361, allocations: 12.05 kB / 0.6202 GB, free: 15.94 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004186/0.5365, allocations: 23.92 kB / 0.6203 GB, free: 15.91 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.909e-05/0.5366, allocations: 15.98 kB / 0.6203 GB, free: 15.9 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.22e-05/0.5366, allocations: 19.98 kB / 0.6203 GB, free: 15.88 MB / 462.1 MB Notification: Performance of sorting global known variables: time 5.289e-05/0.5367, allocations: 91.27 kB / 0.6204 GB, free: 15.79 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5367, allocations: 0 / 0.6204 GB, free: 15.79 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0009401/0.5376, allocations: 231.8 kB / 0.6206 GB, free: 15.56 MB / 462.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.001316/0.539, allocations: 443.7 kB / 0.621 GB, free: 15.12 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0006146/0.5396, allocations: 291.6 kB / 0.6213 GB, free: 14.83 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.5396, allocations: 0 / 0.6213 GB, free: 14.83 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002733/0.5399, allocations: 151.9 kB / 0.6214 GB, free: 14.68 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006715/0.5405, allocations: 77.97 kB / 0.6215 GB, free: 14.61 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001389/0.5419, allocations: 0.9441 MB / 0.6224 GB, free: 13.62 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003369/0.5423, allocations: 0.7365 MB / 0.6232 GB, free: 12.86 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001787/0.5425, allocations: 39.42 kB / 0.6232 GB, free: 12.82 MB / 462.1 MB Notification: Performance of SimCode: time 4.21e-07/0.5425, allocations: 0 / 0.6232 GB, free: 12.82 MB / 462.1 MB Notification: Performance of Templates: time 0.01041/0.5529, allocations: 6.479 MB / 0.6295 GB, free: 6.344 MB / 462.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/MixIdealGasAir/MixIdealGasAir.csv","/var/lib/jenkins1/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