Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.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.Thermal.FluidHeatFlow.Examples.SimpleCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") [: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 4.0.0+maint.om/package.mo): time 0.00102/0.00102, allocations: 183.5 kB / 8.138 MB, free: 2.219 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.159/1.159, allocations: 221.4 MB / 229.9 MB, free: 3 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008929/0.000893, allocations: 94.41 kB / 280.8 MB, free: 1.242 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 7.464e-06/7.585e-06, allocations: 4 kB / 336.5 MB, free: 9.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1907/0.1907, allocations: 50.4 MB / 386.9 MB, free: 37.95 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08649/0.2772, allocations: 79.52 MB / 466.4 MB, free: 7.254 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000185/0.2774, allocations: 76.47 kB / 466.5 MB, free: 7.18 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.02398/0.3014, allocations: 9.066 MB / 475.6 MB, free: 14.11 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.294e-05/0.3015, allocations: 23.92 kB / 475.6 MB, free: 14.08 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.0009566/0.3025, allocations: 0.6829 MB / 476.3 MB, free: 13.34 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/0.3025, allocations: 12.03 kB / 476.3 MB, free: 13.33 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000109/0.3026, allocations: 63.34 kB / 476.3 MB, free: 13.27 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005286/0.3032, allocations: 376.1 kB / 476.7 MB, free: 12.86 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.542e-05/0.3033, allocations: 50.34 kB / 476.8 MB, free: 12.81 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.837e-05/0.3033, allocations: 20 kB / 476.8 MB, free: 12.79 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004775/0.3038, allocations: 241.3 kB / 477 MB, free: 12.55 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000557/0.3044, allocations: 391.6 kB / 477.4 MB, free: 12.11 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.3044, allocations: 0 / 477.4 MB, free: 12.11 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.942e-05/0.3044, allocations: 4 kB / 477.4 MB, free: 12.11 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.608e-06/0.3045, allocations: 8 kB / 477.4 MB, free: 12.1 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00196/0.3064, allocations: 1.181 MB / 478.6 MB, free: 10.86 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000589/0.307, allocations: 356.3 kB / 478.9 MB, free: 10.48 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001987/0.3072, allocations: 113.4 kB / 479.1 MB, free: 10.37 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.99e-05/0.3073, allocations: 20.25 kB / 479.1 MB, free: 10.35 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.486e-05/0.3073, allocations: 38.84 kB / 479.1 MB, free: 10.3 MB / 362.7 MB Notification: Performance of pre-optimization done (n=33): time 1.693e-06/0.3073, allocations: 0 / 479.1 MB, free: 10.3 MB / 362.7 MB Notification: Performance of matching and sorting (n=33): time 0.0006839/0.308, allocations: 313.2 kB / 479.4 MB, free: 9.984 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001782/0.3082, allocations: 449 kB / 479.9 MB, free: 9.441 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003731/0.3086, allocations: 328.8 kB / 480.2 MB, free: 9.113 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.149e-05/0.3086, allocations: 33.7 kB / 480.2 MB, free: 9.074 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001063/0.3087, allocations: 180.2 kB / 480.4 MB, free: 8.895 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.253e-05/0.3088, allocations: 110.3 kB / 480.5 MB, free: 8.785 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.861e-05/0.3088, allocations: 4 kB / 480.5 MB, free: 8.781 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001319/0.309, allocations: 350.8 kB / 480.8 MB, free: 8.43 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001911/0.3092, allocations: 91.78 kB / 480.9 MB, free: 8.34 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002793/0.3095, allocations: 227.8 kB / 481.2 MB, free: 8.066 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001941/0.3097, allocations: 117.5 kB / 481.3 MB, free: 7.953 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.3097, allocations: 0 / 481.3 MB, free: 7.953 MB / 362.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.000642/0.3103, allocations: 364.3 kB / 481.6 MB, free: 7.586 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.3103, allocations: 4 kB / 481.6 MB, free: 7.582 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.3104, allocations: 0 / 481.6 MB, free: 7.582 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003056/0.3107, allocations: 77.69 kB / 481.7 MB, free: 7.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003556/0.311, allocations: 71.89 kB / 481.8 MB, free: 7.43 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002386/0.3134, allocations: 2.629 MB / 484.4 MB, free: 4.562 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003108/0.3138, allocations: 31.78 kB / 484.4 MB, free: 4.531 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.753e-05/0.3138, allocations: 12.06 kB / 484.4 MB, free: 4.52 MB / 362.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient2.flowPort.h:VARIABLE(flow=false unit = "J/kg" ) type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pipe.flowPort_a.h:VARIABLE(flow=false unit = "J/kg" ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 1 * 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: 0 * Non-linear torn systems: 2 {1 3,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001536/0.314, allocations: 119.3 kB / 484.6 MB, free: 4.398 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.939e-05/0.314, allocations: 43.53 kB / 484.6 MB, free: 4.355 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001195/0.3142, allocations: 48.27 kB / 484.7 MB, free: 4.309 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.3142, allocations: 4 kB / 484.7 MB, free: 4.305 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.3142, allocations: 0 / 484.7 MB, free: 4.305 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005392/0.3147, allocations: 0.6182 MB / 485.3 MB, free: 3.582 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001106/0.3158, allocations: 0.8137 MB / 486.1 MB, free: 2.719 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.3159, allocations: 3.938 kB / 486.1 MB, free: 2.715 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003934/0.3163, allocations: 71.89 kB / 486.2 MB, free: 2.645 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.297e-06/0.3163, allocations: 4 kB / 486.2 MB, free: 2.641 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.806e-05/0.3163, allocations: 11.89 kB / 486.2 MB, free: 2.629 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.3163, allocations: 8 kB / 486.2 MB, free: 2.621 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.3163, allocations: 0 / 486.2 MB, free: 2.621 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006252/0.317, allocations: 479.2 kB / 486.7 MB, free: 2.137 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001647/0.3171, allocations: 156.7 kB / 486.8 MB, free: 1.965 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.673e-05/0.3172, allocations: 7.984 kB / 486.8 MB, free: 1.957 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002527/0.3175, allocations: 11.98 kB / 486.8 MB, free: 1.945 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.425e-05/0.3175, allocations: 27.94 kB / 486.9 MB, free: 1.918 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.107e-05/0.3176, allocations: 4 kB / 486.9 MB, free: 1.914 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0002681/0.3178, allocations: 263.2 kB / 487.1 MB, free: 1.66 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000421/0.3183, allocations: 127.8 kB / 487.2 MB, free: 1.535 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipe.T,heatCapacitor.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 33 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001591/0.3184, allocations: 111.2 kB / 487.3 MB, free: 1.418 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008787/0.3193, allocations: 0.4901 MB / 487.8 MB, free: 0.9023 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.3193, allocations: 0 / 487.8 MB, free: 0.9023 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001987/0.3195, allocations: 119.9 kB / 488 MB, free: 0.7852 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004733/0.32, allocations: 100.6 kB / 488.1 MB, free: 0.6914 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001299/0.3213, allocations: 0.5952 MB / 488.6 MB, free: 76 kB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005044/0.3218, allocations: 0.8819 MB / 489.5 MB, free: 15.17 MB / 378.7 MB Notification: Performance of SimCode: time 3.5e-07/0.3218, allocations: 3.938 kB / 489.5 MB, free: 15.16 MB / 378.7 MB Notification: Performance of Templates: time 0.01222/0.3341, allocations: 6.73 MB / 496.3 MB, free: 8.574 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.makefile (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.sim & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/SimpleCooling/SimpleCooling.csv","../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches