Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.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.Thermal.FluidHeatFlow.Examples.SimpleCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_3.2.3_cpp_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_3.2.3_cpp_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 3.2.3+maint.om/package.mo): time 0.002346/0.002345, allocations: 175 kB / 8.149 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.809/1.809, allocations: 205.2 MB / 213.7 MB, free: 13.88 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.001228/0.001227, allocations: 89.91 kB / 261.8 MB, free: 13.64 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 8.196e-06/8.315e-06, allocations: 0 / 314.3 MB, free: 9.055 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2338/0.2339, allocations: 47.55 MB / 361.8 MB, free: 45.66 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1209/0.3548, allocations: 80.14 MB / 442 MB, free: 5.93 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002704/0.3552, allocations: 71.89 kB / 442 MB, free: 5.859 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.04672/0.4019, allocations: 9.222 MB / 451.3 MB, free: 12.64 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.46e-05/0.402, allocations: 8 kB / 451.3 MB, free: 12.63 MB / 346.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.00169/0.4037, allocations: 0.6935 MB / 452 MB, free: 11.89 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.171e-05/0.4038, allocations: 8.031 kB / 452 MB, free: 11.88 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002578/0.404, allocations: 63.34 kB / 452 MB, free: 11.82 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001022/0.4051, allocations: 378.4 kB / 452.4 MB, free: 11.41 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001603/0.4053, allocations: 50.34 kB / 452.4 MB, free: 11.36 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.124e-05/0.4054, allocations: 20 kB / 452.5 MB, free: 11.34 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008808/0.4063, allocations: 237.3 kB / 452.7 MB, free: 11.1 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009876/0.4073, allocations: 393.6 kB / 453.1 MB, free: 10.66 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.444e-05/0.4074, allocations: 4 kB / 453.1 MB, free: 10.66 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.691e-05/0.4074, allocations: 4 kB / 453.1 MB, free: 10.66 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.484e-05/0.4075, allocations: 8 kB / 453.1 MB, free: 10.65 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003918/0.4114, allocations: 1.166 MB / 454.3 MB, free: 9.418 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001152/0.4126, allocations: 357.3 kB / 454.6 MB, free: 9.039 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003987/0.4131, allocations: 130.7 kB / 454.7 MB, free: 8.91 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.322e-05/0.4131, allocations: 4.281 kB / 454.7 MB, free: 8.906 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.305e-05/0.4132, allocations: 42.83 kB / 454.8 MB, free: 8.855 MB / 346.7 MB Notification: Performance of pre-optimization done (n=33): time 3.146e-06/0.4132, allocations: 0 / 454.8 MB, free: 8.855 MB / 346.7 MB Notification: Performance of matching and sorting (n=33): time 0.001308/0.4145, allocations: 317.2 kB / 455.1 MB, free: 8.535 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000233/0.4148, allocations: 441 kB / 455.5 MB, free: 8 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007403/0.4156, allocations: 336.8 kB / 455.9 MB, free: 7.664 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001254/0.4157, allocations: 25.7 kB / 455.9 MB, free: 7.633 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001522/0.4159, allocations: 222.6 kB / 456.1 MB, free: 7.414 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001833/0.4161, allocations: 114.3 kB / 456.2 MB, free: 7.301 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.737e-05/0.4161, allocations: 0 / 456.2 MB, free: 7.301 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001468/0.4163, allocations: 326.8 kB / 456.5 MB, free: 6.973 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003279/0.4166, allocations: 91.5 kB / 456.6 MB, free: 6.887 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005001/0.4171, allocations: 227.9 kB / 456.8 MB, free: 6.609 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004171/0.4176, allocations: 118.3 kB / 457 MB, free: 6.496 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.021e-06/0.4176, allocations: 0 / 457 MB, free: 6.496 MB / 346.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.00126/0.4189, allocations: 340.8 kB / 457.3 MB, free: 6.152 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.812e-05/0.4189, allocations: 7.984 kB / 457.3 MB, free: 6.145 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/0.419, allocations: 4 kB / 457.3 MB, free: 6.141 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004111/0.4194, allocations: 57.72 kB / 457.4 MB, free: 6.078 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007332/0.4201, allocations: 67.91 kB / 457.4 MB, free: 6.012 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00356/0.4237, allocations: 2.622 MB / 460 MB, free: 3.156 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004945/0.4243, allocations: 31.81 kB / 460.1 MB, free: 3.125 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.996e-05/0.4243, allocations: 8 kB / 460.1 MB, free: 3.117 MB / 346.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 ambient1.flowPort.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 {3 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002321/0.4246, allocations: 51.86 kB / 460.1 MB, free: 3.062 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001868/0.4248, allocations: 43.53 kB / 460.2 MB, free: 3.02 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001908/0.425, allocations: 48.36 kB / 460.2 MB, free: 2.973 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.397e-06/0.425, allocations: 4 kB / 460.2 MB, free: 2.969 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.425, allocations: 0 / 460.2 MB, free: 2.969 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009657/0.426, allocations: 0.6182 MB / 460.8 MB, free: 2.246 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002198/0.4282, allocations: 0.8253 MB / 461.7 MB, free: 1.371 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/0.4283, allocations: 0 / 461.7 MB, free: 1.371 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007821/0.4291, allocations: 71.89 kB / 461.7 MB, free: 1.301 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.183e-05/0.4291, allocations: 0 / 461.7 MB, free: 1.301 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.792e-05/0.4292, allocations: 7.984 kB / 461.7 MB, free: 1.293 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.107e-05/0.4292, allocations: 3.906 kB / 461.8 MB, free: 1.289 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.357e-06/0.4292, allocations: 0 / 461.8 MB, free: 1.289 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001279/0.4305, allocations: 491 kB / 462.2 MB, free: 0.7969 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004057/0.431, allocations: 160.5 kB / 462.4 MB, free: 0.6211 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000118/0.4311, allocations: 0 / 462.4 MB, free: 0.6211 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005099/0.4316, allocations: 11.98 kB / 462.4 MB, free: 0.6094 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.563e-05/0.4317, allocations: 19.92 kB / 462.4 MB, free: 0.5898 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.636e-05/0.4318, allocations: 23.83 kB / 462.4 MB, free: 0.5664 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0005164/0.4323, allocations: 263.3 kB / 462.7 MB, free: 316 kB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007913/0.4331, allocations: 123.8 kB / 462.8 MB, free: 192 kB / 346.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.0002666/0.4334, allocations: 111.2 kB / 462.9 MB, free: 68 kB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001393/0.4349, allocations: 489.6 kB / 463.4 MB, free: 15.56 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.74e-06/0.4349, allocations: 0 / 463.4 MB, free: 15.56 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003476/0.4353, allocations: 119.9 kB / 463.5 MB, free: 15.45 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001083/0.4364, allocations: 104.3 kB / 463.6 MB, free: 15.35 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0026/0.439, allocations: 0.6243 MB / 464.3 MB, free: 14.7 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008175/0.4399, allocations: 0.8775 MB / 465.1 MB, free: 13.8 MB / 362.7 MB Notification: Performance of SimCode: time 1.803e-06/0.4399, allocations: 0 / 465.1 MB, free: 13.8 MB / 362.7 MB Notification: Performance of Templates: time 0.01841/0.4584, allocations: 7.677 MB / 472.8 MB, free: 6.16 MB / 362.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.sim & ./Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/SimpleCooling/SimpleCooling.csv","../files/Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches