Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.0009079/0.0009079, allocations: 71.77 kB / 21.69 MB, free: 2.855 MB / 18.57 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.001108/0.001108, allocations: 167.3 kB / 24.99 MB, free: 8.746 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.055/1.055, allocations: 177.1 MB / 205.3 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2646/0.2646, allocations: 34.26 MB / 296 MB, free: 0.7617 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.[0-9,]+.|medium2.p",fileNamePrefix="ModelicaTest_4.1.0_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.[0-9,]+.|medium2.p",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MixIdealGasAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.273e-06/1.273e-06, allocations: 0 / 378 MB, free: 3.004 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.693e-05/1.82e-05, allocations: 6.312 kB / 378 MB, free: 2.996 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.3692/0.3693, allocations: 145.5 MB / 0.5113 GB, free: 18.29 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003231/0.3725, allocations: 3.302 MB / 0.5145 GB, free: 16.13 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001629/0.3727, allocations: 0 / 0.5145 GB, free: 16.13 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000418/0.3731, allocations: 61.88 kB / 0.5145 GB, free: 16.1 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002808/0.3759, allocations: 1.116 MB / 0.5156 GB, free: 15.56 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004975/0.3764, allocations: 205.6 kB / 0.5158 GB, free: 15.45 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004287/0.3768, allocations: 372.1 kB / 0.5162 GB, free: 15.29 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.939e-05/0.3769, allocations: 15.69 kB / 0.5162 GB, free: 15.29 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000321/0.3772, allocations: 210 kB / 0.5164 GB, free: 15.21 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001822/0.3774, allocations: 109.5 kB / 0.5165 GB, free: 15.18 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.774e-05/0.3774, allocations: 11.75 kB / 0.5165 GB, free: 15.18 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002442/0.3798, allocations: 1.35 MB / 0.5178 GB, free: 14.72 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000118/0.3799, allocations: 88.33 kB / 0.5179 GB, free: 14.68 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000107/0.3801, allocations: 88.55 kB / 0.518 GB, free: 14.66 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001826/0.3819, allocations: 1.03 MB / 0.519 GB, free: 14.36 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.3819, allocations: 0 / 0.519 GB, free: 14.36 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.3819, allocations: 2.656 kB / 0.519 GB, free: 14.36 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.616e-06/0.3819, allocations: 2.062 kB / 0.519 GB, free: 14.36 MB / 410.7 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.0009853/0.3829, allocations: 0.5831 MB / 0.5196 GB, free: 13.88 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.792e-05/0.3829, allocations: 10.88 kB / 0.5196 GB, free: 13.88 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001107/0.384, allocations: 274 kB / 0.5199 GB, free: 13.8 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002838/0.3843, allocations: 192.8 kB / 0.52 GB, free: 13.64 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.774e-05/0.3844, allocations: 15.62 kB / 0.5201 GB, free: 13.64 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.262e-05/0.3844, allocations: 23.03 kB / 0.5201 GB, free: 13.63 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004162/0.3848, allocations: 480.5 kB / 0.5205 GB, free: 13.29 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.3848, allocations: 0 / 0.5205 GB, free: 13.29 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.429e-05/0.3849, allocations: 11.03 kB / 0.5205 GB, free: 13.28 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.405e-05/0.3849, allocations: 5.5 kB / 0.5205 GB, free: 13.28 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003004/0.3852, allocations: 233.9 kB / 0.5208 GB, free: 13.24 MB / 410.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.001113/0.3863, allocations: 0.7594 MB / 0.5215 GB, free: 12.71 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002527/0.3866, allocations: 200.9 kB / 0.5217 GB, free: 12.61 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.839e-05/0.3867, allocations: 95.12 kB / 0.5218 GB, free: 12.57 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007912/0.3875, allocations: 306.6 kB / 0.5221 GB, free: 12.53 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.694e-05/0.3875, allocations: 40.14 kB / 0.5221 GB, free: 12.48 MB / 410.7 MB Notification: Performance of pre-optimization done (n=31): time 1.654e-06/0.3875, allocations: 3 kB / 0.5221 GB, free: 12.48 MB / 410.7 MB Notification: Performance of matching and sorting (n=31): time 0.0007803/0.3883, allocations: 345.7 kB / 0.5225 GB, free: 12.37 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.862e-05/0.3883, allocations: 82.45 kB / 0.5225 GB, free: 12.28 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.405e-05/0.3884, allocations: 176.1 kB / 0.5227 GB, free: 12.1 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.123e-05/0.3884, allocations: 32.05 kB / 0.5227 GB, free: 12.07 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.525e-05/0.3884, allocations: 155.2 kB / 0.5229 GB, free: 11.92 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.371e-05/0.3885, allocations: 120.1 kB / 0.523 GB, free: 11.82 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.096e-05/0.3885, allocations: 76.28 kB / 0.5231 GB, free: 11.77 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.23e-05/0.3886, allocations: 0.4986 MB / 0.5236 GB, free: 11.27 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001274/0.3887, allocations: 60.95 kB / 0.5236 GB, free: 11.26 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001529/0.3889, allocations: 185.4 kB / 0.5238 GB, free: 11.11 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002348/0.3891, allocations: 273.3 kB / 0.5241 GB, free: 10.91 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.3891, allocations: 0 / 0.5241 GB, free: 10.91 MB / 410.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0003639/0.3895, allocations: 300.5 kB / 0.5243 GB, free: 10.79 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.041e-05/0.3895, allocations: 16.62 kB / 0.5244 GB, free: 10.79 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.136e-06/0.3895, allocations: 3 kB / 0.5244 GB, free: 10.79 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.3895, allocations: 6.531 kB / 0.5244 GB, free: 10.78 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001872/0.3897, allocations: 68.11 kB / 0.5244 GB, free: 10.78 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.206e-06/0.3897, allocations: 6.344 kB / 0.5244 GB, free: 10.78 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001118/0.3898, allocations: 37.34 kB / 0.5245 GB, free: 10.75 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.861e-05/0.3899, allocations: 14.62 kB / 0.5245 GB, free: 10.75 MB / 410.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 (40): * Single equations (assignments): 39 * Array equations: 1 * 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 8.114e-05/0.39, allocations: 176.8 kB / 0.5247 GB, free: 10.58 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.563e-05/0.39, allocations: 41.17 kB / 0.5247 GB, free: 10.55 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004152/0.3905, allocations: 281.1 kB / 0.525 GB, free: 10.45 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-05/0.3905, allocations: 5.531 kB / 0.525 GB, free: 10.45 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.3905, allocations: 0 / 0.525 GB, free: 10.45 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.596e-06/0.3905, allocations: 2.531 kB / 0.525 GB, free: 10.45 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003504/0.3908, allocations: 242.3 kB / 0.5252 GB, free: 10.25 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.3908, allocations: 0 / 0.5252 GB, free: 10.25 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001735/0.391, allocations: 60 kB / 0.5253 GB, free: 10.25 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.391, allocations: 0 / 0.5253 GB, free: 10.25 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.313e-05/0.391, allocations: 15.95 kB / 0.5253 GB, free: 10.24 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.391, allocations: 0 / 0.5253 GB, free: 10.24 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.391, allocations: 2.656 kB / 0.5253 GB, free: 10.24 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004745/0.3915, allocations: 0.5625 MB / 0.5258 GB, free: 9.867 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.848e-05/0.3915, allocations: 18.16 kB / 0.5258 GB, free: 9.855 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.028e-05/0.3916, allocations: 10.91 kB / 0.5259 GB, free: 9.848 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001527/0.3917, allocations: 15.98 kB / 0.5259 GB, free: 9.84 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.533e-05/0.3917, allocations: 28.56 kB / 0.5259 GB, free: 9.832 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.577e-05/0.3918, allocations: 17.3 kB / 0.5259 GB, free: 9.828 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.421e-05/0.3918, allocations: 130.2 kB / 0.526 GB, free: 9.711 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3918, allocations: 0 / 0.526 GB, free: 9.711 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008322/0.3926, allocations: 238.6 kB / 0.5263 GB, free: 9.656 MB / 410.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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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.0008002/0.3934, allocations: 473.5 kB / 0.5267 GB, free: 9.469 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003857/0.3938, allocations: 219 kB / 0.5269 GB, free: 9.418 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.3938, allocations: 0 / 0.5269 GB, free: 9.418 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001079/0.3939, allocations: 115.1 kB / 0.527 GB, free: 9.391 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004314/0.3944, allocations: 103.2 kB / 0.5271 GB, free: 9.363 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00115/0.3955, allocations: 0.5857 MB / 0.5277 GB, free: 8.938 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.469e-05/0.3956, allocations: 85.56 kB / 0.5278 GB, free: 8.863 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002177/0.3958, allocations: 75.17 kB / 0.5279 GB, free: 8.832 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.73e-05/0.3959, allocations: 34.75 kB / 0.5279 GB, free: 8.82 MB / 410.7 MB Notification: Performance of SimCode: time 7.01e-07/0.3959, allocations: 0 / 0.5279 GB, free: 8.82 MB / 410.7 MB Notification: Performance of Templates: time 0.0112/0.4071, allocations: 8.79 MB / 0.5365 GB, free: 6.094 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MixIdealGasAir -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/MixIdealGasAir/MixIdealGasAir.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.8432638549711555]