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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001747/0.001747, allocations: 71.92 kB / 19.93 MB, free: 1.77 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001876/0.001876, allocations: 174.5 kB / 23.22 MB, free: 4.887 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.565/1.565, allocations: 158.6 MB / 185 MB, free: 6.387 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2357/0.2357, allocations: 32.37 MB / 269.6 MB, free: 4.66 MB / 254.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestOnly.MixIdealGasAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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=5002,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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 5.881e-06/5.881e-06, allocations: 4 kB / 407.3 MB, free: 3.02 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.089e-05/4.677e-05, allocations: 2.281 kB / 407.3 MB, free: 3.016 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.6134/0.6134, allocations: 130.1 MB / 0.5248 GB, free: 9.844 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004421/0.6178, allocations: 2.724 MB / 0.5275 GB, free: 7.754 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001506/0.618, allocations: 3.938 kB / 0.5275 GB, free: 7.75 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004985/0.6185, allocations: 64.97 kB / 0.5275 GB, free: 7.699 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003566/0.622, allocations: 1.057 MB / 0.5286 GB, free: 6.918 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007919/0.6228, allocations: 192.9 kB / 0.5287 GB, free: 6.789 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006525/0.6235, allocations: 370.2 kB / 0.5291 GB, free: 6.582 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.078e-05/0.6236, allocations: 14.77 kB / 0.5291 GB, free: 6.574 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004375/0.624, allocations: 192.6 kB / 0.5293 GB, free: 6.469 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002848/0.6243, allocations: 110.4 kB / 0.5294 GB, free: 6.41 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.268e-05/0.6243, allocations: 14.19 kB / 0.5294 GB, free: 6.41 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003978/0.6283, allocations: 1.291 MB / 0.5307 GB, free: 5.688 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001646/0.6285, allocations: 78.5 kB / 0.5308 GB, free: 5.637 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001589/0.6286, allocations: 81.31 kB / 0.5308 GB, free: 5.602 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002423/0.6311, allocations: 1.046 MB / 0.5319 GB, free: 5.016 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.6311, allocations: 0 / 0.5319 GB, free: 5.016 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.6311, allocations: 6.844 kB / 0.5319 GB, free: 5.012 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.067e-06/0.6311, allocations: 0 / 0.5319 GB, free: 5.012 MB / 414.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.001217/0.6323, allocations: 487.8 kB / 0.5323 GB, free: 4.594 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.238e-05/0.6324, allocations: 12.66 kB / 0.5323 GB, free: 4.594 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001546/0.6339, allocations: 197.4 kB / 0.5325 GB, free: 4.508 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004256/0.6343, allocations: 195.4 kB / 0.5327 GB, free: 4.328 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.671e-05/0.6344, allocations: 12.84 kB / 0.5327 GB, free: 4.324 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.309e-05/0.6344, allocations: 21.62 kB / 0.5327 GB, free: 4.316 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009001/0.6353, allocations: 0.5712 MB / 0.5333 GB, free: 3.848 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.769e-05/0.6353, allocations: 3.938 kB / 0.5333 GB, free: 3.844 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.105e-05/0.6354, allocations: 10.12 kB / 0.5333 GB, free: 3.836 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.588e-06/0.6354, allocations: 5.938 kB / 0.5333 GB, free: 3.836 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006596/0.6361, allocations: 404.8 kB / 0.5337 GB, free: 3.672 MB / 414.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.001899/0.638, allocations: 0.7167 MB / 0.5344 GB, free: 3.133 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004872/0.6384, allocations: 215 kB / 0.5346 GB, free: 3.004 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002059/0.6387, allocations: 117.7 kB / 0.5347 GB, free: 2.938 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001652/0.6403, allocations: 301.4 kB / 0.535 GB, free: 2.832 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.601e-05/0.6404, allocations: 43.53 kB / 0.5351 GB, free: 2.785 MB / 414.1 MB Notification: Performance of pre-optimization done (n=29): time 2.285e-06/0.6404, allocations: 0 / 0.5351 GB, free: 2.785 MB / 414.1 MB Notification: Performance of matching and sorting (n=29): time 0.001393/0.6418, allocations: 368.5 kB / 0.5354 GB, free: 2.605 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.367e-05/0.6419, allocations: 86.23 kB / 0.5355 GB, free: 2.508 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001526/0.642, allocations: 113.8 kB / 0.5356 GB, free: 2.398 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.088e-05/0.6421, allocations: 32.2 kB / 0.5356 GB, free: 2.363 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001168/0.6422, allocations: 122.2 kB / 0.5357 GB, free: 2.246 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001353/0.6423, allocations: 112.5 kB / 0.5358 GB, free: 2.148 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001189/0.6424, allocations: 58.03 kB / 0.5359 GB, free: 2.109 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002531/0.6427, allocations: 325.7 kB / 0.5362 GB, free: 1.785 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002125/0.6429, allocations: 98.56 kB / 0.5363 GB, free: 1.738 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000308/0.6432, allocations: 187.7 kB / 0.5365 GB, free: 1.582 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005831/0.6438, allocations: 309.7 kB / 0.5368 GB, free: 1.363 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.624e-06/0.6438, allocations: 3.438 kB / 0.5368 GB, free: 1.363 MB / 414.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006961/0.6445, allocations: 334.8 kB / 0.5371 GB, free: 1.191 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.784e-05/0.6445, allocations: 8.188 kB / 0.5371 GB, free: 1.191 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.417e-05/0.6445, allocations: 2.844 kB / 0.5371 GB, free: 1.191 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.876e-05/0.6446, allocations: 9.188 kB / 0.5371 GB, free: 1.188 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003652/0.6449, allocations: 74.64 kB / 0.5372 GB, free: 1.168 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.754e-05/0.645, allocations: 10.19 kB / 0.5372 GB, free: 1.164 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002416/0.6452, allocations: 30.94 kB / 0.5372 GB, free: 1.141 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.282e-05/0.6453, allocations: 17.39 kB / 0.5373 GB, free: 1.137 MB / 414.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.0001993/0.6455, allocations: 136.9 kB / 0.5374 GB, free: 1.004 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001083/0.6456, allocations: 14.64 kB / 0.5374 GB, free: 1 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000759/0.6463, allocations: 333.9 kB / 0.5377 GB, free: 0.8008 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.443e-06/0.6463, allocations: 2.281 kB / 0.5377 GB, free: 0.8008 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.6463, allocations: 2.719 kB / 0.5377 GB, free: 0.8008 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.638e-06/0.6463, allocations: 3.984 kB / 0.5377 GB, free: 0.7969 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00056/0.6469, allocations: 240.1 kB / 0.538 GB, free: 0.5898 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.6469, allocations: 4 kB / 0.538 GB, free: 0.5859 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003602/0.6473, allocations: 58.91 kB / 0.538 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.242e-06/0.6473, allocations: 2.781 kB / 0.538 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.842e-05/0.6473, allocations: 10.33 kB / 0.538 GB, free: 0.5625 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.936e-06/0.6473, allocations: 8.906 kB / 0.538 GB, free: 0.5586 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.6473, allocations: 0 / 0.538 GB, free: 0.5586 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009274/0.6482, allocations: 0.5002 MB / 0.5385 GB, free: 216 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.574e-05/0.6483, allocations: 17.31 kB / 0.5385 GB, free: 204 kB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.437e-05/0.6483, allocations: 10.78 kB / 0.5385 GB, free: 196 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003322/0.6487, allocations: 17.14 kB / 0.5386 GB, free: 184 kB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.833e-05/0.6487, allocations: 24.16 kB / 0.5386 GB, free: 168 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.913e-05/0.6488, allocations: 14.23 kB / 0.5386 GB, free: 164 kB / 414.1 MB Notification: Performance of sorting global known variables: time 8.002e-05/0.6488, allocations: 91.36 kB / 0.5387 GB, free: 80 kB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6488, allocations: 0 / 0.5387 GB, free: 80 kB / 414.1 MB Notification: Performance of remove unused functions: time 0.001405/0.6503, allocations: 230 kB / 0.5389 GB, free: 20 kB / 414.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.001335/0.6516, allocations: 444.7 kB / 0.5393 GB, free: 15.77 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0006119/0.6522, allocations: 244 kB / 0.5396 GB, free: 15.66 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.462e-06/0.6522, allocations: 4 kB / 0.5396 GB, free: 15.66 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002336/0.6524, allocations: 123.8 kB / 0.5397 GB, free: 15.54 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007245/0.6532, allocations: 86.02 kB / 0.5398 GB, free: 15.46 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001391/0.6546, allocations: 0.586 MB / 0.5403 GB, free: 14.85 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001759/0.6547, allocations: 119.9 kB / 0.5405 GB, free: 14.71 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003193/0.6551, allocations: 73.83 kB / 0.5405 GB, free: 14.64 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001157/0.6552, allocations: 36.48 kB / 0.5406 GB, free: 14.61 MB / 430.1 MB Notification: Performance of SimCode: time 2.91e-07/0.6552, allocations: 0 / 0.5406 GB, free: 14.61 MB / 430.1 MB Notification: Performance of Templates: time 0.01734/0.6725, allocations: 8.279 MB / 0.5486 GB, free: 6.383 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/MixIdealGasAir/MixIdealGasAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.43781678006053]