Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001536/0.001535, allocations: 179.4 kB / 8.364 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.044/2.044, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001144/0.001144, allocations: 94.23 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.042e-05/2.054e-05, allocations: 4 kB / 314.8 MB, free: 9.141 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3623/0.3623, allocations: 47.56 MB / 362.3 MB, free: 45.85 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.155/1.517, allocations: 337.3 MB / 0.6833 GB, free: 123.1 MB / 427.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004104/1.518, allocations: 100.9 kB / 0.6834 GB, free: 123.1 MB / 427.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.2986/1.816, allocations: 85.62 MB / 0.767 GB, free: 62.34 MB / 427.1 MB Notification: Performance of FrontEnd: time 1.753e-06/1.816, allocations: 0 / 0.767 GB, free: 62.34 MB / 427.1 MB Notification: Performance of Transformations before backend: time 2.205e-05/1.816, allocations: 4 kB / 0.767 GB, free: 62.34 MB / 427.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0008424/1.817, allocations: 0.5374 MB / 0.7675 GB, free: 61.76 MB / 427.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/1.817, allocations: 8.031 kB / 0.7675 GB, free: 61.75 MB / 427.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003757/1.818, allocations: 35.72 kB / 0.7675 GB, free: 61.71 MB / 427.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004526/1.818, allocations: 286.4 kB / 0.7678 GB, free: 61.39 MB / 427.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.877e-05/1.818, allocations: 4 kB / 0.7678 GB, free: 61.39 MB / 427.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.406e-05/1.818, allocations: 16 kB / 0.7678 GB, free: 61.38 MB / 427.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004402/1.819, allocations: 181.1 kB / 0.768 GB, free: 61.2 MB / 427.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005338/1.819, allocations: 256.3 kB / 0.7682 GB, free: 60.93 MB / 427.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.998e-05/1.819, allocations: 0 / 0.7682 GB, free: 60.93 MB / 427.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.918e-05/1.819, allocations: 4 kB / 0.7682 GB, free: 60.92 MB / 427.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.053e-05/1.819, allocations: 8 kB / 0.7683 GB, free: 60.91 MB / 427.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00215/1.821, allocations: 1.218 MB / 0.7694 GB, free: 59.58 MB / 427.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004524/1.822, allocations: 182.8 kB / 0.7696 GB, free: 59.4 MB / 427.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001678/1.822, allocations: 85.17 kB / 0.7697 GB, free: 59.31 MB / 427.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001689/1.822, allocations: 170.4 kB / 0.7699 GB, free: 59.11 MB / 427.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.27e-05/1.822, allocations: 34.7 kB / 0.7699 GB, free: 59.07 MB / 427.1 MB Notification: Performance of pre-optimization done (n=21): time 3.066e-06/1.822, allocations: 0 / 0.7699 GB, free: 59.07 MB / 427.1 MB Notification: Performance of matching and sorting (n=26): time 0.002695/1.825, allocations: 0.7881 MB / 0.7707 GB, free: 58.2 MB / 427.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.379e-05/1.825, allocations: 55.41 kB / 0.7707 GB, free: 58.13 MB / 427.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002652/1.825, allocations: 203 kB / 0.7709 GB, free: 57.93 MB / 427.1 MB Notification: Performance of collectPreVariables (initialization): time 4.132e-05/1.825, allocations: 25.7 kB / 0.7709 GB, free: 57.89 MB / 427.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.656e-05/1.826, allocations: 238.3 kB / 0.7712 GB, free: 57.66 MB / 427.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.989e-05/1.826, allocations: 90.66 kB / 0.7712 GB, free: 57.57 MB / 427.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.858e-05/1.826, allocations: 0 / 0.7712 GB, free: 57.57 MB / 427.1 MB Notification: Performance of setup shared object (initialization): time 6.796e-05/1.826, allocations: 330.8 kB / 0.7716 GB, free: 57.23 MB / 427.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001682/1.826, allocations: 67.98 kB / 0.7716 GB, free: 57.17 MB / 427.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002187/1.826, allocations: 169.5 kB / 0.7718 GB, free: 56.96 MB / 427.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003267/1.827, allocations: 100.4 kB / 0.7719 GB, free: 56.86 MB / 427.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/1.827, allocations: 0 / 0.7719 GB, free: 56.86 MB / 427.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008506/1.827, allocations: 392 kB / 0.7723 GB, free: 56.45 MB / 427.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.213e-05/1.827, allocations: 11.94 kB / 0.7723 GB, free: 56.44 MB / 427.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/1.827, allocations: 4 kB / 0.7723 GB, free: 56.43 MB / 427.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002279/1.828, allocations: 42.11 kB / 0.7723 GB, free: 56.39 MB / 427.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005543/1.828, allocations: 83.78 kB / 0.7724 GB, free: 56.3 MB / 427.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00174/1.83, allocations: 2.45 MB / 0.7748 GB, free: 53.63 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004339/1.831, allocations: 20.22 kB / 0.7748 GB, free: 53.61 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.093e-05/1.831, allocations: 15.98 kB / 0.7748 GB, free: 53.59 MB / 427.1 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient.port.h:VARIABLE(flow=false min = -10000000000.0 max = 10000000000.0 unit = "J/kg" nominal = 1000000.0 ) "Specific mixture enthalpy in the connection point" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002157/1.831, allocations: 119.8 kB / 0.7749 GB, free: 53.47 MB / 427.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.239e-05/1.831, allocations: 27.72 kB / 0.775 GB, free: 53.45 MB / 427.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007785/1.832, allocations: 340 kB / 0.7753 GB, free: 53.08 MB / 427.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.161e-06/1.832, allocations: 4 kB / 0.7753 GB, free: 53.08 MB / 427.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/1.832, allocations: 0 / 0.7753 GB, free: 53.08 MB / 427.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005755/1.832, allocations: 0.5957 MB / 0.7759 GB, free: 52.38 MB / 427.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001255/1.834, allocations: 0.6969 MB / 0.7766 GB, free: 51.61 MB / 427.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.097e-06/1.834, allocations: 4 kB / 0.7766 GB, free: 51.61 MB / 427.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005089/1.834, allocations: 51.91 kB / 0.7766 GB, free: 51.55 MB / 427.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000103/1.834, allocations: 24.78 kB / 0.7766 GB, free: 51.53 MB / 427.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.507e-05/1.834, allocations: 4 kB / 0.7766 GB, free: 51.52 MB / 427.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007882/1.835, allocations: 1.229 MB / 0.7778 GB, free: 50.18 MB / 427.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/1.835, allocations: 160 / 0.7778 GB, free: 50.18 MB / 427.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008304/1.836, allocations: 0.4923 MB / 0.7783 GB, free: 49.64 MB / 427.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001049/1.836, allocations: 96.84 kB / 0.7784 GB, free: 49.53 MB / 427.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.16e-05/1.836, allocations: 4 kB / 0.7784 GB, free: 49.53 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004375/1.837, allocations: 16 kB / 0.7784 GB, free: 49.51 MB / 427.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.763e-05/1.837, allocations: 19.98 kB / 0.7784 GB, free: 49.49 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.189e-05/1.837, allocations: 11.98 kB / 0.7785 GB, free: 49.48 MB / 427.1 MB Notification: Performance of sorting global known variables: time 0.000176/1.837, allocations: 153.6 kB / 0.7786 GB, free: 49.33 MB / 427.1 MB Notification: Performance of sort global known variables: time 5.11e-07/1.837, allocations: 0 / 0.7786 GB, free: 49.33 MB / 427.1 MB Notification: Performance of remove unused functions: time 0.0007644/1.838, allocations: 111.9 kB / 0.7787 GB, free: 49.22 MB / 427.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004582/1.838, allocations: 254.3 kB / 0.779 GB, free: 48.96 MB / 427.1 MB Notification: Performance of simCode: created initialization part: time 0.0007624/1.839, allocations: 411.6 kB / 0.7793 GB, free: 48.54 MB / 427.1 MB Notification: Performance of simCode: created event and clocks part: time 5.07e-06/1.839, allocations: 4 kB / 0.7793 GB, free: 48.54 MB / 427.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003421/1.839, allocations: 197.7 kB / 0.7795 GB, free: 48.34 MB / 427.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001235/1.841, allocations: 125.1 kB / 0.7797 GB, free: 48.21 MB / 427.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001184/1.842, allocations: 493 kB / 0.7801 GB, free: 47.7 MB / 427.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002433/1.842, allocations: 0.7715 MB / 0.7809 GB, free: 46.9 MB / 427.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001503/1.842, allocations: 35.44 kB / 0.7809 GB, free: 46.87 MB / 427.1 MB Notification: Performance of SimCode: time 9.72e-07/1.842, allocations: 7.938 kB / 0.7809 GB, free: 46.86 MB / 427.1 MB Notification: Performance of Templates: time 0.01263/1.855, allocations: 6.619 MB / 0.7874 GB, free: 40.24 MB / 427.1 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.sim & ./Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Air/SimpleAir/SimpleAir.csv","../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches