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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002878/0.002877, allocations: 175.4 kB / 8.15 MB, free: 2.203 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.83/1.83, allocations: 205.2 MB / 213.7 MB, free: 13.87 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001254/0.001254, allocations: 94 kB / 261.8 MB, free: 13.62 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 8.606e-06/8.707e-06, allocations: 0 / 314.3 MB, free: 9.027 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2472/0.2472, allocations: 47.55 MB / 361.8 MB, free: 45.66 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.797/1.044, allocations: 337.2 MB / 0.6827 GB, free: 122.4 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003455/1.045, allocations: 94.38 kB / 0.6828 GB, free: 122.4 MB / 426.7 MB Notification: Performance of FrontEnd: time 0.2645/1.309, allocations: 85.88 MB / 0.7667 GB, free: 61.27 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.27e-05/1.309, allocations: 7.938 kB / 0.7667 GB, free: 61.26 MB / 426.7 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.0008227/1.31, allocations: 0.5292 MB / 0.7672 GB, free: 60.69 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/1.31, allocations: 12.03 kB / 0.7672 GB, free: 60.68 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005344/1.311, allocations: 39.61 kB / 0.7672 GB, free: 60.64 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004642/1.311, allocations: 282.8 kB / 0.7675 GB, free: 60.32 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.813e-05/1.311, allocations: 8 kB / 0.7675 GB, free: 60.31 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.236e-05/1.311, allocations: 20 kB / 0.7675 GB, free: 60.29 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004658/1.312, allocations: 177 kB / 0.7677 GB, free: 60.12 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005502/1.312, allocations: 255.5 kB / 0.7679 GB, free: 59.86 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.944e-05/1.312, allocations: 0 / 0.7679 GB, free: 59.86 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.953e-05/1.312, allocations: 0 / 0.7679 GB, free: 59.86 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.021e-05/1.312, allocations: 8 kB / 0.7679 GB, free: 59.85 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00211/1.315, allocations: 1.226 MB / 0.7691 GB, free: 58.5 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002708/1.315, allocations: 114.2 kB / 0.7693 GB, free: 58.39 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001911/1.315, allocations: 77.98 kB / 0.7693 GB, free: 58.31 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001644/1.315, allocations: 182.3 kB / 0.7695 GB, free: 58.09 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.543e-05/1.315, allocations: 30.75 kB / 0.7695 GB, free: 58.05 MB / 426.7 MB Notification: Performance of pre-optimization done (n=21): time 2.826e-06/1.315, allocations: 4 kB / 0.7695 GB, free: 58.05 MB / 426.7 MB Notification: Performance of matching and sorting (n=26): time 0.002804/1.318, allocations: 0.7843 MB / 0.7703 GB, free: 57.19 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.565e-05/1.318, allocations: 55.41 kB / 0.7704 GB, free: 57.12 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002843/1.318, allocations: 199 kB / 0.7705 GB, free: 56.92 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.263e-05/1.319, allocations: 25.7 kB / 0.7706 GB, free: 56.89 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.253e-05/1.319, allocations: 226.3 kB / 0.7708 GB, free: 56.66 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.84e-05/1.319, allocations: 90.66 kB / 0.7709 GB, free: 56.57 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.935e-05/1.319, allocations: 0 / 0.7709 GB, free: 56.57 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.38e-05/1.319, allocations: 326.8 kB / 0.7712 GB, free: 56.25 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001935/1.319, allocations: 68 kB / 0.7712 GB, free: 56.18 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000239/1.319, allocations: 165.5 kB / 0.7714 GB, free: 55.98 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003481/1.32, allocations: 104.4 kB / 0.7715 GB, free: 55.88 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/1.32, allocations: 0 / 0.7715 GB, free: 55.88 MB / 426.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009033/1.321, allocations: 400 kB / 0.7719 GB, free: 55.45 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/1.321, allocations: 4 kB / 0.7719 GB, free: 55.45 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.24e-05/1.321, allocations: 12.25 kB / 0.7719 GB, free: 55.44 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002284/1.321, allocations: 45.7 kB / 0.7719 GB, free: 55.39 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000603/1.321, allocations: 75.89 kB / 0.772 GB, free: 55.31 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001807/1.323, allocations: 2.442 MB / 0.7744 GB, free: 52.64 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003416/1.324, allocations: 15.89 kB / 0.7744 GB, free: 52.62 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.212e-05/1.324, allocations: 20 kB / 0.7744 GB, free: 52.6 MB / 426.7 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.0001811/1.324, allocations: 50.23 kB / 0.7745 GB, free: 52.55 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001042/1.324, allocations: 23.72 kB / 0.7745 GB, free: 52.52 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008188/1.325, allocations: 331.8 kB / 0.7748 GB, free: 52.18 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/1.325, allocations: 4 kB / 0.7748 GB, free: 52.17 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/1.325, allocations: 4 kB / 0.7748 GB, free: 52.17 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006078/1.326, allocations: 0.5957 MB / 0.7754 GB, free: 51.46 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001279/1.327, allocations: 0.6891 MB / 0.7761 GB, free: 50.71 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/1.327, allocations: 0 / 0.7761 GB, free: 50.71 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005498/1.327, allocations: 67.92 kB / 0.7761 GB, free: 50.64 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001085/1.328, allocations: 20.84 kB / 0.7762 GB, free: 50.62 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.67e-05/1.328, allocations: 4 kB / 0.7762 GB, free: 50.61 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008578/1.328, allocations: 1.213 MB / 0.7774 GB, free: 49.29 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/1.328, allocations: 0 / 0.7774 GB, free: 49.29 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000919/1.329, allocations: 0.4962 MB / 0.7778 GB, free: 48.74 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001098/1.33, allocations: 100.8 kB / 0.7779 GB, free: 48.62 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.156e-05/1.33, allocations: 0 / 0.7779 GB, free: 48.62 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004613/1.33, allocations: 15.89 kB / 0.778 GB, free: 48.61 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.31e-05/1.33, allocations: 19.95 kB / 0.778 GB, free: 48.59 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.454e-05/1.33, allocations: 11.98 kB / 0.778 GB, free: 48.58 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0001887/1.33, allocations: 161.7 kB / 0.7781 GB, free: 48.42 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000713/1.331, allocations: 107.9 kB / 0.7782 GB, free: 48.32 MB / 426.7 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.0004659/1.332, allocations: 247.3 kB / 0.7785 GB, free: 48.07 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0008089/1.332, allocations: 403.3 kB / 0.7789 GB, free: 47.66 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/1.332, allocations: 4 kB / 0.7789 GB, free: 47.65 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003634/1.333, allocations: 194.6 kB / 0.7791 GB, free: 47.45 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001253/1.334, allocations: 120.4 kB / 0.7792 GB, free: 47.33 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001286/1.335, allocations: 0.491 MB / 0.7796 GB, free: 46.81 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003909/1.336, allocations: 0.8078 MB / 0.7804 GB, free: 45.98 MB / 426.7 MB Notification: Performance of SimCode: time 1.072e-06/1.336, allocations: 0 / 0.7804 GB, free: 45.98 MB / 426.7 MB Notification: Performance of Templates: time 0.0122/1.348, allocations: 6.77 MB / 0.787 GB, free: 39.21 MB / 426.7 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