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.001489/0.001489, allocations: 123.4 kB / 17.79 MB, free: 5.266 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.001599/0.001599, allocations: 208.3 kB / 20.75 MB, free: 2.316 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.565/1.565, allocations: 230.6 MB / 254.1 MB, free: 15.08 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.2367/0.2367, allocations: 46.93 MB / 357.1 MB, free: 10.3 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+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.002132/0.002132, allocations: 63.91 kB / 0.4914 GB, free: 7.473 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1662/0.1683, allocations: 65.99 MB / 0.5558 GB, free: 5.348 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.5856/0.7538, allocations: 153.3 MB / 0.7055 GB, free: 7.992 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.004948/0.7588, allocations: 3.254 MB / 0.7087 GB, free: 4.746 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.615e-05/0.7589, allocations: 0 / 0.7087 GB, free: 4.746 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0004053/0.7593, allocations: 63.64 kB / 0.7087 GB, free: 4.684 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.002586/0.7619, allocations: 1.07 MB / 0.7098 GB, free: 3.609 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005261/0.7624, allocations: 192.4 kB / 0.71 GB, free: 3.422 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0004827/0.7629, allocations: 366.6 kB / 0.7103 GB, free: 3.062 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.839e-05/0.7629, allocations: 5.656 kB / 0.7103 GB, free: 3.059 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003023/0.7632, allocations: 167.2 kB / 0.7105 GB, free: 2.898 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002175/0.7635, allocations: 123.5 kB / 0.7106 GB, free: 2.777 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.126e-05/0.7635, allocations: 12 kB / 0.7106 GB, free: 2.766 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003358/0.7668, allocations: 1.598 MB / 0.7122 GB, free: 1.164 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001267/0.767, allocations: 83.83 kB / 0.7122 GB, free: 1.082 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001338/0.7671, allocations: 103.6 kB / 0.7123 GB, free: 0.9805 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001769/0.7689, allocations: 1.014 MB / 0.7133 GB, free: 15.97 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.7689, allocations: 0 / 0.7133 GB, free: 15.97 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.553e-06/0.7689, allocations: 0 / 0.7133 GB, free: 15.97 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.472e-06/0.7689, allocations: 0 / 0.7133 GB, free: 15.97 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.0009608/0.7698, allocations: 0.5762 MB / 0.7139 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.7699, allocations: 8.031 kB / 0.7139 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001528/0.7714, allocations: 208.6 kB / 0.7141 GB, free: 15.13 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003822/0.7718, allocations: 252.3 kB / 0.7143 GB, free: 14.85 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.058e-05/0.7718, allocations: 20.31 kB / 0.7144 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.314e-05/0.7719, allocations: 23.98 kB / 0.7144 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006874/0.7726, allocations: 380.1 kB / 0.7147 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.7726, allocations: 0 / 0.7147 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.731e-05/0.7726, allocations: 15.94 kB / 0.7148 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.86e-05/0.7727, allocations: 4 kB / 0.7148 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006621/0.7733, allocations: 420.4 kB / 0.7152 GB, free: 13.99 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.002083/0.7754, allocations: 0.8215 MB / 0.716 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005354/0.7759, allocations: 234.3 kB / 0.7162 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002287/0.7762, allocations: 125.7 kB / 0.7163 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002198/0.7784, allocations: 0.9763 MB / 0.7173 GB, free: 11.6 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.725e-05/0.7784, allocations: 38.56 kB / 0.7173 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=31): time 1.804e-06/0.7784, allocations: 0 / 0.7173 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of matching and sorting (n=31): time 0.001471/0.7799, allocations: 374.1 kB / 0.7177 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.032e-05/0.7799, allocations: 81.11 kB / 0.7177 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001188/0.7801, allocations: 120 kB / 0.7179 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.555e-05/0.7801, allocations: 29.7 kB / 0.7179 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002319/0.7803, allocations: 116.5 kB / 0.718 GB, free: 10.81 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.00012/0.7805, allocations: 119 kB / 0.7181 GB, free: 10.69 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001269/0.7806, allocations: 66.02 kB / 0.7182 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001669/0.7808, allocations: 330.8 kB / 0.7185 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000348/0.7811, allocations: 108 kB / 0.7186 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003491/0.7815, allocations: 182.9 kB / 0.7188 GB, free: 9.969 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000576/0.782, allocations: 320.5 kB / 0.7191 GB, free: 9.621 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.053e-05/0.782, allocations: 7.938 kB / 0.7191 GB, free: 9.613 MB / 0.5294 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.000726/0.7828, allocations: 353.2 kB / 0.7194 GB, free: 9.266 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.407e-05/0.7828, allocations: 10.5 kB / 0.7194 GB, free: 9.258 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.573e-06/0.7828, allocations: 0 / 0.7194 GB, free: 9.258 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.906e-05/0.7828, allocations: 4 kB / 0.7194 GB, free: 9.254 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003732/0.7832, allocations: 75.84 kB / 0.7195 GB, free: 9.18 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.251e-05/0.7832, allocations: 7.984 kB / 0.7195 GB, free: 9.172 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002305/0.7834, allocations: 23.84 kB / 0.7195 GB, free: 9.148 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.866e-05/0.7835, allocations: 20 kB / 0.7195 GB, free: 9.129 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.0001746/0.7837, allocations: 159.9 kB / 0.7197 GB, free: 8.965 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000107/0.7838, allocations: 15.91 kB / 0.7197 GB, free: 8.949 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007719/0.7845, allocations: 338.1 kB / 0.72 GB, free: 8.609 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.334e-05/0.7845, allocations: 4 kB / 0.72 GB, free: 8.605 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.376e-06/0.7846, allocations: 0.875 kB / 0.72 GB, free: 8.605 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.7846, allocations: 0 / 0.72 GB, free: 8.605 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006599/0.7852, allocations: 339.1 kB / 0.7204 GB, free: 8.223 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.7852, allocations: 0 / 0.7204 GB, free: 8.223 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003643/0.7856, allocations: 59.91 kB / 0.7204 GB, free: 8.164 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.7856, allocations: 0 / 0.7204 GB, free: 8.164 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.103e-05/0.7856, allocations: 15.92 kB / 0.7204 GB, free: 8.152 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.7856, allocations: 11.94 kB / 0.7204 GB, free: 8.141 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.7856, allocations: 1.094 kB / 0.7204 GB, free: 8.141 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008736/0.7865, allocations: 0.522 MB / 0.721 GB, free: 7.602 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 6.641e-05/0.7866, allocations: 96.98 kB / 0.7211 GB, free: 7.488 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.848e-05/0.7866, allocations: 4.062 kB / 0.7211 GB, free: 7.484 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003672/0.787, allocations: 19.97 kB / 0.7211 GB, free: 7.465 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.432e-05/0.787, allocations: 19.98 kB / 0.7211 GB, free: 7.445 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.99e-05/0.7871, allocations: 15.98 kB / 0.7211 GB, free: 7.43 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.959e-05/0.7871, allocations: 91.27 kB / 0.7212 GB, free: 7.34 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.01e-07/0.7871, allocations: 0 / 0.7212 GB, free: 7.34 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001065/0.7882, allocations: 239.3 kB / 0.7214 GB, free: 7.105 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.001259/0.7895, allocations: 458.1 kB / 0.7219 GB, free: 6.648 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005859/0.79, allocations: 251.7 kB / 0.7221 GB, free: 6.402 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.79, allocations: 0 / 0.7221 GB, free: 6.402 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002544/0.7903, allocations: 134.2 kB / 0.7222 GB, free: 6.273 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007073/0.791, allocations: 94.38 kB / 0.7223 GB, free: 6.188 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001646/0.7927, allocations: 0.7442 MB / 0.723 GB, free: 5.414 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005675/0.7932, allocations: 0.7363 MB / 0.7238 GB, free: 4.648 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002981/0.7935, allocations: 69.8 kB / 0.7238 GB, free: 4.582 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001117/0.7936, allocations: 35.42 kB / 0.7239 GB, free: 4.547 MB / 0.5294 GB Notification: Performance of SimCode: time 4.71e-07/0.7936, allocations: 0 / 0.7239 GB, free: 4.547 MB / 0.5294 GB Notification: Performance of Templates: time 0.01681/0.8104, allocations: 8.597 MB / 0.7323 GB, free: 12 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/MixIdealGasAir/MixIdealGasAir.csv","/var/lib/jenkins/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: 6.547584865242243]