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.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.00137/0.00137, allocations: 83.67 kB / 20.5 MB, free: 1.387 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.001597/0.001597, allocations: 160.5 kB / 23.74 MB, free: 4.586 MB / 14.72 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.434/1.434, allocations: 177.2 MB / 204.1 MB, free: 9.293 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2021/0.2021, allocations: 32.8 MB / 293.3 MB, free: 164 kB / 270.1 MB " [Timeout remaining time 180] 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.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.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=5002,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") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002104/0.002104, allocations: 67.89 kB / 439.8 MB, free: 8.387 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2874/0.2895, allocations: 65.45 MB / 0.4934 GB, free: 5.137 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.1602/0.4497, allocations: 131.8 MB / 0.6221 GB, free: 0.832 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.003695/0.4534, allocations: 2.823 MB / 0.6249 GB, free: 14 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.899e-05/0.4535, allocations: 3.938 kB / 0.6249 GB, free: 14 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003663/0.4538, allocations: 51.66 kB / 0.6249 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.00247/0.4563, allocations: 1.064 MB / 0.626 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004976/0.4568, allocations: 195.4 kB / 0.6261 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0005/0.4573, allocations: 362.7 kB / 0.6265 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.54e-05/0.4574, allocations: 9.297 kB / 0.6265 GB, free: 12.33 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003266/0.4577, allocations: 211.4 kB / 0.6267 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001875/0.4579, allocations: 107.6 kB / 0.6268 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.783e-05/0.4579, allocations: 12 kB / 0.6268 GB, free: 12 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002349/0.4602, allocations: 1.309 MB / 0.6281 GB, free: 10.69 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001023/0.4604, allocations: 79.72 kB / 0.6282 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001203/0.4605, allocations: 95.7 kB / 0.6283 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001331/0.4618, allocations: 0.9585 MB / 0.6292 GB, free: 9.559 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.4618, allocations: 3.984 kB / 0.6292 GB, free: 9.555 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.603e-06/0.4618, allocations: 0 / 0.6292 GB, free: 9.555 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.284e-06/0.4618, allocations: 0 / 0.6292 GB, free: 9.555 MB / 0.5294 GB 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.0008376/0.4627, allocations: 493.1 kB / 0.6297 GB, free: 9.043 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.4627, allocations: 8.031 kB / 0.6297 GB, free: 9.035 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001431/0.4641, allocations: 216.5 kB / 0.6299 GB, free: 8.824 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003312/0.4645, allocations: 194 kB / 0.6301 GB, free: 8.609 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.893e-05/0.4645, allocations: 16.31 kB / 0.6301 GB, free: 8.594 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.122e-05/0.4645, allocations: 20 kB / 0.6301 GB, free: 8.574 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007438/0.4653, allocations: 0.5658 MB / 0.6307 GB, free: 7.949 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.4653, allocations: 0 / 0.6307 GB, free: 7.949 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.256e-05/0.4653, allocations: 8 kB / 0.6307 GB, free: 7.941 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.4653, allocations: 4 kB / 0.6307 GB, free: 7.938 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000595/0.4659, allocations: 403.8 kB / 0.631 GB, free: 7.543 MB / 0.5294 GB 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.001568/0.4675, allocations: 0.7029 MB / 0.6317 GB, free: 6.805 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004149/0.4679, allocations: 217 kB / 0.6319 GB, free: 6.574 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001808/0.4681, allocations: 116.9 kB / 0.6321 GB, free: 6.457 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001501/0.4696, allocations: 321.8 kB / 0.6324 GB, free: 6.141 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.665e-05/0.4696, allocations: 34.56 kB / 0.6324 GB, free: 6.098 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=29): time 1.503e-06/0.4696, allocations: 4 kB / 0.6324 GB, free: 6.094 MB / 0.5294 GB Notification: Performance of matching and sorting (n=29): time 0.001183/0.4708, allocations: 361.8 kB / 0.6327 GB, free: 5.734 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.235e-05/0.4709, allocations: 81.11 kB / 0.6328 GB, free: 5.637 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001113/0.471, allocations: 117.8 kB / 0.6329 GB, free: 5.512 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.579e-05/0.471, allocations: 29.7 kB / 0.633 GB, free: 5.477 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.537e-05/0.4711, allocations: 112.5 kB / 0.6331 GB, free: 5.363 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001006/0.4712, allocations: 115 kB / 0.6332 GB, free: 5.25 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001124/0.4713, allocations: 66.02 kB / 0.6332 GB, free: 5.18 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001535/0.4715, allocations: 322.8 kB / 0.6335 GB, free: 4.855 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002034/0.4717, allocations: 104.6 kB / 0.6336 GB, free: 4.754 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002675/0.4719, allocations: 183.5 kB / 0.6338 GB, free: 4.539 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004728/0.4724, allocations: 291.5 kB / 0.6341 GB, free: 4.219 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/0.4724, allocations: 3.938 kB / 0.6341 GB, free: 4.215 MB / 0.5294 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006491/0.4731, allocations: 353 kB / 0.6344 GB, free: 3.867 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.4731, allocations: 10.19 kB / 0.6344 GB, free: 3.859 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.4731, allocations: 4 kB / 0.6345 GB, free: 3.855 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.4731, allocations: 7.984 kB / 0.6345 GB, free: 3.848 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003334/0.4734, allocations: 71.84 kB / 0.6345 GB, free: 3.777 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.457e-06/0.4734, allocations: 7.984 kB / 0.6345 GB, free: 3.77 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002061/0.4736, allocations: 27.84 kB / 0.6346 GB, free: 3.742 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.978e-05/0.4737, allocations: 12 kB / 0.6346 GB, free: 3.73 MB / 0.5294 GB 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.0001486/0.4738, allocations: 149.8 kB / 0.6347 GB, free: 3.574 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.699e-05/0.4739, allocations: 15.95 kB / 0.6347 GB, free: 3.559 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006704/0.4746, allocations: 334 kB / 0.6351 GB, free: 3.23 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/0.4746, allocations: 4 kB / 0.6351 GB, free: 3.227 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.4746, allocations: 3.938 kB / 0.6351 GB, free: 3.223 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.4746, allocations: 0 / 0.6351 GB, free: 3.223 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005172/0.4751, allocations: 242.8 kB / 0.6353 GB, free: 2.953 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.4751, allocations: 0 / 0.6353 GB, free: 2.953 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003309/0.4755, allocations: 55.91 kB / 0.6353 GB, free: 2.898 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.4755, allocations: 0 / 0.6353 GB, free: 2.898 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.972e-05/0.4755, allocations: 11.94 kB / 0.6354 GB, free: 2.887 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.4755, allocations: 4 kB / 0.6354 GB, free: 2.883 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.4755, allocations: 3.984 kB / 0.6354 GB, free: 2.879 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007928/0.4763, allocations: 0.5068 MB / 0.6359 GB, free: 2.355 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 2.815e-05/0.4763, allocations: 27.89 kB / 0.6359 GB, free: 2.328 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.135e-05/0.4764, allocations: 4 kB / 0.6359 GB, free: 2.324 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000294/0.4767, allocations: 15.98 kB / 0.6359 GB, free: 2.309 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.53e-05/0.4767, allocations: 15.97 kB / 0.6359 GB, free: 2.293 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.092e-05/0.4767, allocations: 19.98 kB / 0.6359 GB, free: 2.273 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.539e-05/0.4768, allocations: 87.27 kB / 0.636 GB, free: 2.188 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7.1e-08/0.4768, allocations: 0 / 0.636 GB, free: 2.188 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007822/0.4776, allocations: 235.4 kB / 0.6362 GB, free: 1.957 MB / 0.5294 GB 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.001034/0.4786, allocations: 450.4 kB / 0.6367 GB, free: 1.508 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005083/0.4791, allocations: 236.2 kB / 0.6369 GB, free: 1.277 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.509e-06/0.4791, allocations: 4.125 kB / 0.6369 GB, free: 1.273 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002157/0.4793, allocations: 123.9 kB / 0.637 GB, free: 1.152 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006411/0.48, allocations: 91.97 kB / 0.6371 GB, free: 1.062 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001133/0.4811, allocations: 0.7195 MB / 0.6378 GB, free: 320 kB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001207/0.4812, allocations: 119.9 kB / 0.6379 GB, free: 184 kB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002897/0.4815, allocations: 69.84 kB / 0.638 GB, free: 112 kB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001029/0.4816, allocations: 32.48 kB / 0.638 GB, free: 80 kB / 0.5294 GB Notification: Performance of SimCode: time 4.81e-07/0.4816, allocations: 4 kB / 0.638 GB, free: 76 kB / 0.5294 GB Notification: Performance of Templates: time 0.2493/0.731, allocations: 8.319 MB / 0.6462 GB, free: 142.4 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_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: 5.447240132838488]