Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.MixIdealGasAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.006796/0.006796, allocations: 108.3 kB / 21.97 MB, free: 5.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001755/0.001755, allocations: 218.2 kB / 25.29 MB, free: 3.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.477/1.477, allocations: 230.5 MB / 258.9 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2384/0.2384, allocations: 46.93 MB / 362.3 MB, free: 4.289 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_ModelicaTest.Media.TestOnly.MixIdealGasAir") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00237/0.00237, allocations: 79.88 kB / 0.4982 GB, free: 7.281 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3691/0.3714, allocations: 66.07 MB / 0.5627 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.1879/0.5593, allocations: 153.3 MB / 0.7124 GB, free: 10.39 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004073/0.5634, allocations: 3.271 MB / 0.7156 GB, free: 7.105 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.659e-05/0.5635, allocations: 3.938 kB / 0.7156 GB, free: 7.102 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003558/0.5638, allocations: 59.64 kB / 0.7157 GB, free: 7.043 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002484/0.5663, allocations: 1.116 MB / 0.7167 GB, free: 5.926 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005047/0.5668, allocations: 195.2 kB / 0.7169 GB, free: 5.738 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0004711/0.5673, allocations: 374.6 kB / 0.7173 GB, free: 5.371 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.327e-05/0.5673, allocations: 13.28 kB / 0.7173 GB, free: 5.359 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002745/0.5676, allocations: 163.5 kB / 0.7175 GB, free: 5.199 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000209/0.5678, allocations: 127.5 kB / 0.7176 GB, free: 5.074 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.825e-05/0.5678, allocations: 12 kB / 0.7176 GB, free: 5.062 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002899/0.5707, allocations: 1.636 MB / 0.7192 GB, free: 3.422 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001088/0.5709, allocations: 83.7 kB / 0.7193 GB, free: 3.34 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001343/0.571, allocations: 111.6 kB / 0.7194 GB, free: 3.23 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001543/0.5725, allocations: 1.027 MB / 0.7204 GB, free: 2.207 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.5725, allocations: 4 kB / 0.7204 GB, free: 2.203 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.302e-06/0.5725, allocations: 0 / 0.7204 GB, free: 2.203 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.961e-06/0.5725, allocations: 0 / 0.7204 GB, free: 2.203 MB / 0.545 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.0009083/0.5735, allocations: 493.1 kB / 0.7209 GB, free: 1.691 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.5735, allocations: 8.031 kB / 0.7209 GB, free: 1.684 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001424/0.5749, allocations: 212.6 kB / 0.7211 GB, free: 1.477 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003528/0.5753, allocations: 198 kB / 0.7213 GB, free: 1.258 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.954e-05/0.5753, allocations: 12.38 kB / 0.7213 GB, free: 1.246 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.724e-05/0.5753, allocations: 23.94 kB / 0.7213 GB, free: 1.223 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006447/0.576, allocations: 392.1 kB / 0.7217 GB, free: 0.832 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.576, allocations: 0 / 0.7217 GB, free: 0.832 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.02e-05/0.576, allocations: 8 kB / 0.7217 GB, free: 0.8242 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.177e-05/0.5761, allocations: 12 kB / 0.7217 GB, free: 0.8125 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006297/0.5767, allocations: 420.4 kB / 0.7221 GB, free: 412 kB / 0.545 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.001776/0.5785, allocations: 0.7972 MB / 0.7229 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004255/0.5789, allocations: 219.4 kB / 0.7231 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001985/0.5791, allocations: 121.7 kB / 0.7232 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001485/0.5806, allocations: 313.7 kB / 0.7235 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.871e-05/0.5806, allocations: 42.5 kB / 0.7235 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=31): time 1.683e-06/0.5806, allocations: 0 / 0.7235 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of matching and sorting (n=31): time 0.001199/0.5818, allocations: 381.8 kB / 0.7239 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.813e-05/0.5819, allocations: 85.05 kB / 0.724 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001045/0.582, allocations: 117.8 kB / 0.7241 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.025e-05/0.582, allocations: 33.7 kB / 0.7241 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.976e-05/0.5821, allocations: 112.6 kB / 0.7242 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.778e-05/0.5822, allocations: 119 kB / 0.7243 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001188/0.5823, allocations: 62.02 kB / 0.7244 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000155/0.5825, allocations: 330.8 kB / 0.7247 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002098/0.5827, allocations: 108 kB / 0.7248 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002821/0.583, allocations: 190.9 kB / 0.725 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005104/0.5835, allocations: 304.3 kB / 0.7253 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.5835, allocations: 4 kB / 0.7253 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0006531/0.5841, allocations: 356.3 kB / 0.7256 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.67e-05/0.5842, allocations: 8 kB / 0.7256 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.757e-06/0.5842, allocations: 3.984 kB / 0.7256 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.22e-05/0.5842, allocations: 8 kB / 0.7256 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003394/0.5845, allocations: 71.84 kB / 0.7257 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.024e-05/0.5845, allocations: 4.312 kB / 0.7257 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002094/0.5848, allocations: 35.77 kB / 0.7258 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.972e-05/0.5848, allocations: 20 kB / 0.7258 GB, free: 12.41 MB / 0.5606 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.0001515/0.5849, allocations: 145.7 kB / 0.7259 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001006/0.585, allocations: 15.91 kB / 0.7259 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006957/0.5857, allocations: 332.4 kB / 0.7262 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.204e-05/0.5858, allocations: 4 kB / 0.7262 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.5858, allocations: 0 / 0.7262 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.5858, allocations: 3.984 kB / 0.7263 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006015/0.5864, allocations: 314.1 kB / 0.7266 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.5864, allocations: 7.984 kB / 0.7266 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000331/0.5867, allocations: 55.91 kB / 0.7266 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.5867, allocations: 7.938 kB / 0.7266 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.061e-05/0.5867, allocations: 12 kB / 0.7266 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.5867, allocations: 0 / 0.7266 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.5867, allocations: 0 / 0.7266 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008288/0.5876, allocations: 0.5412 MB / 0.7272 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.172e-05/0.5876, allocations: 11.89 kB / 0.7272 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.676e-05/0.5876, allocations: 8.062 kB / 0.7272 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003048/0.5879, allocations: 11.98 kB / 0.7272 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.067e-05/0.588, allocations: 19.97 kB / 0.7272 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.733e-05/0.588, allocations: 15.98 kB / 0.7272 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.135e-05/0.5881, allocations: 99.19 kB / 0.7273 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9.1e-08/0.5881, allocations: 0 / 0.7273 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000773/0.5888, allocations: 239.4 kB / 0.7275 GB, free: 10.51 MB / 0.5606 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.001/0.5898, allocations: 458.1 kB / 0.728 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005583/0.5904, allocations: 260.1 kB / 0.7282 GB, free: 9.801 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.5904, allocations: 4 kB / 0.7282 GB, free: 9.797 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002353/0.5906, allocations: 130.5 kB / 0.7284 GB, free: 9.672 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006046/0.5912, allocations: 84.7 kB / 0.7284 GB, free: 9.59 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001234/0.5925, allocations: 0.78 MB / 0.7292 GB, free: 8.77 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003776/0.5929, allocations: 0.7363 MB / 0.7299 GB, free: 8.004 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001363/0.593, allocations: 43.36 kB / 0.73 GB, free: 7.961 MB / 0.5606 GB Notification: Performance of SimCode: time 3.31e-07/0.593, allocations: 0 / 0.73 GB, free: 7.961 MB / 0.5606 GB Notification: Performance of Templates: time 0.01026/0.6033, allocations: 6.527 MB / 0.7363 GB, free: 1.43 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.MixIdealGasAir.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.MixIdealGasAir.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.MixIdealGasAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_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-beta.om_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: 9.69694760791026]