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.001339/0.001339, allocations: 73.33 kB / 21.24 MB, free: 0.5547 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.001443/0.001443, allocations: 159.5 kB / 24.5 MB, free: 3.715 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.478/1.478, allocations: 177.2 MB / 204.9 MB, free: 8.988 MB / 190.1 MB " [Timeout remaining time 178] 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.21/0.21, allocations: 34.28 MB / 295.5 MB, free: 14.55 MB / 286.1 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.1.|medium2.X.2.|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.1.|medium2.X.2.|medium2.p",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MixIdealGasAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002109/0.002109, allocations: 72.02 kB / 443.1 MB, free: 6.68 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3176/0.3197, allocations: 66 MB / 0.4972 GB, free: 30.03 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.1668/0.4865, allocations: 131.8 MB / 0.6259 GB, free: 1.66 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.004244/0.4908, allocations: 2.928 MB / 0.6288 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000133/0.4909, allocations: 4 kB / 0.6288 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003732/0.4913, allocations: 51.67 kB / 0.6288 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003037/0.4943, allocations: 1.093 MB / 0.6299 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005615/0.4949, allocations: 206.6 kB / 0.6301 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0005549/0.4954, allocations: 366.7 kB / 0.6305 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.618e-05/0.4955, allocations: 13.28 kB / 0.6305 GB, free: 13 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003455/0.4958, allocations: 167.4 kB / 0.6306 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002669/0.4961, allocations: 111.6 kB / 0.6307 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.85e-05/0.4961, allocations: 12 kB / 0.6307 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002946/0.4991, allocations: 1.34 MB / 0.6321 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001307/0.4992, allocations: 87.7 kB / 0.6321 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001501/0.4994, allocations: 91.72 kB / 0.6322 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002335/0.5017, allocations: 0.978 MB / 0.6332 GB, free: 10.22 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.5017, allocations: 0 / 0.6332 GB, free: 10.22 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.663e-06/0.5017, allocations: 0 / 0.6332 GB, free: 10.22 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.428e-06/0.5017, allocations: 3.938 kB / 0.6332 GB, free: 10.22 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: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.00121/0.5029, allocations: 0.4996 MB / 0.6337 GB, free: 9.691 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/0.503, allocations: 8.031 kB / 0.6337 GB, free: 9.684 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001555/0.5045, allocations: 200.6 kB / 0.6339 GB, free: 9.488 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005173/0.505, allocations: 205.9 kB / 0.6341 GB, free: 9.262 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.333e-05/0.5051, allocations: 12.38 kB / 0.6341 GB, free: 9.25 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.977e-05/0.5051, allocations: 20 kB / 0.6341 GB, free: 9.23 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008116/0.5059, allocations: 0.5842 MB / 0.6347 GB, free: 8.586 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.506, allocations: 4 kB / 0.6347 GB, free: 8.582 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.238e-05/0.506, allocations: 8 kB / 0.6347 GB, free: 8.574 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.499e-05/0.506, allocations: 11.98 kB / 0.6347 GB, free: 8.562 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000724/0.5067, allocations: 416.4 kB / 0.6351 GB, free: 8.156 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.002008/0.5088, allocations: 0.7197 MB / 0.6358 GB, free: 7.402 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005509/0.5093, allocations: 225 kB / 0.636 GB, free: 7.164 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002268/0.5095, allocations: 125.6 kB / 0.6361 GB, free: 7.035 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001706/0.5112, allocations: 309.8 kB / 0.6364 GB, free: 6.73 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.904e-05/0.5113, allocations: 38.56 kB / 0.6365 GB, free: 6.684 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=31): time 2.265e-06/0.5113, allocations: 0 / 0.6365 GB, free: 6.684 MB / 0.5294 GB Notification: Performance of matching and sorting (n=31): time 0.001354/0.5126, allocations: 379.3 kB / 0.6368 GB, free: 6.309 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.334e-05/0.5127, allocations: 85.11 kB / 0.6369 GB, free: 6.207 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001231/0.5128, allocations: 125.7 kB / 0.637 GB, free: 6.074 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.991e-05/0.5129, allocations: 29.7 kB / 0.6371 GB, free: 6.039 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 9.393e-05/0.513, allocations: 112.6 kB / 0.6372 GB, free: 5.926 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001112/0.5131, allocations: 115 kB / 0.6373 GB, free: 5.812 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001228/0.5132, allocations: 62.02 kB / 0.6373 GB, free: 5.746 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002642/0.5135, allocations: 326.8 kB / 0.6376 GB, free: 5.418 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002273/0.5137, allocations: 108 kB / 0.6377 GB, free: 5.312 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002939/0.514, allocations: 186.9 kB / 0.6379 GB, free: 5.094 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005654/0.5146, allocations: 316 kB / 0.6382 GB, free: 4.754 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.193e-06/0.5146, allocations: 3.938 kB / 0.6382 GB, free: 4.75 MB / 0.5294 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008538/0.5154, allocations: 361.1 kB / 0.6386 GB, free: 4.391 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.292e-05/0.5154, allocations: 8 kB / 0.6386 GB, free: 4.383 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.386e-05/0.5155, allocations: 4 kB / 0.6386 GB, free: 4.379 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.059e-05/0.5155, allocations: 4 kB / 0.6386 GB, free: 4.375 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003632/0.5158, allocations: 67.84 kB / 0.6387 GB, free: 4.309 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.728e-05/0.5159, allocations: 12.3 kB / 0.6387 GB, free: 4.297 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002614/0.5161, allocations: 35.78 kB / 0.6387 GB, free: 4.262 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.493e-05/0.5162, allocations: 12 kB / 0.6387 GB, free: 4.25 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 (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 0.000184/0.5163, allocations: 150.3 kB / 0.6389 GB, free: 4.094 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001235/0.5165, allocations: 19.84 kB / 0.6389 GB, free: 4.074 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007236/0.5172, allocations: 338.1 kB / 0.6392 GB, free: 3.738 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.243e-05/0.5172, allocations: 4 kB / 0.6392 GB, free: 3.734 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.5172, allocations: 0 / 0.6392 GB, free: 3.734 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.406e-06/0.5172, allocations: 4 kB / 0.6392 GB, free: 3.73 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005935/0.5178, allocations: 243 kB / 0.6394 GB, free: 3.465 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.499e-06/0.5178, allocations: 7.922 kB / 0.6394 GB, free: 3.457 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003578/0.5182, allocations: 55.91 kB / 0.6395 GB, free: 3.402 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.63e-06/0.5182, allocations: 8 kB / 0.6395 GB, free: 3.395 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.33e-05/0.5182, allocations: 12 kB / 0.6395 GB, free: 3.383 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.5182, allocations: 0 / 0.6395 GB, free: 3.383 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.5182, allocations: 0 / 0.6395 GB, free: 3.383 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009254/0.5191, allocations: 0.534 MB / 0.64 GB, free: 2.836 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 3.898e-05/0.5192, allocations: 15.89 kB / 0.64 GB, free: 2.82 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.574e-05/0.5192, allocations: 4.062 kB / 0.6401 GB, free: 2.816 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003344/0.5196, allocations: 15.98 kB / 0.6401 GB, free: 2.801 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.226e-05/0.5196, allocations: 19.97 kB / 0.6401 GB, free: 2.781 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.252e-05/0.5196, allocations: 23.98 kB / 0.6401 GB, free: 2.758 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.397e-05/0.5197, allocations: 87.56 kB / 0.6402 GB, free: 2.672 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.5197, allocations: 0 / 0.6402 GB, free: 2.672 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0009347/0.5206, allocations: 247.4 kB / 0.6404 GB, free: 2.43 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 (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.00124/0.5219, allocations: 454.2 kB / 0.6409 GB, free: 1.977 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005881/0.5225, allocations: 255.7 kB / 0.6411 GB, free: 1.727 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.5225, allocations: 0 / 0.6411 GB, free: 1.727 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00025/0.5227, allocations: 134.1 kB / 0.6412 GB, free: 1.598 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006981/0.5234, allocations: 92.7 kB / 0.6413 GB, free: 1.508 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001354/0.5248, allocations: 0.7392 MB / 0.642 GB, free: 0.7344 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001514/0.5249, allocations: 123.9 kB / 0.6422 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003169/0.5252, allocations: 73.83 kB / 0.6422 GB, free: 0.5195 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000121/0.5254, allocations: 36.48 kB / 0.6423 GB, free: 496 kB / 0.5294 GB Notification: Performance of SimCode: time 4.51e-07/0.5254, allocations: 3.938 kB / 0.6423 GB, free: 492 kB / 0.5294 GB Notification: Performance of Templates: time 0.01718/0.5425, allocations: 8.612 MB / 0.6507 GB, free: 7.965 MB / 0.545 GB " [Timeout remaining time 659] 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=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/MixIdealGasAir/MixIdealGasAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.570517783053219]