Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001257/0.001257, allocations: 109.2 kB / 16.41 MB, free: 6.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00144/0.00144, allocations: 189.5 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.362/1.362, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2114/0.2114, allocations: 43.54 MB / 314.1 MB, free: 464 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001701/0.001701, allocations: 71.89 kB / 441.8 MB, free: 5.668 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1315/0.1332, allocations: 57.79 MB / 499.6 MB, free: 11.81 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.5686/0.7018, allocations: 147.6 MB / 0.632 GB, free: 7.004 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01038/0.7123, allocations: 5.587 MB / 0.6375 GB, free: 1.41 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001079/0.7134, allocations: 19.88 kB / 0.6375 GB, free: 1.391 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001241/0.7147, allocations: 329.9 kB / 0.6378 GB, free: 1.066 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003089/0.7178, allocations: 0.8668 MB / 0.6387 GB, free: 200 kB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00348/0.7213, allocations: 1.025 MB / 0.6397 GB, free: 15.17 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002628/0.724, allocations: 1.801 MB / 0.6414 GB, free: 13.36 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009796/0.725, allocations: 470.3 kB / 0.6419 GB, free: 12.9 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00194/0.7269, allocations: 0.7591 MB / 0.6426 GB, free: 12.14 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001223/0.7282, allocations: 0.7047 MB / 0.6433 GB, free: 11.43 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001089/0.7283, allocations: 64 kB / 0.6434 GB, free: 11.37 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001285/0.7296, allocations: 0.542 MB / 0.6439 GB, free: 10.83 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003071/0.7299, allocations: 263.3 kB / 0.6441 GB, free: 10.57 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004836/0.7304, allocations: 398.1 kB / 0.6445 GB, free: 10.18 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00163/0.732, allocations: 1.128 MB / 0.6456 GB, free: 9.055 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.732, allocations: 0 / 0.6456 GB, free: 9.055 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.737e-06/0.732, allocations: 0 / 0.6456 GB, free: 9.055 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.245e-05/0.7321, allocations: 7.938 kB / 0.6456 GB, free: 9.047 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002251/0.7343, allocations: 1.052 MB / 0.6467 GB, free: 7.945 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.777e-05/0.7344, allocations: 12.03 kB / 0.6467 GB, free: 7.934 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004003/0.7348, allocations: 95.98 kB / 0.6468 GB, free: 7.84 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008431/0.7356, allocations: 0.5366 MB / 0.6473 GB, free: 7.262 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001206/0.7358, allocations: 101 kB / 0.6474 GB, free: 7.152 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.242e-05/0.7359, allocations: 52.55 kB / 0.6474 GB, free: 7.102 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001298/0.7372, allocations: 0.8183 MB / 0.6482 GB, free: 6.223 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.325e-05/0.7372, allocations: 3.938 kB / 0.6482 GB, free: 6.219 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.161e-05/0.7373, allocations: 27.98 kB / 0.6483 GB, free: 6.191 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.198e-05/0.7374, allocations: 40.92 kB / 0.6483 GB, free: 6.152 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001081/0.7385, allocations: 0.6556 MB / 0.6489 GB, free: 5.496 MB / 494.1 MB 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.004853/0.7433, allocations: 3.959 MB / 0.6528 GB, free: 1.254 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008873/0.7442, allocations: 424.1 kB / 0.6532 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003584/0.7446, allocations: 205.4 kB / 0.6534 GB, free: 0.625 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006934/0.7453, allocations: 0.7365 MB / 0.6541 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.873e-05/0.7454, allocations: 38.89 kB / 0.6542 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=40): time 2.845e-06/0.7454, allocations: 0 / 0.6542 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of matching and sorting (n=45): time 0.003596/0.749, allocations: 1.545 MB / 0.6557 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.414e-05/0.7491, allocations: 132.5 kB / 0.6558 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007946/0.7499, allocations: 0.5731 MB / 0.6564 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.441e-05/0.7499, allocations: 37.7 kB / 0.6564 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003363/0.7503, allocations: 351.1 kB / 0.6567 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001462/0.7504, allocations: 165.6 kB / 0.6569 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002337/0.7507, allocations: 138.6 kB / 0.657 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001965/0.7509, allocations: 374.8 kB / 0.6574 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003617/0.7513, allocations: 213.9 kB / 0.6576 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006388/0.7519, allocations: 0.5162 MB / 0.6581 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001075/0.753, allocations: 0.7679 MB / 0.6588 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.753, allocations: 0 / 0.6588 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001626/0.7546, allocations: 0.9136 MB / 0.6597 GB, free: 9.562 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.404e-05/0.7547, allocations: 14.59 kB / 0.6597 GB, free: 9.551 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.594e-05/0.7547, allocations: 12 kB / 0.6597 GB, free: 9.539 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001482/0.7562, allocations: 284.8 kB / 0.66 GB, free: 9.258 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003806/0.7566, allocations: 119.8 kB / 0.6601 GB, free: 9.141 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001098/0.7577, allocations: 0.8879 MB / 0.661 GB, free: 8.227 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004534/0.7582, allocations: 28 kB / 0.661 GB, free: 8.199 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.539e-05/0.7582, allocations: 35.98 kB / 0.6611 GB, free: 8.164 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,16)} Notification: Performance of prepare postOptimizeDAE: time 0.000392/0.7586, allocations: 253.4 kB / 0.6613 GB, free: 7.906 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001531/0.7588, allocations: 67.16 kB / 0.6614 GB, free: 7.84 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001327/0.7601, allocations: 0.7685 MB / 0.6621 GB, free: 7.035 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.213e-05/0.7601, allocations: 7.938 kB / 0.6621 GB, free: 7.027 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/0.7602, allocations: 4 kB / 0.6621 GB, free: 7.023 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.7602, allocations: 4 kB / 0.6621 GB, free: 7.02 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002063/0.7622, allocations: 1.408 MB / 0.6635 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.192e-06/0.7623, allocations: 4.188 kB / 0.6635 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001067/0.7633, allocations: 203.7 kB / 0.6637 GB, free: 5.312 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.361e-05/0.7634, allocations: 20.84 kB / 0.6637 GB, free: 5.289 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.872e-05/0.7635, allocations: 19.98 kB / 0.6637 GB, free: 5.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002165/0.7657, allocations: 2.868 MB / 0.6665 GB, free: 2.117 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.7657, allocations: 8.969 kB / 0.6666 GB, free: 2.109 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001457/0.7671, allocations: 1.012 MB / 0.6675 GB, free: 1.039 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002932/0.7674, allocations: 208.1 kB / 0.6677 GB, free: 0.8164 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.664e-05/0.7675, allocations: 8 kB / 0.6677 GB, free: 0.8086 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003958/0.7679, allocations: 23.98 kB / 0.6678 GB, free: 0.7852 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001033/0.768, allocations: 43.61 kB / 0.6678 GB, free: 0.7422 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.488e-05/0.7681, allocations: 23.98 kB / 0.6678 GB, free: 0.7188 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000563/0.7687, allocations: 435.1 kB / 0.6683 GB, free: 300 kB / 0.4981 GB Notification: Performance of sort global known variables: time 4.71e-07/0.7687, allocations: 0 / 0.6683 GB, free: 300 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0009056/0.7696, allocations: 216 kB / 0.6685 GB, free: 84 kB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (volume.medium.p,volume.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 (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006574/0.7703, allocations: 259.2 kB / 0.6687 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001344/0.7716, allocations: 0.6071 MB / 0.6693 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.7716, allocations: 0 / 0.6693 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001048/0.7727, allocations: 454.3 kB / 0.6697 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001552/0.7743, allocations: 376.4 kB / 0.6701 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002594/0.7769, allocations: 1.375 MB / 0.6714 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005464/0.7774, allocations: 0.9385 MB / 0.6723 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0006307/0.7781, allocations: 214.1 kB / 0.6726 GB, free: 11.81 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001576/0.7782, allocations: 63.42 kB / 0.6726 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of SimCode: time 7.82e-07/0.7782, allocations: 0 / 0.6726 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of Templates: time 0.03097/0.8092, allocations: 15.66 MB / 0.6879 GB, free: 12.11 MB / 0.5294 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/SimpleAir/SimpleAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches