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.001736/0.001736, allocations: 113.1 kB / 21.85 MB, free: 64 kB / 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.001862/0.001862, allocations: 201.8 kB / 25.13 MB, free: 3.578 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.468/1.468, allocations: 230.4 MB / 258.7 MB, free: 8.051 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.2403/0.2403, allocations: 46.93 MB / 362 MB, free: 4.223 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-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.00244/0.00244, allocations: 79.86 kB / 0.4978 GB, free: 7.391 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3584/0.3609, allocations: 66.08 MB / 0.5623 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.1958/0.5566, allocations: 151.2 MB / 0.71 GB, free: 12.48 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004426/0.561, allocations: 3.224 MB / 0.7131 GB, free: 9.242 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001221/0.5612, allocations: 4 kB / 0.7131 GB, free: 9.238 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003761/0.5615, allocations: 63.62 kB / 0.7132 GB, free: 9.176 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002897/0.5644, allocations: 1.12 MB / 0.7143 GB, free: 8.055 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000534/0.565, allocations: 199.1 kB / 0.7145 GB, free: 7.863 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0005034/0.5655, allocations: 370.6 kB / 0.7148 GB, free: 7.5 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.14e-05/0.5655, allocations: 17.22 kB / 0.7148 GB, free: 7.484 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002899/0.5658, allocations: 163.4 kB / 0.715 GB, free: 7.324 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002102/0.566, allocations: 119.6 kB / 0.7151 GB, free: 7.207 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.144e-05/0.566, allocations: 16 kB / 0.7151 GB, free: 7.191 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002789/0.5688, allocations: 1.36 MB / 0.7164 GB, free: 5.828 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001251/0.569, allocations: 87.7 kB / 0.7165 GB, free: 5.742 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001648/0.5691, allocations: 111.6 kB / 0.7166 GB, free: 5.633 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001797/0.5709, allocations: 0.9805 MB / 0.7176 GB, free: 4.656 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.5709, allocations: 0 / 0.7176 GB, free: 4.656 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.633e-06/0.5709, allocations: 0 / 0.7176 GB, free: 4.656 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.522e-06/0.5709, allocations: 4 kB / 0.7176 GB, free: 4.652 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.0009609/0.5719, allocations: 493.1 kB / 0.7181 GB, free: 4.141 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.5719, allocations: 12.03 kB / 0.7181 GB, free: 4.129 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001439/0.5734, allocations: 204.6 kB / 0.7183 GB, free: 3.93 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004055/0.5738, allocations: 202 kB / 0.7185 GB, free: 3.707 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.874e-05/0.5738, allocations: 12.38 kB / 0.7185 GB, free: 3.695 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.64e-05/0.5739, allocations: 24 kB / 0.7185 GB, free: 3.672 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008379/0.5747, allocations: 0.5837 MB / 0.7191 GB, free: 3.031 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.69e-05/0.5747, allocations: 0 / 0.7191 GB, free: 3.031 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.337e-05/0.5748, allocations: 8 kB / 0.7191 GB, free: 3.023 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.556e-05/0.5748, allocations: 11.98 kB / 0.7191 GB, free: 3.012 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006618/0.5755, allocations: 424.4 kB / 0.7195 GB, free: 2.598 MB / 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.001839/0.5773, allocations: 0.7933 MB / 0.7203 GB, free: 1.758 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004413/0.5777, allocations: 217.1 kB / 0.7205 GB, free: 1.527 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001975/0.5779, allocations: 125.7 kB / 0.7206 GB, free: 1.398 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001562/0.5795, allocations: 309.7 kB / 0.7209 GB, free: 1.094 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.052e-05/0.5795, allocations: 42.5 kB / 0.7209 GB, free: 1.043 MB / 0.545 GB Notification: Performance of pre-optimization done (n=31): time 2.514e-06/0.5795, allocations: 4 kB / 0.7209 GB, free: 1.039 MB / 0.545 GB Notification: Performance of matching and sorting (n=31): time 0.001225/0.5808, allocations: 384.3 kB / 0.7213 GB, free: 0.6602 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.019e-05/0.5808, allocations: 81.11 kB / 0.7214 GB, free: 0.5625 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001239/0.5809, allocations: 117.8 kB / 0.7215 GB, free: 448 kB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.131e-05/0.581, allocations: 29.7 kB / 0.7215 GB, free: 412 kB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.541e-05/0.5811, allocations: 108.6 kB / 0.7216 GB, free: 300 kB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001063/0.5812, allocations: 123 kB / 0.7217 GB, free: 176 kB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001033/0.5813, allocations: 66.02 kB / 0.7218 GB, free: 104 kB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001714/0.5814, allocations: 330.8 kB / 0.7221 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002109/0.5817, allocations: 108 kB / 0.7222 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002845/0.5819, allocations: 190.9 kB / 0.7224 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005372/0.5825, allocations: 306.1 kB / 0.7227 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.5825, allocations: 0 / 0.7227 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.000695/0.5832, allocations: 366.6 kB / 0.723 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/0.5832, allocations: 4 kB / 0.723 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.5832, allocations: 4 kB / 0.723 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.13e-05/0.5832, allocations: 4 kB / 0.723 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003651/0.5836, allocations: 79.84 kB / 0.7231 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.105e-05/0.5836, allocations: 4 kB / 0.7231 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002172/0.5838, allocations: 31.77 kB / 0.7232 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.96e-05/0.5839, allocations: 20.28 kB / 0.7232 GB, free: 14.6 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.0001585/0.584, allocations: 145.7 kB / 0.7233 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001034/0.5841, allocations: 15.91 kB / 0.7233 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007263/0.5849, allocations: 330.4 kB / 0.7236 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.299e-05/0.5849, allocations: 4 kB / 0.7236 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.5849, allocations: 0 / 0.7236 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.386e-06/0.5849, allocations: 3.984 kB / 0.7237 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006323/0.5855, allocations: 318 kB / 0.724 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.5855, allocations: 0 / 0.724 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003332/0.5859, allocations: 55.91 kB / 0.724 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.5859, allocations: 0 / 0.724 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.823e-05/0.5859, allocations: 16 kB / 0.724 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.5859, allocations: 4 kB / 0.724 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.5859, allocations: 3.984 kB / 0.724 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008578/0.5868, allocations: 0.5314 MB / 0.7245 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.063e-05/0.5868, allocations: 15.89 kB / 0.7246 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.882e-05/0.5868, allocations: 8.062 kB / 0.7246 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003056/0.5871, allocations: 19.97 kB / 0.7246 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.391e-05/0.5872, allocations: 19.95 kB / 0.7246 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.296e-05/0.5872, allocations: 19.98 kB / 0.7246 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.54e-05/0.5873, allocations: 95.2 kB / 0.7247 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.01e-07/0.5873, allocations: 0 / 0.7247 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0009397/0.5882, allocations: 239.4 kB / 0.7249 GB, free: 12.71 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.001095/0.5893, allocations: 450.2 kB / 0.7254 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0006064/0.5899, allocations: 256.6 kB / 0.7256 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.5899, allocations: 7.875 kB / 0.7256 GB, free: 12 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002521/0.5902, allocations: 132 kB / 0.7258 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006492/0.5908, allocations: 84.25 kB / 0.7258 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001324/0.5922, allocations: 0.7549 MB / 0.7266 GB, free: 11 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004133/0.5926, allocations: 0.7285 MB / 0.7273 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003267/0.5929, allocations: 81.77 kB / 0.7274 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001139/0.593, allocations: 35.42 kB / 0.7274 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of SimCode: time 1.383e-06/0.593, allocations: 0 / 0.7274 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of Templates: time 0.01601/0.609, allocations: 8.779 MB / 0.736 GB, free: 1.391 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 -s gbode -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: 5.816647820873186]