Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.001627/0.001627, allocations: 122.7 kB / 18.46 MB, free: 4.59 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.001687/0.001687, allocations: 211.3 kB / 21.4 MB, free: 1.645 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.536/1.536, allocations: 227.4 MB / 251.6 MB, free: 72 kB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2451/0.2451, allocations: 46.17 MB / 351.1 MB, free: 14.29 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_trunk_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_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002288/0.002288, allocations: 86.27 kB / 490.2 MB, free: 28.09 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.166/0.1683, allocations: 62.44 MB / 0.5397 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.5958/0.7642, allocations: 152.8 MB / 0.6889 GB, free: 4.145 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003888/0.7682, allocations: 3.24 MB / 0.692 GB, free: 1.543 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.674e-05/0.7683, allocations: 3.938 kB / 0.692 GB, free: 1.539 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003697/0.7686, allocations: 67.83 kB / 0.6921 GB, free: 1.484 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00247/0.7712, allocations: 1.065 MB / 0.6931 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005461/0.7717, allocations: 196.4 kB / 0.6933 GB, free: 0.5664 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004631/0.7722, allocations: 370.4 kB / 0.6937 GB, free: 380 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.554e-05/0.7722, allocations: 12.64 kB / 0.6937 GB, free: 376 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002788/0.7725, allocations: 159.1 kB / 0.6939 GB, free: 292 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002215/0.7728, allocations: 109.9 kB / 0.694 GB, free: 232 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.865e-05/0.7728, allocations: 14.81 kB / 0.694 GB, free: 232 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002905/0.7757, allocations: 1.531 MB / 0.6955 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001361/0.7759, allocations: 87.27 kB / 0.6955 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001415/0.776, allocations: 103.5 kB / 0.6956 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001523/0.7776, allocations: 1.012 MB / 0.6966 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.7776, allocations: 2.875 kB / 0.6966 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.453e-06/0.7776, allocations: 0 / 0.6966 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.622e-06/0.7776, allocations: 0 / 0.6966 GB, free: 14.71 MB / 0.4981 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.001025/0.7786, allocations: 0.5677 MB / 0.6972 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.7787, allocations: 10.09 kB / 0.6972 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00139/0.7801, allocations: 207.7 kB / 0.6974 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000339/0.7804, allocations: 255.4 kB / 0.6976 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.719e-05/0.7805, allocations: 15.91 kB / 0.6977 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.361e-05/0.7805, allocations: 24.22 kB / 0.6977 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006214/0.7811, allocations: 385.6 kB / 0.698 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.464e-05/0.7812, allocations: 6.547 kB / 0.6981 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.162e-05/0.7812, allocations: 6.469 kB / 0.6981 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.184e-05/0.7812, allocations: 5.156 kB / 0.6981 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005992/0.7818, allocations: 424.5 kB / 0.6985 GB, free: 13.33 MB / 0.4981 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.001745/0.7836, allocations: 0.8215 MB / 0.6993 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004192/0.784, allocations: 229.1 kB / 0.6995 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002158/0.7843, allocations: 129.6 kB / 0.6996 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001876/0.7861, allocations: 0.9763 MB / 0.7006 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.436e-05/0.7862, allocations: 38.56 kB / 0.7006 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=31): time 2.435e-06/0.7862, allocations: 0 / 0.7006 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of matching and sorting (n=31): time 0.001256/0.7875, allocations: 380.5 kB / 0.701 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001169/0.7876, allocations: 85.09 kB / 0.7011 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001203/0.7877, allocations: 117.8 kB / 0.7012 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.957e-05/0.7878, allocations: 33.7 kB / 0.7012 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001105/0.7879, allocations: 112.5 kB / 0.7013 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001044/0.788, allocations: 115 kB / 0.7014 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001214/0.7881, allocations: 70.02 kB / 0.7015 GB, free: 9.949 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001595/0.7883, allocations: 327.5 kB / 0.7018 GB, free: 9.621 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002198/0.7885, allocations: 104 kB / 0.7019 GB, free: 9.52 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002942/0.7888, allocations: 186.8 kB / 0.7021 GB, free: 9.301 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005232/0.7894, allocations: 321 kB / 0.7024 GB, free: 8.953 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/0.7894, allocations: 3.938 kB / 0.7024 GB, free: 8.949 MB / 0.4981 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0006877/0.7901, allocations: 351.6 kB / 0.7027 GB, free: 8.602 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.7901, allocations: 12 kB / 0.7027 GB, free: 8.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.403e-05/0.7901, allocations: 10.28 kB / 0.7027 GB, free: 8.582 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.454e-05/0.7902, allocations: 4 kB / 0.7027 GB, free: 8.578 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003494/0.7905, allocations: 79.83 kB / 0.7028 GB, free: 8.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.343e-05/0.7905, allocations: 4 kB / 0.7028 GB, free: 8.496 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002077/0.7907, allocations: 23.84 kB / 0.7028 GB, free: 8.473 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.647e-05/0.7908, allocations: 16 kB / 0.7029 GB, free: 8.457 MB / 0.4981 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.0001844/0.791, allocations: 145.6 kB / 0.703 GB, free: 8.305 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.938e-05/0.7911, allocations: 24.78 kB / 0.703 GB, free: 8.281 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000767/0.7919, allocations: 334.1 kB / 0.7033 GB, free: 7.945 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.996e-05/0.7919, allocations: 4 kB / 0.7033 GB, free: 7.941 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.7919, allocations: 0 / 0.7033 GB, free: 7.941 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.7919, allocations: 4 kB / 0.7033 GB, free: 7.938 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006461/0.7926, allocations: 339.1 kB / 0.7037 GB, free: 7.555 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.7926, allocations: 0 / 0.7037 GB, free: 7.555 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000326/0.7929, allocations: 53.03 kB / 0.7037 GB, free: 7.504 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.152e-06/0.7929, allocations: 4 kB / 0.7037 GB, free: 7.5 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.566e-05/0.793, allocations: 11.98 kB / 0.7037 GB, free: 7.488 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.793, allocations: 0 / 0.7037 GB, free: 7.488 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.579e-05/0.793, allocations: 11.98 kB / 0.7037 GB, free: 7.477 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009255/0.7939, allocations: 0.5257 MB / 0.7043 GB, free: 6.938 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.258e-05/0.794, allocations: 97.05 kB / 0.7044 GB, free: 6.824 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.475e-05/0.7941, allocations: 11.98 kB / 0.7044 GB, free: 6.812 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003114/0.7944, allocations: 15.67 kB / 0.7044 GB, free: 6.801 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.834e-05/0.7945, allocations: 19.98 kB / 0.7044 GB, free: 6.781 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.123e-05/0.7945, allocations: 19.98 kB / 0.7044 GB, free: 6.762 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.129e-05/0.7946, allocations: 88.05 kB / 0.7045 GB, free: 6.676 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7946, allocations: 3.938 kB / 0.7045 GB, free: 6.672 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001069/0.7957, allocations: 243.3 kB / 0.7047 GB, free: 6.434 MB / 0.4981 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.001103/0.7968, allocations: 446.2 kB / 0.7052 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005804/0.7974, allocations: 263.7 kB / 0.7054 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.7974, allocations: 0 / 0.7054 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002562/0.7977, allocations: 132.5 kB / 0.7055 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006732/0.7983, allocations: 94 kB / 0.7056 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001312/0.7997, allocations: 0.7455 MB / 0.7064 GB, free: 4.738 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005581/0.8002, allocations: 0.7323 MB / 0.7071 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003127/0.8006, allocations: 82.86 kB / 0.7072 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001121/0.8007, allocations: 39.42 kB / 0.7072 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of SimCode: time 3.1e-07/0.8007, allocations: 0 / 0.7072 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of Templates: time 0.01553/0.8162, allocations: 8.571 MB / 0.7156 GB, free: 11.34 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/MixIdealGasAir/MixIdealGasAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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.213891537860036]