Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.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.MoistAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001182/0.001182, allocations: 109.8 kB / 17.74 MB, free: 5.359 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.001479/0.00148, allocations: 181.5 kB / 18.66 MB, free: 4.445 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.402/1.402, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001071/0.001071, allocations: 47.91 kB / 352 MB, free: 3.25 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2825/0.2835, allocations: 49.43 MB / 401.4 MB, free: 8.965 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.05153/0.3351, allocations: 50.55 MB / 452 MB, free: 6.301 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006186/0.3413, allocations: 5.199 MB / 457.2 MB, free: 1.082 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002725/0.3417, allocations: 4 kB / 457.2 MB, free: 1.078 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008497/0.3425, allocations: 250.6 kB / 457.4 MB, free: 0.832 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006921/0.3433, allocations: 365.9 kB / 457.8 MB, free: 484 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01938/0.3627, allocations: 7.125 MB / 464.9 MB, free: 9.348 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001661/0.3643, allocations: 1.099 MB / 466 MB, free: 8.246 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003036/0.3647, allocations: 137.6 kB / 466.1 MB, free: 8.109 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007056/0.3717, allocations: 3.601 MB / 469.7 MB, free: 4.496 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005664/0.3723, allocations: 402.6 kB / 470.1 MB, free: 4.102 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.253e-05/0.3725, allocations: 63.98 kB / 470.2 MB, free: 4.039 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01934/0.3918, allocations: 9.925 MB / 480.1 MB, free: 10.11 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003784/0.3922, allocations: 223.4 kB / 480.3 MB, free: 9.887 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004813/0.3927, allocations: 310.9 kB / 480.6 MB, free: 9.582 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01453/0.4073, allocations: 5.501 MB / 486.1 MB, free: 4.07 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.4073, allocations: 0 / 486.1 MB, free: 4.07 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.4073, allocations: 0 / 486.1 MB, free: 4.07 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.233e-05/0.4073, allocations: 3.938 kB / 486.1 MB, free: 4.066 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.003857/0.4112, allocations: 1.368 MB / 487.5 MB, free: 2.648 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.4113, allocations: 11.89 kB / 487.5 MB, free: 2.637 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000377/0.4116, allocations: 55.52 kB / 487.6 MB, free: 2.582 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005065/0.4122, allocations: 366.1 kB / 487.9 MB, free: 2.184 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.371e-05/0.4122, allocations: 33 kB / 488 MB, free: 2.148 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.873e-05/0.4123, allocations: 51.89 kB / 488 MB, free: 2.098 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001272/0.4136, allocations: 0.5843 MB / 488.6 MB, free: 1.504 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.846e-05/0.4136, allocations: 7.938 kB / 488.6 MB, free: 1.496 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.288e-05/0.4137, allocations: 16 kB / 488.6 MB, free: 1.48 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.099e-05/0.4137, allocations: 12 kB / 488.6 MB, free: 1.469 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001301/0.415, allocations: 0.7456 MB / 489.4 MB, free: 0.7266 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01579/0.4308, allocations: 11.95 MB / 0.4896 GB, free: 2.699 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001277/0.4321, allocations: 0.5275 MB / 0.4901 GB, free: 2.16 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003614/0.4325, allocations: 254 kB / 0.4903 GB, free: 1.91 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01455/0.447, allocations: 11.9 MB / 0.502 GB, free: 3.699 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.771e-05/0.4471, allocations: 39 kB / 0.502 GB, free: 3.652 MB / 430.1 MB Notification: Performance of pre-optimization done (n=50): time 2.675e-06/0.4471, allocations: 0 / 0.502 GB, free: 3.652 MB / 430.1 MB Notification: Performance of matching and sorting (n=55): time 0.005799/0.4529, allocations: 2.124 MB / 0.5041 GB, free: 1.434 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.307e-05/0.453, allocations: 59.97 kB / 0.5041 GB, free: 1.363 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003633/0.4534, allocations: 319 kB / 0.5044 GB, free: 1.047 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.577e-05/0.4534, allocations: 41.7 kB / 0.5045 GB, free: 1 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001376/0.4536, allocations: 200.3 kB / 0.5047 GB, free: 0.8008 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001321/0.4537, allocations: 193.2 kB / 0.5048 GB, free: 0.6094 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001762/0.4539, allocations: 114.1 kB / 0.505 GB, free: 0.4922 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001425/0.4541, allocations: 350.8 kB / 0.5053 GB, free: 144 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000395/0.4545, allocations: 241 kB / 0.5055 GB, free: 15.9 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006265/0.4551, allocations: 339.3 kB / 0.5058 GB, free: 15.54 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001176/0.4563, allocations: 0.6034 MB / 0.5064 GB, free: 14.9 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.4563, allocations: 0 / 0.5064 GB, free: 14.9 MB / 446.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001776/0.4581, allocations: 0.7479 MB / 0.5072 GB, free: 14.14 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.4581, allocations: 7.938 kB / 0.5072 GB, free: 14.13 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/0.4581, allocations: 4 kB / 0.5072 GB, free: 14.12 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004944/0.4586, allocations: 106.8 kB / 0.5073 GB, free: 14.01 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004842/0.4591, allocations: 127.8 kB / 0.5074 GB, free: 13.89 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002603/0.4617, allocations: 3.476 MB / 0.5108 GB, free: 10.11 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003168/0.4621, allocations: 16 kB / 0.5108 GB, free: 10.09 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.386e-05/0.4621, allocations: 31.98 kB / 0.5108 GB, free: 10.06 MB / 446.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 (67): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {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.0003001/0.4624, allocations: 197.5 kB / 0.511 GB, free: 9.859 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002949/0.4628, allocations: 43.53 kB / 0.5111 GB, free: 9.816 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001497/0.4643, allocations: 0.8189 MB / 0.5119 GB, free: 8.965 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.603e-06/0.4643, allocations: 8 kB / 0.5119 GB, free: 8.957 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-06/0.4643, allocations: 0 / 0.5119 GB, free: 8.957 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001082/0.4654, allocations: 0.7674 MB / 0.5126 GB, free: 8.117 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001978/0.4674, allocations: 1.301 MB / 0.5139 GB, free: 6.754 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.873e-06/0.4674, allocations: 4 kB / 0.5139 GB, free: 6.75 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004399/0.4678, allocations: 99.83 kB / 0.514 GB, free: 6.652 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008973/0.4687, allocations: 156.5 kB / 0.5141 GB, free: 6.496 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.909e-05/0.4688, allocations: 19.98 kB / 0.5142 GB, free: 6.477 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004216/0.4692, allocations: 0.6368 MB / 0.5148 GB, free: 5.816 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.4692, allocations: 96 / 0.5148 GB, free: 5.816 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001576/0.4708, allocations: 0.9093 MB / 0.5157 GB, free: 4.879 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001145/0.4709, allocations: 112.7 kB / 0.5158 GB, free: 4.75 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.186e-05/0.471, allocations: 16 kB / 0.5158 GB, free: 4.734 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003988/0.4714, allocations: 19.98 kB / 0.5158 GB, free: 4.715 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.146e-05/0.4715, allocations: 36.39 kB / 0.5158 GB, free: 4.68 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.725e-05/0.4716, allocations: 27.97 kB / 0.5159 GB, free: 4.652 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002698/0.4718, allocations: 257.9 kB / 0.5161 GB, free: 4.398 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4718, allocations: 0 / 0.5161 GB, free: 4.398 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003741/0.4756, allocations: 1.316 MB / 0.5174 GB, free: 3.082 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],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 (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00573/0.4813, allocations: 1.687 MB / 0.5191 GB, free: 1.391 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001637/0.483, allocations: 0.8002 MB / 0.5198 GB, free: 0.5586 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.957e-06/0.483, allocations: 4 kB / 0.5198 GB, free: 0.5547 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00056/0.4836, allocations: 287.2 kB / 0.5201 GB, free: 280 kB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001461/0.4851, allocations: 277.5 kB / 0.5204 GB, free: 4 kB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001865/0.4869, allocations: 1.139 MB / 0.5215 GB, free: 14.83 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003854/0.4873, allocations: 0.8326 MB / 0.5223 GB, free: 13.97 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002137/0.4876, allocations: 71.36 kB / 0.5224 GB, free: 13.9 MB / 462.1 MB Notification: Performance of SimCode: time 6.71e-07/0.4876, allocations: 0 / 0.5224 GB, free: 13.9 MB / 462.1 MB Notification: Performance of Templates: time 0.261/0.7486, allocations: 33.85 MB / 0.5554 GB, free: 124.1 MB / 462.1 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.makefile (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & ./Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/MoistAir1/MoistAir1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches