Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(Modelica.Media.Examples.ReferenceAir.MoistAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p|volume1.medium.T|volume1.medium.Xi.1.|volume1.medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p|volume1.medium.T|volume1.medium.Xi.1.|volume1.medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001541/0.001541, allocations: 107.8 kB / 17.06 MB, free: 6.129 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.001662/0.001662, allocations: 192 kB / 18 MB, free: 5.207 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.368/1.368, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009456/0.0009456, allocations: 51.92 kB / 351.3 MB, free: 3.238 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.227/0.2279, allocations: 49.42 MB / 400.7 MB, free: 8.766 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.06254/0.2905, allocations: 65.59 MB / 466.3 MB, free: 7.074 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006428/0.297, allocations: 5.445 MB / 471.8 MB, free: 1.613 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002581/0.2972, allocations: 11.94 kB / 471.8 MB, free: 1.602 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009795/0.2982, allocations: 358 kB / 472.1 MB, free: 1.25 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000803/0.2991, allocations: 0.501 MB / 472.6 MB, free: 0.7461 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01633/0.3155, allocations: 7.439 MB / 480.1 MB, free: 9.312 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001678/0.3172, allocations: 1.547 MB / 481.6 MB, free: 7.762 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003033/0.3175, allocations: 216.8 kB / 481.8 MB, free: 7.539 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007524/0.3182, allocations: 0.6269 MB / 482.4 MB, free: 6.91 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006748/0.3189, allocations: 0.5683 MB / 483 MB, free: 6.34 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001309/0.3191, allocations: 84 kB / 483.1 MB, free: 6.258 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01658/0.3357, allocations: 10.2 MB / 493.3 MB, free: 12.04 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003962/0.3361, allocations: 319.2 kB / 493.6 MB, free: 11.73 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005544/0.3366, allocations: 438.4 kB / 494 MB, free: 11.3 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0113/0.348, allocations: 5.941 MB / 500 MB, free: 5.348 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.177e-06/0.348, allocations: 0 / 500 MB, free: 5.348 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.595e-06/0.348, allocations: 0 / 500 MB, free: 5.348 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.719e-05/0.3481, allocations: 0 / 500 MB, free: 5.348 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.003506/0.3516, allocations: 1.556 MB / 0.4898 GB, free: 3.742 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.077e-05/0.3516, allocations: 12.02 kB / 0.4898 GB, free: 3.73 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004422/0.3521, allocations: 79.25 kB / 0.4899 GB, free: 3.652 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006186/0.3527, allocations: 456.8 kB / 0.4903 GB, free: 3.168 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.789e-05/0.3528, allocations: 49.3 kB / 0.4903 GB, free: 3.121 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001007/0.3529, allocations: 60 kB / 0.4904 GB, free: 3.062 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001727/0.3546, allocations: 0.8107 MB / 0.4912 GB, free: 2.246 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.033e-05/0.3546, allocations: 0 / 0.4912 GB, free: 2.246 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.427e-05/0.3547, allocations: 28 kB / 0.4912 GB, free: 2.219 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.746e-05/0.3547, allocations: 12 kB / 0.4912 GB, free: 2.207 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001798/0.3565, allocations: 1.028 MB / 0.4922 GB, free: 1.176 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01664/0.3732, allocations: 12.78 MB / 0.5047 GB, free: 2.25 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001724/0.375, allocations: 0.753 MB / 0.5055 GB, free: 1.484 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005693/0.3755, allocations: 403.9 kB / 0.5058 GB, free: 1.09 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01409/0.3896, allocations: 12.25 MB / 0.5178 GB, free: 2.461 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.13e-05/0.3897, allocations: 39.22 kB / 0.5178 GB, free: 2.414 MB / 446.1 MB Notification: Performance of pre-optimization done (n=78): time 2.494e-06/0.3897, allocations: 0 / 0.5178 GB, free: 2.414 MB / 446.1 MB Notification: Performance of matching and sorting (n=88): time 0.00924/0.399, allocations: 3.38 MB / 0.5211 GB, free: 14.94 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.538e-05/0.399, allocations: 64.41 kB / 0.5212 GB, free: 14.86 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003668/0.3994, allocations: 348.5 kB / 0.5215 GB, free: 14.52 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 7.032e-05/0.3995, allocations: 49.7 kB / 0.5216 GB, free: 14.46 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001418/0.3996, allocations: 240.7 kB / 0.5218 GB, free: 14.22 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001999/0.3998, allocations: 303.5 kB / 0.5221 GB, free: 13.92 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002281/0.4001, allocations: 162.5 kB / 0.5223 GB, free: 13.75 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001246/0.4002, allocations: 362.8 kB / 0.5226 GB, free: 13.39 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005502/0.4007, allocations: 373.8 kB / 0.523 GB, free: 13.03 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008912/0.4016, allocations: 496.2 kB / 0.5234 GB, free: 12.51 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001671/0.4033, allocations: 0.906 MB / 0.5243 GB, free: 11.57 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.4033, allocations: 4 kB / 0.5243 GB, free: 11.56 MB / 462.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002496/0.4058, allocations: 1.113 MB / 0.5254 GB, free: 10.43 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.4059, allocations: 8 kB / 0.5254 GB, free: 10.43 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.4059, allocations: 0 / 0.5254 GB, free: 10.43 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007901/0.4067, allocations: 167.5 kB / 0.5256 GB, free: 10.25 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007392/0.4074, allocations: 187.7 kB / 0.5258 GB, free: 10.07 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002607/0.41, allocations: 4.124 MB / 0.5298 GB, free: 5.613 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003648/0.4104, allocations: 24.09 kB / 0.5298 GB, free: 5.59 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.782e-05/0.4105, allocations: 44.06 kB / 0.5298 GB, free: 5.547 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (102): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * 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): 2 systems {2, 2} * Without analytic Jacobian (size): 0 systems 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): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003136/0.4108, allocations: 222 kB / 0.5301 GB, free: 5.324 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003837/0.4112, allocations: 59.44 kB / 0.5301 GB, free: 5.266 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002271/0.4135, allocations: 1.284 MB / 0.5314 GB, free: 3.945 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.839e-06/0.4135, allocations: 8 kB / 0.5314 GB, free: 3.938 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.4135, allocations: 11.86 kB / 0.5314 GB, free: 3.926 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001753/0.4153, allocations: 1.32 MB / 0.5327 GB, free: 2.473 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002959/0.4183, allocations: 1.968 MB / 0.5346 GB, free: 452 kB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.4183, allocations: 0 / 0.5346 GB, free: 452 kB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007004/0.419, allocations: 159.8 kB / 0.5347 GB, free: 292 kB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.1803/0.5993, allocations: 292.4 kB / 0.535 GB, free: 139.1 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001724/0.5995, allocations: 29.78 kB / 0.5351 GB, free: 139.1 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006249/0.6001, allocations: 1.295 MB / 0.5363 GB, free: 137.9 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.6001, allocations: 1.062 kB / 0.5363 GB, free: 137.9 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002874/0.603, allocations: 1.422 MB / 0.5377 GB, free: 137.6 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001267/0.6031, allocations: 122.6 kB / 0.5378 GB, free: 137.6 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001019/0.6033, allocations: 24.77 kB / 0.5379 GB, free: 137.5 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005314/0.6038, allocations: 28.78 kB / 0.5379 GB, free: 137.5 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001283/0.6039, allocations: 52.12 kB / 0.5379 GB, free: 137.5 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001018/0.604, allocations: 47.5 kB / 0.538 GB, free: 137.5 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003217/0.6044, allocations: 285.4 kB / 0.5382 GB, free: 137.4 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6044, allocations: 0 / 0.5382 GB, free: 137.4 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002991/0.6074, allocations: 1.397 MB / 0.5396 GB, free: 137.3 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (volume.medium.p,volume.medium.Xi[1],volume.medium.T,volume1.medium.p,volume1.medium.Xi[1],volume1.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 (84): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * 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): 2 systems {2, 2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004322/0.6117, allocations: 1.735 MB / 0.5413 GB, free: 137.1 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001695/0.6134, allocations: 1.159 MB / 0.5424 GB, free: 136.5 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.6134, allocations: 0 / 0.5424 GB, free: 136.5 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007299/0.6142, allocations: 498.8 kB / 0.5429 GB, free: 136.3 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001716/0.6159, allocations: 385.1 kB / 0.5433 GB, free: 136.3 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002254/0.6182, allocations: 1.651 MB / 0.5449 GB, free: 135.5 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003098/0.6185, allocations: 0.9113 MB / 0.5458 GB, free: 134.8 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0006112/0.6191, allocations: 207.5 kB / 0.546 GB, free: 134.7 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001847/0.6193, allocations: 80.52 kB / 0.5461 GB, free: 134.7 MB / 462.1 MB Notification: Performance of SimCode: time 7.51e-07/0.6193, allocations: 0 / 0.5461 GB, free: 134.7 MB / 462.1 MB Notification: Performance of Templates: time 0.04728/0.6666, allocations: 49.96 MB / 0.5948 GB, free: 86.59 MB / 462.1 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.makefile (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.sim & ./Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/MoistAir2/MoistAir2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches