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.001602/0.001602, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.002507/0.002507, allocations: 208.3 kB / 23.73 MB, free: 4.523 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.594/1.594, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.2483/0.2483, allocations: 46.96 MB / 360.9 MB, free: 4.051 MB / 286.1 MB " [Timeout remaining time 179] 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.002331/0.002331, allocations: 67.89 kB / 0.4966 GB, free: 7.238 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4191/0.4214, allocations: 66.04 MB / 0.5611 GB, free: 4.184 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.196/0.6174, allocations: 131.8 MB / 0.6898 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.005076/0.6225, allocations: 2.913 MB / 0.6926 GB, free: 12.94 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001924/0.6227, allocations: 4 kB / 0.6926 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0004499/0.6231, allocations: 55.61 kB / 0.6927 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003893/0.627, allocations: 1.101 MB / 0.6938 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006935/0.6277, allocations: 211.3 kB / 0.694 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0007123/0.6284, allocations: 362.7 kB / 0.6943 GB, free: 11.22 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 7.307e-05/0.6285, allocations: 13.3 kB / 0.6943 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004854/0.629, allocations: 163.4 kB / 0.6945 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003324/0.6293, allocations: 127.5 kB / 0.6946 GB, free: 10.92 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 5.621e-05/0.6294, allocations: 12 kB / 0.6946 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003384/0.6328, allocations: 1.359 MB / 0.6959 GB, free: 9.547 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001477/0.6329, allocations: 79.84 kB / 0.696 GB, free: 9.469 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001672/0.6331, allocations: 95.64 kB / 0.6961 GB, free: 9.375 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002121/0.6352, allocations: 0.9804 MB / 0.6971 GB, free: 8.398 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.6352, allocations: 3.938 kB / 0.6971 GB, free: 8.395 MB / 0.5294 GB Notification: Performance of FrontEnd: time 9.82e-07/0.6352, allocations: 0 / 0.6971 GB, free: 8.395 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.978e-06/0.6352, allocations: 0 / 0.6971 GB, free: 8.395 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.001325/0.6365, allocations: 493.1 kB / 0.6975 GB, free: 7.883 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/0.6366, allocations: 8.031 kB / 0.6975 GB, free: 7.875 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00168/0.6383, allocations: 212.6 kB / 0.6978 GB, free: 7.668 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005608/0.6388, allocations: 198 kB / 0.6979 GB, free: 7.449 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.844e-05/0.6388, allocations: 12.38 kB / 0.698 GB, free: 7.438 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.014e-05/0.6389, allocations: 20 kB / 0.698 GB, free: 7.418 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001035/0.64, allocations: 0.5798 MB / 0.6985 GB, free: 6.781 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.775e-05/0.64, allocations: 0 / 0.6985 GB, free: 6.781 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.624e-05/0.64, allocations: 15.98 kB / 0.6986 GB, free: 6.766 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.636e-05/0.6401, allocations: 19.92 kB / 0.6986 GB, free: 6.746 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000739/0.6408, allocations: 416.4 kB / 0.699 GB, free: 6.34 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.002158/0.643, allocations: 0.7081 MB / 0.6997 GB, free: 5.598 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005121/0.6435, allocations: 225 kB / 0.6999 GB, free: 5.359 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002361/0.6437, allocations: 125.7 kB / 0.7 GB, free: 5.23 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001648/0.6454, allocations: 309.8 kB / 0.7003 GB, free: 4.926 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.111e-05/0.6454, allocations: 38.55 kB / 0.7003 GB, free: 4.879 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=31): time 2.345e-06/0.6454, allocations: 0 / 0.7003 GB, free: 4.879 MB / 0.5294 GB Notification: Performance of matching and sorting (n=31): time 0.001363/0.6468, allocations: 380.7 kB / 0.7007 GB, free: 4.504 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.148e-05/0.6468, allocations: 85.11 kB / 0.7008 GB, free: 4.402 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001191/0.647, allocations: 113.8 kB / 0.7009 GB, free: 4.281 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.333e-05/0.647, allocations: 37.69 kB / 0.7009 GB, free: 4.238 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 8.551e-05/0.6471, allocations: 108.6 kB / 0.701 GB, free: 4.129 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001233/0.6472, allocations: 126.9 kB / 0.7011 GB, free: 4.004 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001517/0.6474, allocations: 62.02 kB / 0.7012 GB, free: 3.938 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001956/0.6476, allocations: 330.8 kB / 0.7015 GB, free: 3.605 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002267/0.6478, allocations: 100.1 kB / 0.7016 GB, free: 3.508 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003062/0.6481, allocations: 186.9 kB / 0.7018 GB, free: 3.289 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005492/0.6486, allocations: 317.8 kB / 0.7021 GB, free: 2.945 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.326e-06/0.6487, allocations: 7.938 kB / 0.7021 GB, free: 2.938 MB / 0.5294 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0007225/0.6494, allocations: 355.5 kB / 0.7024 GB, free: 2.586 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.481e-05/0.6494, allocations: 8 kB / 0.7024 GB, free: 2.578 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/0.6494, allocations: 0 / 0.7024 GB, free: 2.578 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.08e-05/0.6494, allocations: 4 kB / 0.7024 GB, free: 2.574 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003532/0.6498, allocations: 71.91 kB / 0.7025 GB, free: 2.504 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.612e-05/0.6498, allocations: 7.984 kB / 0.7025 GB, free: 2.496 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002444/0.65, allocations: 31.77 kB / 0.7026 GB, free: 2.465 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.917e-05/0.6501, allocations: 20.31 kB / 0.7026 GB, free: 2.445 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.0001808/0.6503, allocations: 153.6 kB / 0.7027 GB, free: 2.285 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000112/0.6504, allocations: 15.91 kB / 0.7027 GB, free: 2.27 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007272/0.6511, allocations: 334 kB / 0.7031 GB, free: 1.938 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.451e-05/0.6511, allocations: 7.984 kB / 0.7031 GB, free: 1.93 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.6511, allocations: 0 / 0.7031 GB, free: 1.93 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.6511, allocations: 0 / 0.7031 GB, free: 1.93 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005888/0.6517, allocations: 250.8 kB / 0.7033 GB, free: 1.652 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.6517, allocations: 0 / 0.7033 GB, free: 1.652 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003425/0.6521, allocations: 63.89 kB / 0.7034 GB, free: 1.59 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.888e-06/0.6521, allocations: 0 / 0.7034 GB, free: 1.59 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.174e-05/0.6521, allocations: 8 kB / 0.7034 GB, free: 1.582 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.34e-06/0.6521, allocations: 8 kB / 0.7034 GB, free: 1.574 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.6521, allocations: 0 / 0.7034 GB, free: 1.574 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008824/0.653, allocations: 0.527 MB / 0.7039 GB, free: 1.031 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 3.372e-05/0.653, allocations: 11.89 kB / 0.7039 GB, free: 1.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.051e-05/0.6531, allocations: 8.062 kB / 0.7039 GB, free: 1.012 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000315/0.6534, allocations: 15.92 kB / 0.7039 GB, free: 0.9961 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.825e-05/0.6534, allocations: 23.91 kB / 0.7039 GB, free: 0.9727 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.16e-05/0.6535, allocations: 15.98 kB / 0.704 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 7.531e-05/0.6536, allocations: 95.52 kB / 0.7041 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7.1e-08/0.6536, allocations: 0 / 0.7041 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001036/0.6546, allocations: 239.4 kB / 0.7043 GB, free: 0.6289 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.001381/0.656, allocations: 450.3 kB / 0.7047 GB, free: 184 kB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0006059/0.6566, allocations: 259.7 kB / 0.705 GB, free: 15.93 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.6566, allocations: 0 / 0.705 GB, free: 15.93 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002497/0.6568, allocations: 137.6 kB / 0.7051 GB, free: 15.8 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007235/0.6576, allocations: 100.7 kB / 0.7052 GB, free: 15.7 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001416/0.659, allocations: 0.747 MB / 0.7059 GB, free: 14.92 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002015/0.6592, allocations: 123.8 kB / 0.706 GB, free: 14.78 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003245/0.6595, allocations: 69.86 kB / 0.7061 GB, free: 14.71 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001124/0.6596, allocations: 31.42 kB / 0.7061 GB, free: 14.68 MB / 0.545 GB Notification: Performance of SimCode: time 3.91e-07/0.6596, allocations: 0 / 0.7061 GB, free: 14.68 MB / 0.545 GB Notification: Performance of Templates: time 0.01784/0.6774, allocations: 8.97 MB / 0.7149 GB, free: 5.801 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/MixIdealGasAir/MixIdealGasAir.csv","/var/lib/jenkins/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: 6.178222564980388]