Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001226/0.001226, allocations: 97.28 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001591/0.001592, allocations: 194.1 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.507/1.507, allocations: 227.7 MB / 246.4 MB, free: 11.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2273/0.2273, allocations: 46.19 MB / 344.8 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003113/0.0003115, allocations: 4 kB / 418.8 MB, free: 20.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.157/0.1573, allocations: 63.56 MB / 482.4 MB, free: 4.559 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.4966/0.654, allocations: 138.8 MB / 0.6067 GB, free: 10.34 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005714/0.6598, allocations: 3.025 MB / 0.6096 GB, free: 7.332 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001518/0.66, allocations: 0 / 0.6096 GB, free: 7.332 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003582/0.6603, allocations: 47.73 kB / 0.6097 GB, free: 7.285 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003109/0.6635, allocations: 0.7309 MB / 0.6104 GB, free: 6.551 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007745/0.6643, allocations: 163.1 kB / 0.6105 GB, free: 6.395 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007246/0.665, allocations: 430.5 kB / 0.611 GB, free: 5.973 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.728e-05/0.6651, allocations: 9.125 kB / 0.611 GB, free: 5.965 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000423/0.6655, allocations: 147.5 kB / 0.6111 GB, free: 5.82 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003293/0.6659, allocations: 123.6 kB / 0.6112 GB, free: 5.699 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.037e-05/0.6659, allocations: 12 kB / 0.6112 GB, free: 5.688 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003321/0.6693, allocations: 1.076 MB / 0.6123 GB, free: 4.609 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001749/0.6695, allocations: 79.75 kB / 0.6124 GB, free: 4.531 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001036/0.6696, allocations: 61.64 kB / 0.6124 GB, free: 4.465 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001414/0.671, allocations: 0.6178 MB / 0.613 GB, free: 3.848 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.671, allocations: 0 / 0.613 GB, free: 3.848 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.671, allocations: 4 kB / 0.613 GB, free: 3.844 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.252e-06/0.671, allocations: 0 / 0.613 GB, free: 3.844 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: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.00117/0.6722, allocations: 0.5091 MB / 0.6135 GB, free: 3.289 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/0.6723, allocations: 8.031 kB / 0.6135 GB, free: 3.281 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005359/0.6776, allocations: 383.8 kB / 0.6139 GB, free: 2.906 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006344/0.6783, allocations: 266.8 kB / 0.6142 GB, free: 2.605 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.296e-05/0.6784, allocations: 12.38 kB / 0.6142 GB, free: 2.594 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001514/0.6785, allocations: 23.91 kB / 0.6142 GB, free: 2.57 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001588/0.6801, allocations: 500 kB / 0.6147 GB, free: 2.07 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.739e-05/0.6802, allocations: 3.984 kB / 0.6147 GB, free: 2.066 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.373e-05/0.6803, allocations: 4 kB / 0.6147 GB, free: 2.062 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-05/0.6803, allocations: 15.94 kB / 0.6147 GB, free: 2.047 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001696/0.682, allocations: 0.5139 MB / 0.6152 GB, free: 1.535 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.003477/0.6855, allocations: 1.005 MB / 0.6162 GB, free: 488 kB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009054/0.6864, allocations: 301 kB / 0.6165 GB, free: 168 kB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004533/0.6869, allocations: 154 kB / 0.6166 GB, free: 8 kB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002518/0.6894, allocations: 0.9801 MB / 0.6176 GB, free: 14.86 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.959e-05/0.6895, allocations: 50.41 kB / 0.6176 GB, free: 14.8 MB / 462.1 MB Notification: Performance of pre-optimization done (n=31): time 3.887e-06/0.6895, allocations: 0 / 0.6176 GB, free: 14.8 MB / 462.1 MB Notification: Performance of matching and sorting (n=31): time 0.001532/0.6911, allocations: 420.2 kB / 0.618 GB, free: 14.39 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.529e-05/0.6911, allocations: 81.11 kB / 0.6181 GB, free: 14.29 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000139/0.6913, allocations: 109.8 kB / 0.6182 GB, free: 14.17 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.902e-05/0.6913, allocations: 29.7 kB / 0.6182 GB, free: 14.14 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.929e-05/0.6914, allocations: 116.4 kB / 0.6183 GB, free: 14.02 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001444/0.6916, allocations: 122.2 kB / 0.6184 GB, free: 13.89 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.969e-05/0.6916, allocations: 4 kB / 0.6185 GB, free: 13.89 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001606/0.6918, allocations: 330.8 kB / 0.6188 GB, free: 13.56 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003626/0.6922, allocations: 116.3 kB / 0.6189 GB, free: 13.45 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004502/0.6926, allocations: 206.9 kB / 0.6191 GB, free: 13.21 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004562/0.6931, allocations: 147 kB / 0.6192 GB, free: 13.07 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/0.6931, allocations: 0 / 0.6192 GB, free: 13.07 MB / 462.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.00122/0.6944, allocations: 387.7 kB / 0.6196 GB, free: 12.68 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.78e-05/0.6944, allocations: 12 kB / 0.6196 GB, free: 12.67 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.58e-05/0.6944, allocations: 4 kB / 0.6196 GB, free: 12.67 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.724e-05/0.6945, allocations: 4 kB / 0.6196 GB, free: 12.66 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006666/0.6951, allocations: 75.89 kB / 0.6197 GB, free: 12.59 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.668e-05/0.6952, allocations: 4 kB / 0.6197 GB, free: 12.59 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004971/0.6957, allocations: 35.67 kB / 0.6197 GB, free: 12.55 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.614e-05/0.6958, allocations: 20 kB / 0.6197 GB, free: 12.53 MB / 462.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 (40): * Single equations (assignments): 39 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002188/0.696, allocations: 149.7 kB / 0.6199 GB, free: 12.38 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001755/0.6962, allocations: 11.91 kB / 0.6199 GB, free: 12.36 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001118/0.6973, allocations: 383.2 kB / 0.6203 GB, free: 11.98 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.712e-05/0.6973, allocations: 7.984 kB / 0.6203 GB, free: 11.98 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.116e-06/0.6974, allocations: 0 / 0.6203 GB, free: 11.98 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.221e-06/0.6974, allocations: 0 / 0.6203 GB, free: 11.98 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006546/0.698, allocations: 385 kB / 0.6206 GB, free: 11.55 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.6981, allocations: 0 / 0.6206 GB, free: 11.55 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003912/0.6984, allocations: 55.97 kB / 0.6207 GB, free: 11.49 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.915e-06/0.6985, allocations: 0 / 0.6207 GB, free: 11.49 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.762e-05/0.6985, allocations: 17.67 kB / 0.6207 GB, free: 11.48 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.578e-06/0.6985, allocations: 4 kB / 0.6207 GB, free: 11.47 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.644e-06/0.6985, allocations: 0 / 0.6207 GB, free: 11.47 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009217/0.6995, allocations: 0.5774 MB / 0.6213 GB, free: 10.88 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.625e-05/0.6995, allocations: 92.95 kB / 0.6214 GB, free: 10.77 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.668e-05/0.6996, allocations: 8.062 kB / 0.6214 GB, free: 10.76 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00042/0.7, allocations: 19.89 kB / 0.6214 GB, free: 10.74 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.336e-05/0.7001, allocations: 19.97 kB / 0.6214 GB, free: 10.72 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.855e-05/0.7001, allocations: 19.98 kB / 0.6214 GB, free: 10.7 MB / 462.1 MB Notification: Performance of sorting global known variables: time 6.019e-05/0.7002, allocations: 99.25 kB / 0.6215 GB, free: 10.61 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.044e-06/0.7002, allocations: 0 / 0.6215 GB, free: 10.61 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0009834/0.7012, allocations: 227.8 kB / 0.6217 GB, free: 10.38 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 (30): * Single equations (assignments): 29 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001335/0.7025, allocations: 375 kB / 0.6221 GB, free: 10.01 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0007071/0.7033, allocations: 311.8 kB / 0.6224 GB, free: 9.703 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.7033, allocations: 0 / 0.6224 GB, free: 9.703 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003037/0.7036, allocations: 158 kB / 0.6225 GB, free: 9.551 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007051/0.7043, allocations: 94.92 kB / 0.6226 GB, free: 9.465 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001592/0.7059, allocations: 0.9044 MB / 0.6235 GB, free: 8.527 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003888/0.7063, allocations: 0.7404 MB / 0.6242 GB, free: 7.758 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005647/0.7069, allocations: 89.77 kB / 0.6243 GB, free: 7.672 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001456/0.707, allocations: 35.36 kB / 0.6244 GB, free: 7.641 MB / 462.1 MB Notification: Performance of SimCode: time 7.62e-07/0.707, allocations: 0 / 0.6244 GB, free: 7.641 MB / 462.1 MB Notification: Performance of Templates: time 0.01826/0.7253, allocations: 8.252 MB / 0.6324 GB, free: 15.44 MB / 478.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches