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.001051/0.001051, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001644/0.001644, allocations: 165 kB / 24.56 MB, free: 16 kB / 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 0.973/0.973, allocations: 177.1 MB / 205 MB, free: 5.289 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.2654/0.2654, allocations: 34.26 MB / 295.7 MB, free: 0.7305 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.964e-06/1.964e-06, allocations: 0 / 378 MB, free: 2.703 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.482e-05/3.679e-05, allocations: 6.312 kB / 378 MB, free: 2.695 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.3186/0.3186, allocations: 145.8 MB / 0.5116 GB, free: 18.15 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002637/0.3212, allocations: 3.302 MB / 0.5148 GB, free: 15.99 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001081/0.3214, allocations: 3.938 kB / 0.5148 GB, free: 15.99 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003619/0.3217, allocations: 58.66 kB / 0.5148 GB, free: 15.96 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002151/0.3239, allocations: 1.121 MB / 0.5159 GB, free: 15.42 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003824/0.3242, allocations: 198.7 kB / 0.5161 GB, free: 15.32 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003347/0.3246, allocations: 378.7 kB / 0.5165 GB, free: 15.15 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.45e-05/0.3246, allocations: 11.66 kB / 0.5165 GB, free: 15.15 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002628/0.3249, allocations: 208.3 kB / 0.5167 GB, free: 15.07 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001552/0.325, allocations: 113.5 kB / 0.5168 GB, free: 15.04 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.783e-05/0.3251, allocations: 12.31 kB / 0.5168 GB, free: 15.04 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00183/0.3269, allocations: 1.347 MB / 0.5181 GB, free: 14.59 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.709e-05/0.327, allocations: 89.67 kB / 0.5182 GB, free: 14.55 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.387e-05/0.3271, allocations: 86.27 kB / 0.5183 GB, free: 14.52 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001232/0.3283, allocations: 1.033 MB / 0.5193 GB, free: 14.23 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.3283, allocations: 0 / 0.5193 GB, free: 14.23 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.933e-06/0.3283, allocations: 2.781 kB / 0.5193 GB, free: 14.23 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.3283, allocations: 0 / 0.5193 GB, free: 14.23 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.0006946/0.329, allocations: 0.5893 MB / 0.5199 GB, free: 13.73 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.394e-05/0.329, allocations: 8.75 kB / 0.5199 GB, free: 13.73 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008751/0.3299, allocations: 273.2 kB / 0.5201 GB, free: 13.66 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002361/0.3302, allocations: 189.6 kB / 0.5203 GB, free: 13.51 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.442e-05/0.3302, allocations: 16.91 kB / 0.5203 GB, free: 13.5 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.956e-05/0.3302, allocations: 23.16 kB / 0.5204 GB, free: 13.49 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003451/0.3306, allocations: 483 kB / 0.5208 GB, free: 13.14 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.3306, allocations: 0 / 0.5208 GB, free: 13.14 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.927e-05/0.3306, allocations: 10.94 kB / 0.5208 GB, free: 13.14 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.375e-05/0.3306, allocations: 8.969 kB / 0.5208 GB, free: 13.14 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002627/0.3309, allocations: 220.5 kB / 0.5211 GB, free: 13.11 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.0009656/0.3319, allocations: 0.7669 MB / 0.5218 GB, free: 12.57 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002323/0.3321, allocations: 202.6 kB / 0.522 GB, free: 12.47 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.005e-05/0.3322, allocations: 94.14 kB / 0.5221 GB, free: 12.43 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007452/0.3329, allocations: 306.9 kB / 0.5224 GB, free: 12.39 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.148e-05/0.3329, allocations: 36.33 kB / 0.5224 GB, free: 12.35 MB / 410.7 MB Notification: Performance of pre-optimization done (n=31): time 1.703e-06/0.3329, allocations: 3.938 kB / 0.5224 GB, free: 12.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=31): time 0.0006817/0.3336, allocations: 346.8 kB / 0.5228 GB, free: 12.23 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.144e-05/0.3337, allocations: 84.11 kB / 0.5228 GB, free: 12.13 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.046e-05/0.3337, allocations: 178.3 kB / 0.523 GB, free: 11.96 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.3337, allocations: 32.61 kB / 0.523 GB, free: 11.92 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.039e-05/0.3338, allocations: 159.3 kB / 0.5232 GB, free: 11.77 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.112e-05/0.3338, allocations: 118.3 kB / 0.5233 GB, free: 11.68 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.868e-05/0.3339, allocations: 70.17 kB / 0.5234 GB, free: 11.63 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.532e-05/0.3339, allocations: 0.5023 MB / 0.5239 GB, free: 11.12 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.129e-05/0.334, allocations: 61.17 kB / 0.5239 GB, free: 11.12 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001067/0.3341, allocations: 183.4 kB / 0.5241 GB, free: 10.96 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002112/0.3343, allocations: 281 kB / 0.5244 GB, free: 10.76 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.3343, allocations: 0 / 0.5244 GB, free: 10.76 MB / 410.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0003278/0.3347, allocations: 300.5 kB / 0.5246 GB, free: 10.64 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.3347, allocations: 11.88 kB / 0.5247 GB, free: 10.64 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.3347, allocations: 2.719 kB / 0.5247 GB, free: 10.64 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.789e-05/0.3347, allocations: 10.06 kB / 0.5247 GB, free: 10.64 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001796/0.3349, allocations: 72.12 kB / 0.5247 GB, free: 10.63 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.3349, allocations: 3.031 kB / 0.5247 GB, free: 10.63 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.945e-05/0.335, allocations: 34.41 kB / 0.5248 GB, free: 10.61 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.872e-05/0.335, allocations: 14.47 kB / 0.5248 GB, free: 10.61 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 7.353e-05/0.3351, allocations: 176.9 kB / 0.525 GB, free: 10.43 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.206e-05/0.3352, allocations: 36.84 kB / 0.525 GB, free: 10.41 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003373/0.3355, allocations: 279.6 kB / 0.5253 GB, free: 10.31 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.627e-06/0.3355, allocations: 3.062 kB / 0.5253 GB, free: 10.31 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.3355, allocations: 0 / 0.5253 GB, free: 10.31 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.3355, allocations: 2.344 kB / 0.5253 GB, free: 10.31 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002937/0.3358, allocations: 245.4 kB / 0.5255 GB, free: 10.11 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.3358, allocations: 2.906 kB / 0.5255 GB, free: 10.11 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001589/0.336, allocations: 57.38 kB / 0.5256 GB, free: 10.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.336, allocations: 2.688 kB / 0.5256 GB, free: 10.1 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.026e-05/0.336, allocations: 13.23 kB / 0.5256 GB, free: 10.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.336, allocations: 3.562 kB / 0.5256 GB, free: 10.09 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.336, allocations: 0 / 0.5256 GB, free: 10.09 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003898/0.3364, allocations: 0.5629 MB / 0.5261 GB, free: 9.723 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.506e-05/0.3364, allocations: 17.12 kB / 0.5261 GB, free: 9.711 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.504e-05/0.3364, allocations: 15.16 kB / 0.5262 GB, free: 9.699 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001478/0.3366, allocations: 16.38 kB / 0.5262 GB, free: 9.691 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.027e-05/0.3366, allocations: 23.88 kB / 0.5262 GB, free: 9.688 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.307e-05/0.3366, allocations: 18 kB / 0.5262 GB, free: 9.684 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.594e-05/0.3367, allocations: 129.7 kB / 0.5263 GB, free: 9.566 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3367, allocations: 0 / 0.5263 GB, free: 9.566 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006594/0.3373, allocations: 240.4 kB / 0.5266 GB, free: 9.512 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.0007212/0.338, allocations: 469.5 kB / 0.527 GB, free: 9.328 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002982/0.3383, allocations: 221.8 kB / 0.5272 GB, free: 9.277 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.3383, allocations: 0 / 0.5272 GB, free: 9.277 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.927e-05/0.3384, allocations: 119.3 kB / 0.5273 GB, free: 9.246 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004096/0.3389, allocations: 99.94 kB / 0.5274 GB, free: 9.223 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009622/0.3398, allocations: 0.5887 MB / 0.528 GB, free: 8.793 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.663e-05/0.3399, allocations: 86.22 kB / 0.5281 GB, free: 8.719 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001895/0.3401, allocations: 73.5 kB / 0.5282 GB, free: 8.691 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.648e-05/0.3401, allocations: 35.22 kB / 0.5282 GB, free: 8.68 MB / 410.7 MB Notification: Performance of SimCode: time 7.22e-07/0.3401, allocations: 0 / 0.5282 GB, free: 8.68 MB / 410.7 MB Notification: Performance of Templates: time 0.009318/0.3494, allocations: 8.784 MB / 0.5368 GB, free: 5.875 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.7806257950142026]