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.001326/0.001326, allocations: 107.6 kB / 21.19 MB, free: 0.6484 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.001529/0.001529, allocations: 213.1 kB / 24.48 MB, free: 3.957 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.485/1.485, allocations: 230.6 MB / 258.2 MB, free: 7.754 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.2417/0.2417, allocations: 46.96 MB / 361.6 MB, free: 4.012 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.001999/0.001999, allocations: 76.11 kB / 0.4973 GB, free: 7.207 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4271/0.4291, allocations: 66.03 MB / 0.5618 GB, free: 4.168 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.2312/0.6603, allocations: 131.8 MB / 0.6905 GB, free: 15.85 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.004097/0.6644, allocations: 2.921 MB / 0.6934 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001364/0.6645, allocations: 0 / 0.6934 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003794/0.6649, allocations: 55.66 kB / 0.6934 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.00294/0.6678, allocations: 1.101 MB / 0.6945 GB, free: 11.76 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005475/0.6684, allocations: 199.3 kB / 0.6947 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0005161/0.6689, allocations: 374.6 kB / 0.695 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 6.112e-05/0.6689, allocations: 9.297 kB / 0.6951 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003044/0.6692, allocations: 163.4 kB / 0.6952 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002416/0.6695, allocations: 131.5 kB / 0.6953 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.981e-05/0.6695, allocations: 12 kB / 0.6953 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002952/0.6725, allocations: 1.348 MB / 0.6967 GB, free: 9.543 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001359/0.6726, allocations: 83.77 kB / 0.6967 GB, free: 9.461 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001481/0.6728, allocations: 99.7 kB / 0.6968 GB, free: 9.363 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001747/0.6745, allocations: 0.9765 MB / 0.6978 GB, free: 8.391 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.6745, allocations: 0 / 0.6978 GB, free: 8.391 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.914e-06/0.6745, allocations: 4 kB / 0.6978 GB, free: 8.387 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.883e-06/0.6745, allocations: 0 / 0.6978 GB, free: 8.387 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.0009887/0.6755, allocations: 497.1 kB / 0.6983 GB, free: 7.871 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.6755, allocations: 8.031 kB / 0.6983 GB, free: 7.863 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00149/0.677, allocations: 204.6 kB / 0.6985 GB, free: 7.664 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004373/0.6775, allocations: 209.9 kB / 0.6987 GB, free: 7.434 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.456e-05/0.6775, allocations: 16.38 kB / 0.6987 GB, free: 7.418 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.287e-05/0.6776, allocations: 16 kB / 0.6987 GB, free: 7.402 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008548/0.6784, allocations: 0.5798 MB / 0.6993 GB, free: 6.766 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.411e-05/0.6784, allocations: 0 / 0.6993 GB, free: 6.766 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.06e-05/0.6785, allocations: 12 kB / 0.6993 GB, free: 6.754 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.561e-05/0.6785, allocations: 8 kB / 0.6993 GB, free: 6.746 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006512/0.6792, allocations: 428.2 kB / 0.6997 GB, free: 6.328 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.001821/0.681, allocations: 0.7198 MB / 0.7004 GB, free: 5.574 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004594/0.6814, allocations: 217 kB / 0.7006 GB, free: 5.344 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002004/0.6816, allocations: 129.6 kB / 0.7007 GB, free: 5.211 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00179/0.6834, allocations: 309.7 kB / 0.701 GB, free: 4.906 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.027e-05/0.6835, allocations: 38.56 kB / 0.7011 GB, free: 4.859 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=31): time 2.505e-06/0.6835, allocations: 4 kB / 0.7011 GB, free: 4.855 MB / 0.5294 GB Notification: Performance of matching and sorting (n=31): time 0.001306/0.6848, allocations: 384.7 kB / 0.7014 GB, free: 4.48 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.663e-05/0.6848, allocations: 81.11 kB / 0.7015 GB, free: 4.383 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001145/0.685, allocations: 113.8 kB / 0.7016 GB, free: 4.262 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.685e-05/0.685, allocations: 33.7 kB / 0.7017 GB, free: 4.223 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.746e-05/0.6851, allocations: 108.6 kB / 0.7018 GB, free: 4.113 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001108/0.6852, allocations: 123 kB / 0.7019 GB, free: 3.992 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000112/0.6853, allocations: 62.03 kB / 0.7019 GB, free: 3.926 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001533/0.6855, allocations: 326.8 kB / 0.7022 GB, free: 3.598 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002465/0.6857, allocations: 108 kB / 0.7023 GB, free: 3.492 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000284/0.686, allocations: 190.8 kB / 0.7025 GB, free: 3.27 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005414/0.6865, allocations: 312.5 kB / 0.7028 GB, free: 2.93 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.56e-06/0.6865, allocations: 3.938 kB / 0.7028 GB, free: 2.926 MB / 0.5294 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0007103/0.6872, allocations: 353.2 kB / 0.7032 GB, free: 2.574 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.036e-05/0.6873, allocations: 11.92 kB / 0.7032 GB, free: 2.562 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/0.6873, allocations: 4.312 kB / 0.7032 GB, free: 2.559 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.227e-05/0.6873, allocations: 8 kB / 0.7032 GB, free: 2.551 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003758/0.6877, allocations: 67.91 kB / 0.7033 GB, free: 2.484 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.129e-05/0.6877, allocations: 7.938 kB / 0.7033 GB, free: 2.477 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002558/0.6879, allocations: 35.77 kB / 0.7033 GB, free: 2.441 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.282e-05/0.688, allocations: 16 kB / 0.7033 GB, free: 2.426 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.0001778/0.6882, allocations: 145.7 kB / 0.7035 GB, free: 2.273 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001073/0.6883, allocations: 15.91 kB / 0.7035 GB, free: 2.258 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007857/0.6891, allocations: 338 kB / 0.7038 GB, free: 1.922 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-05/0.6891, allocations: 4 kB / 0.7038 GB, free: 1.918 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.6891, allocations: 0 / 0.7038 GB, free: 1.918 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.325e-06/0.6891, allocations: 3.984 kB / 0.7038 GB, free: 1.914 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005677/0.6897, allocations: 250.7 kB / 0.704 GB, free: 1.637 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.6897, allocations: 0 / 0.704 GB, free: 1.637 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003727/0.69, allocations: 55.97 kB / 0.7041 GB, free: 1.582 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.506e-06/0.69, allocations: 0 / 0.7041 GB, free: 1.582 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.465e-05/0.6901, allocations: 11.98 kB / 0.7041 GB, free: 1.57 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.6901, allocations: 4 kB / 0.7041 GB, free: 1.566 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.6901, allocations: 0 / 0.7041 GB, free: 1.566 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000848/0.6909, allocations: 0.5254 MB / 0.7046 GB, free: 1.027 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 3.141e-05/0.691, allocations: 19.88 kB / 0.7046 GB, free: 1.008 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.26e-05/0.691, allocations: 12.19 kB / 0.7046 GB, free: 0.9961 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003497/0.6913, allocations: 15.98 kB / 0.7047 GB, free: 0.9805 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.046e-05/0.6914, allocations: 19.97 kB / 0.7047 GB, free: 0.9609 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.161e-05/0.6914, allocations: 23.92 kB / 0.7047 GB, free: 0.9375 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.472e-05/0.6915, allocations: 91.56 kB / 0.7048 GB, free: 0.8477 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.6915, allocations: 0 / 0.7048 GB, free: 0.8477 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0008609/0.6924, allocations: 239.4 kB / 0.705 GB, free: 0.6133 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.00109/0.6935, allocations: 450.2 kB / 0.7054 GB, free: 168 kB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0006146/0.6941, allocations: 263.3 kB / 0.7057 GB, free: 15.91 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/0.6941, allocations: 4 kB / 0.7057 GB, free: 15.91 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002463/0.6943, allocations: 128.5 kB / 0.7058 GB, free: 15.78 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006805/0.695, allocations: 91.95 kB / 0.7059 GB, free: 15.69 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001393/0.6964, allocations: 0.7839 MB / 0.7067 GB, free: 14.87 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001289/0.6965, allocations: 115.8 kB / 0.7068 GB, free: 14.74 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001721/0.6967, allocations: 39.42 kB / 0.7068 GB, free: 14.7 MB / 0.545 GB Notification: Performance of SimCode: time 3.21e-07/0.6967, allocations: 0 / 0.7068 GB, free: 14.7 MB / 0.545 GB Notification: Performance of Templates: time 0.01141/0.7081, allocations: 6.613 MB / 0.7133 GB, free: 8.09 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/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: 9.669527079007821]