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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001858/0.001858, allocations: 172.4 kB / 17.4 MB, free: 4.391 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.3/1.3, allocations: 223.3 MB / 241.4 MB, free: 9.988 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008022/0.0008022, allocations: 100.7 kB / 292.6 MB, free: 10.56 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003136/0.0003136, allocations: 11.94 kB / 352.3 MB, free: 14.82 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.205/0.2053, allocations: 50.41 MB / 402.7 MB, free: 32.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.28/11.49, allocations: 6.124 GB / 6.517 GB, free: 145.1 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003218/11.49, allocations: 81.89 kB / 6.517 GB, free: 145.1 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.57/14.06, allocations: 0.7972 GB / 7.314 GB, free: 41.4 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.855e-06/14.06, allocations: 0 / 7.314 GB, free: 41.4 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.444e-05/14.06, allocations: 15.56 kB / 7.314 GB, free: 41.39 MB / 474.7 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.01321/14.07, allocations: 2.76 MB / 7.317 GB, free: 39.64 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.658e-05/14.07, allocations: 7.375 kB / 7.317 GB, free: 39.64 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004984/14.07, allocations: 59.64 kB / 7.317 GB, free: 39.62 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006359/14.07, allocations: 373.7 kB / 7.317 GB, free: 39.32 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.254e-05/14.07, allocations: 31.28 kB / 7.317 GB, free: 39.3 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001174/14.07, allocations: 44.34 kB / 7.317 GB, free: 39.29 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001447/14.07, allocations: 0.5672 MB / 7.318 GB, free: 39.06 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.745e-05/14.07, allocations: 7.25 kB / 7.318 GB, free: 39.06 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.639e-05/14.07, allocations: 19.88 kB / 7.318 GB, free: 39.05 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.121e-05/14.07, allocations: 15.47 kB / 7.318 GB, free: 39.05 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001306/14.07, allocations: 0.72 MB / 7.319 GB, free: 38.83 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01264/14.09, allocations: 11.61 MB / 7.33 GB, free: 26.11 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001367/14.09, allocations: 0.53 MB / 7.331 GB, free: 25.64 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003359/14.09, allocations: 256.1 kB / 7.331 GB, free: 25.42 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01949/14.11, allocations: 20.93 MB / 7.351 GB, free: 17.52 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.131e-05/14.11, allocations: 46.94 kB / 7.351 GB, free: 17.47 MB / 490.7 MB Notification: Performance of pre-optimization done (n=50): time 2.876e-06/14.11, allocations: 0 / 7.351 GB, free: 17.47 MB / 490.7 MB Notification: Performance of matching and sorting (n=55): time 0.006655/14.11, allocations: 2.179 MB / 7.353 GB, free: 15.42 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.176e-05/14.11, allocations: 63.91 kB / 7.353 GB, free: 15.35 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004408/14.11, allocations: 316.2 kB / 7.354 GB, free: 15.07 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.491e-05/14.11, allocations: 37.7 kB / 7.354 GB, free: 15.02 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000117/14.11, allocations: 198.9 kB / 7.354 GB, free: 14.84 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001288/14.11, allocations: 192 kB / 7.354 GB, free: 14.66 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.813e-05/14.11, allocations: 8 kB / 7.354 GB, free: 14.66 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000181/14.12, allocations: 350.2 kB / 7.354 GB, free: 14.32 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003369/14.12, allocations: 227.4 kB / 7.355 GB, free: 14.12 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005555/14.12, allocations: 329.4 kB / 7.355 GB, free: 13.81 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001011/14.12, allocations: 0.5854 MB / 7.356 GB, free: 13.23 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/14.12, allocations: 7.938 kB / 7.356 GB, free: 13.22 MB / 490.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001678/14.12, allocations: 0.7313 MB / 7.356 GB, free: 12.55 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/14.12, allocations: 4 kB / 7.356 GB, free: 12.54 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/14.12, allocations: 7.938 kB / 7.356 GB, free: 12.54 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000467/14.12, allocations: 105.9 kB / 7.356 GB, free: 12.44 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004694/14.12, allocations: 127.1 kB / 7.357 GB, free: 12.33 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002488/14.12, allocations: 3.276 MB / 7.36 GB, free: 8.848 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00043/14.12, allocations: 47.48 kB / 7.36 GB, free: 8.809 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.926e-05/14.12, allocations: 31.52 kB / 7.36 GB, free: 8.781 MB / 490.7 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 (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {2} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003484/14.12, allocations: 189.5 kB / 7.36 GB, free: 8.59 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002944/14.12, allocations: 47.62 kB / 7.36 GB, free: 8.543 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001619/14.12, allocations: 0.8416 MB / 7.361 GB, free: 7.797 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.984e-06/14.13, allocations: 11.94 kB / 7.361 GB, free: 7.785 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/14.13, allocations: 0 / 7.361 GB, free: 7.785 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001191/14.13, allocations: 0.7721 MB / 7.362 GB, free: 6.996 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002245/14.13, allocations: 1.327 MB / 7.363 GB, free: 5.824 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/14.13, allocations: 0 / 7.363 GB, free: 5.824 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004476/14.13, allocations: 102.9 kB / 7.363 GB, free: 5.738 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008847/14.13, allocations: 148.4 kB / 7.363 GB, free: 5.629 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.5e-05/14.13, allocations: 18.67 kB / 7.363 GB, free: 5.613 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004189/14.13, allocations: 0.6605 MB / 7.364 GB, free: 4.945 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/14.13, allocations: 0 / 7.364 GB, free: 4.945 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00176/14.13, allocations: 0.9137 MB / 7.365 GB, free: 4.086 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001662/14.13, allocations: 129.2 kB / 7.365 GB, free: 3.945 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.194e-05/14.13, allocations: 16 kB / 7.365 GB, free: 3.93 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004139/14.13, allocations: 32.06 kB / 7.365 GB, free: 3.898 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.901e-05/14.13, allocations: 36.39 kB / 7.365 GB, free: 3.863 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.927e-05/14.13, allocations: 39.91 kB / 7.365 GB, free: 3.824 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0002939/14.13, allocations: 253.9 kB / 7.365 GB, free: 3.574 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.6e-07/14.13, allocations: 0 / 7.365 GB, free: 3.574 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.007348/14.14, allocations: 1.959 MB / 7.367 GB, free: 1.613 MB / 490.7 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 (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {2} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.3693/14.51, allocations: 2.899 MB / 7.37 GB, free: 59.98 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002568/14.51, allocations: 0.8094 MB / 7.371 GB, free: 59.76 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.152e-06/14.51, allocations: 0 / 7.371 GB, free: 59.76 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008967/14.51, allocations: 296.9 kB / 7.371 GB, free: 59.75 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0024/14.52, allocations: 274.3 kB / 7.371 GB, free: 59.74 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00277/14.52, allocations: 1.322 MB / 7.373 GB, free: 59.25 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000372/14.52, allocations: 0.8383 MB / 7.373 GB, free: 58.54 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0009878/14.52, allocations: 149.4 kB / 7.374 GB, free: 58.54 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002287/14.52, allocations: 57.55 kB / 7.374 GB, free: 58.53 MB / 490.7 MB Notification: Performance of SimCode: time 1.232e-06/14.52, allocations: 0 / 7.374 GB, free: 58.53 MB / 490.7 MB Notification: Performance of Templates: time 0.127/14.65, allocations: 62.09 MB / 7.434 GB, free: 56.59 MB / 490.7 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","../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches