Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001568/0.001568, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.001671/0.001671, allocations: 209.8 kB / 24.5 MB, free: 4.133 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.472/1.472, allocations: 230.6 MB / 258.3 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2306/0.2306, allocations: 44.91 MB / 359.6 MB, free: 6.277 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002069/0.002069, allocations: 71.89 kB / 0.4943 GB, free: 10.22 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3103/0.3124, allocations: 65.47 MB / 0.5582 GB, free: 7.672 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.1846/0.497, allocations: 153.3 MB / 0.7079 GB, free: 13.84 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004826/0.5018, allocations: 3.158 MB / 0.711 GB, free: 10.67 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002036/0.502, allocations: 7.938 kB / 0.711 GB, free: 10.66 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0005249/0.5025, allocations: 59.64 kB / 0.7111 GB, free: 10.6 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.00306/0.5056, allocations: 1.072 MB / 0.7121 GB, free: 9.527 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005225/0.5061, allocations: 203.3 kB / 0.7123 GB, free: 9.332 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0005054/0.5066, allocations: 350.7 kB / 0.7126 GB, free: 8.988 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.665e-05/0.5067, allocations: 13.28 kB / 0.7126 GB, free: 8.977 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002841/0.507, allocations: 159.4 kB / 0.7128 GB, free: 8.82 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002156/0.5072, allocations: 123.5 kB / 0.7129 GB, free: 8.699 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.221e-05/0.5072, allocations: 12 kB / 0.7129 GB, free: 8.688 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002963/0.5102, allocations: 1.609 MB / 0.7145 GB, free: 7.078 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001106/0.5103, allocations: 83.77 kB / 0.7146 GB, free: 6.996 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001288/0.5104, allocations: 103.6 kB / 0.7147 GB, free: 6.895 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001505/0.5119, allocations: 1.001 MB / 0.7157 GB, free: 5.891 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.5119, allocations: 0 / 0.7157 GB, free: 5.891 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.403e-06/0.5119, allocations: 3.938 kB / 0.7157 GB, free: 5.887 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.5119, allocations: 0 / 0.7157 GB, free: 5.887 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.0008941/0.5128, allocations: 0.4932 MB / 0.7161 GB, free: 5.363 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.474e-05/0.5129, allocations: 8.031 kB / 0.7161 GB, free: 5.355 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001422/0.5143, allocations: 204.6 kB / 0.7163 GB, free: 5.156 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003634/0.5146, allocations: 194 kB / 0.7165 GB, free: 4.941 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.284e-05/0.5147, allocations: 20.38 kB / 0.7165 GB, free: 4.922 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.153e-05/0.5147, allocations: 20 kB / 0.7166 GB, free: 4.902 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006211/0.5154, allocations: 377.7 kB / 0.7169 GB, free: 4.523 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.5154, allocations: 0 / 0.7169 GB, free: 4.523 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.896e-05/0.5154, allocations: 4 kB / 0.7169 GB, free: 4.52 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.724e-06/0.5154, allocations: 4 kB / 0.7169 GB, free: 4.516 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006079/0.516, allocations: 402 kB / 0.7173 GB, free: 4.125 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.001769/0.5178, allocations: 0.7804 MB / 0.7181 GB, free: 3.297 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004161/0.5182, allocations: 221.1 kB / 0.7183 GB, free: 3.062 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001899/0.5184, allocations: 117.7 kB / 0.7184 GB, free: 2.941 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001532/0.5199, allocations: 301.9 kB / 0.7187 GB, free: 2.645 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.618e-05/0.52, allocations: 42.5 kB / 0.7187 GB, free: 2.594 MB / 0.545 GB Notification: Performance of pre-optimization done (n=29): time 1.353e-06/0.52, allocations: 0 / 0.7187 GB, free: 2.594 MB / 0.545 GB Notification: Performance of matching and sorting (n=29): time 0.001227/0.5212, allocations: 368.7 kB / 0.7191 GB, free: 2.23 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.335e-05/0.5213, allocations: 81.11 kB / 0.7192 GB, free: 2.133 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001067/0.5214, allocations: 117.8 kB / 0.7193 GB, free: 2.008 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.901e-05/0.5214, allocations: 29.7 kB / 0.7193 GB, free: 1.973 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.252e-05/0.5215, allocations: 116.5 kB / 0.7194 GB, free: 1.855 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 9.612e-05/0.5216, allocations: 111 kB / 0.7195 GB, free: 1.746 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001001/0.5217, allocations: 61.97 kB / 0.7196 GB, free: 1.68 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000161/0.5218, allocations: 338.8 kB / 0.7199 GB, free: 1.34 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001968/0.522, allocations: 92.61 kB / 0.72 GB, free: 1.25 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002622/0.5223, allocations: 179.6 kB / 0.7202 GB, free: 1.039 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004897/0.5228, allocations: 301.8 kB / 0.7204 GB, free: 0.7109 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.5228, allocations: 0 / 0.7204 GB, free: 0.7109 MB / 0.545 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006473/0.5234, allocations: 349.4 kB / 0.7208 GB, free: 372 kB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.5235, allocations: 4 kB / 0.7208 GB, free: 368 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.675e-06/0.5235, allocations: 4 kB / 0.7208 GB, free: 364 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.5235, allocations: 4 kB / 0.7208 GB, free: 360 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003526/0.5238, allocations: 71.89 kB / 0.7209 GB, free: 288 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.327e-05/0.5238, allocations: 7.938 kB / 0.7209 GB, free: 280 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002151/0.5241, allocations: 19.89 kB / 0.7209 GB, free: 260 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.163e-05/0.5241, allocations: 19.98 kB / 0.7209 GB, free: 240 kB / 0.545 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 (39): * Single equations (assignments): 39 * Array equations: 0 * 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.0001581/0.5243, allocations: 157.7 kB / 0.7211 GB, free: 72 kB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001018/0.5244, allocations: 19.89 kB / 0.7211 GB, free: 52 kB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006876/0.525, allocations: 321.7 kB / 0.7214 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/0.5251, allocations: 3.984 kB / 0.7214 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.5251, allocations: 4 kB / 0.7214 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.5251, allocations: 0 / 0.7214 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005835/0.5256, allocations: 321.8 kB / 0.7217 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.5256, allocations: 4 kB / 0.7217 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003492/0.526, allocations: 51.91 kB / 0.7217 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.526, allocations: 0 / 0.7217 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.696e-05/0.526, allocations: 12 kB / 0.7218 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.526, allocations: 4 kB / 0.7218 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.526, allocations: 4 kB / 0.7218 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007814/0.5268, allocations: 0.5062 MB / 0.7223 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.253e-05/0.5268, allocations: 15.89 kB / 0.7223 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.053e-05/0.5269, allocations: 12.05 kB / 0.7223 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003231/0.5272, allocations: 16 kB / 0.7223 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.746e-05/0.5272, allocations: 23.89 kB / 0.7223 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.584e-05/0.5273, allocations: 15.98 kB / 0.7223 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.417e-05/0.5273, allocations: 91.22 kB / 0.7224 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.5273, allocations: 0 / 0.7224 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000824/0.5282, allocations: 235.4 kB / 0.7227 GB, free: 14.37 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 (29): * Single equations (assignments): 29 * Array equations: 0 * 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.001143/0.5293, allocations: 450.3 kB / 0.7231 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005468/0.5299, allocations: 231.8 kB / 0.7233 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.5299, allocations: 0 / 0.7233 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002232/0.5301, allocations: 123.8 kB / 0.7234 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006599/0.5307, allocations: 84.7 kB / 0.7235 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001291/0.532, allocations: 0.7646 MB / 0.7242 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003832/0.5324, allocations: 0.7324 MB / 0.725 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000143/0.5326, allocations: 39.42 kB / 0.725 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of SimCode: time 3.3e-07/0.5326, allocations: 0 / 0.725 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of Templates: time 0.01145/0.544, allocations: 6.364 MB / 0.7312 GB, free: 5.527 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/MixIdealGasAir/MixIdealGasAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.300730215152726]