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.001299/0.001299, allocations: 107 kB / 21.18 MB, free: 0.6445 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.001447/0.001447, allocations: 209 kB / 24.48 MB, free: 3.938 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.435/1.435, allocations: 230.6 MB / 258.2 MB, free: 7.781 MB / 206.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.2254/0.2254, allocations: 46.97 MB / 361.6 MB, free: 4.027 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.002053/0.002053, allocations: 60.05 kB / 0.4973 GB, free: 7.23 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.288/0.2901, allocations: 66.03 MB / 0.5618 GB, free: 4.164 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.1645/0.4546, allocations: 131.8 MB / 0.6905 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003947/0.4585, allocations: 2.921 MB / 0.6934 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.92e-05/0.4586, allocations: 4 kB / 0.6934 GB, free: 12.9 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.000327/0.4589, allocations: 55.67 kB / 0.6934 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002342/0.4613, allocations: 1.089 MB / 0.6945 GB, free: 11.76 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000487/0.4618, allocations: 211.2 kB / 0.6947 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.000422/0.4622, allocations: 374.6 kB / 0.6951 GB, free: 11.19 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.199e-05/0.4622, allocations: 13.28 kB / 0.6951 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002599/0.4625, allocations: 163.4 kB / 0.6952 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001996/0.4627, allocations: 123.6 kB / 0.6953 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.57e-05/0.4627, allocations: 12 kB / 0.6953 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002394/0.4651, allocations: 1.352 MB / 0.6967 GB, free: 9.527 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001124/0.4652, allocations: 87.7 kB / 0.6968 GB, free: 9.441 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001213/0.4653, allocations: 99.7 kB / 0.6968 GB, free: 9.344 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0014/0.4667, allocations: 0.9727 MB / 0.6978 GB, free: 8.375 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.4668, allocations: 3.938 kB / 0.6978 GB, free: 8.371 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.413e-06/0.4668, allocations: 0 / 0.6978 GB, free: 8.371 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.971e-06/0.4668, allocations: 0 / 0.6978 GB, free: 8.371 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.0008916/0.4676, allocations: 0.4894 MB / 0.6983 GB, free: 7.852 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.215e-05/0.4677, allocations: 8.031 kB / 0.6983 GB, free: 7.844 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001551/0.4692, allocations: 208.6 kB / 0.6985 GB, free: 7.641 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000382/0.4696, allocations: 197.9 kB / 0.6987 GB, free: 7.422 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.014e-05/0.4696, allocations: 16.31 kB / 0.6987 GB, free: 7.406 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.601e-05/0.4697, allocations: 23.98 kB / 0.6987 GB, free: 7.383 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007754/0.4705, allocations: 0.5798 MB / 0.6993 GB, free: 6.746 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.4705, allocations: 0 / 0.6993 GB, free: 6.746 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.65e-05/0.4705, allocations: 12 kB / 0.6993 GB, free: 6.734 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.055e-05/0.4706, allocations: 4 kB / 0.6993 GB, free: 6.73 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006386/0.4712, allocations: 424.4 kB / 0.6997 GB, free: 6.316 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.001801/0.473, allocations: 0.712 MB / 0.7004 GB, free: 5.57 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004311/0.4734, allocations: 221 kB / 0.7006 GB, free: 5.336 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001941/0.4736, allocations: 125.6 kB / 0.7007 GB, free: 5.207 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001658/0.4753, allocations: 313.7 kB / 0.701 GB, free: 4.898 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.696e-05/0.4753, allocations: 38.56 kB / 0.7011 GB, free: 4.852 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=31): time 1.703e-06/0.4753, allocations: 0 / 0.7011 GB, free: 4.852 MB / 0.5294 GB Notification: Performance of matching and sorting (n=31): time 0.001283/0.4766, allocations: 380.8 kB / 0.7014 GB, free: 4.477 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.77e-05/0.4767, allocations: 85.11 kB / 0.7015 GB, free: 4.375 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001006/0.4768, allocations: 117.8 kB / 0.7016 GB, free: 4.25 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.565e-05/0.4768, allocations: 33.7 kB / 0.7016 GB, free: 4.211 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.996e-05/0.4769, allocations: 108.6 kB / 0.7018 GB, free: 4.102 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001037/0.477, allocations: 119 kB / 0.7019 GB, free: 3.984 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001229/0.4771, allocations: 66.02 kB / 0.7019 GB, free: 3.914 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001393/0.4772, allocations: 322.8 kB / 0.7022 GB, free: 3.59 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002246/0.4775, allocations: 108 kB / 0.7023 GB, free: 3.484 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002878/0.4778, allocations: 190.8 kB / 0.7025 GB, free: 3.262 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005165/0.4783, allocations: 305.8 kB / 0.7028 GB, free: 2.93 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.644e-06/0.4783, allocations: 7.875 kB / 0.7028 GB, free: 2.922 MB / 0.5294 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0006943/0.479, allocations: 363.5 kB / 0.7032 GB, free: 2.562 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.479, allocations: 4 kB / 0.7032 GB, free: 2.559 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.479, allocations: 4 kB / 0.7032 GB, free: 2.555 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.875e-05/0.479, allocations: 8 kB / 0.7032 GB, free: 2.547 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003718/0.4794, allocations: 79.83 kB / 0.7033 GB, free: 2.469 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.397e-06/0.4794, allocations: 4.312 kB / 0.7033 GB, free: 2.465 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000249/0.4796, allocations: 31.78 kB / 0.7033 GB, free: 2.434 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.586e-05/0.4797, allocations: 23.98 kB / 0.7033 GB, free: 2.41 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.0001489/0.4798, allocations: 137.7 kB / 0.7034 GB, free: 2.266 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001074/0.4799, allocations: 15.91 kB / 0.7035 GB, free: 2.25 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007453/0.4807, allocations: 346.3 kB / 0.7038 GB, free: 1.906 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.195e-05/0.4807, allocations: 4 kB / 0.7038 GB, free: 1.902 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.4807, allocations: 0 / 0.7038 GB, free: 1.902 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.4807, allocations: 0 / 0.7038 GB, free: 1.902 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000544/0.4813, allocations: 250.8 kB / 0.704 GB, free: 1.625 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.4813, allocations: 0 / 0.704 GB, free: 1.625 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003684/0.4816, allocations: 55.91 kB / 0.7041 GB, free: 1.57 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.4816, allocations: 4 kB / 0.7041 GB, free: 1.566 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.974e-05/0.4817, allocations: 8 kB / 0.7041 GB, free: 1.559 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.901e-06/0.4817, allocations: 4 kB / 0.7041 GB, free: 1.555 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.4817, allocations: 0 / 0.7041 GB, free: 1.555 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008441/0.4825, allocations: 0.5309 MB / 0.7046 GB, free: 1.008 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 2.778e-05/0.4825, allocations: 15.89 kB / 0.7046 GB, free: 0.9922 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.329e-05/0.4826, allocations: 8.062 kB / 0.7046 GB, free: 0.9844 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003462/0.4829, allocations: 11.98 kB / 0.7047 GB, free: 0.9727 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.079e-05/0.483, allocations: 19.95 kB / 0.7047 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.444e-05/0.483, allocations: 23.98 kB / 0.7047 GB, free: 0.9297 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.449e-05/0.4831, allocations: 87.28 kB / 0.7048 GB, free: 0.8438 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.4831, allocations: 0 / 0.7048 GB, free: 0.8438 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007676/0.4838, allocations: 239.4 kB / 0.705 GB, free: 0.6094 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.001045/0.4849, allocations: 458.1 kB / 0.7054 GB, free: 156 kB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005728/0.4855, allocations: 262.1 kB / 0.7057 GB, free: 15.89 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.4855, allocations: 0 / 0.7057 GB, free: 15.89 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002406/0.4857, allocations: 127.5 kB / 0.7058 GB, free: 15.77 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007062/0.4864, allocations: 96.75 kB / 0.7059 GB, free: 15.68 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001235/0.4876, allocations: 0.7509 MB / 0.7066 GB, free: 14.9 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001293/0.4878, allocations: 123.8 kB / 0.7068 GB, free: 14.76 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003163/0.4881, allocations: 69.84 kB / 0.7068 GB, free: 14.69 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001096/0.4882, allocations: 35.42 kB / 0.7069 GB, free: 14.66 MB / 0.545 GB Notification: Performance of SimCode: time 3.41e-07/0.4882, allocations: 0 / 0.7069 GB, free: 14.66 MB / 0.545 GB Notification: Performance of Templates: time 0.01541/0.5036, allocations: 8.98 MB / 0.7156 GB, free: 5.773 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 gbode -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.399061778996838]