Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling") [: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 trunk/package.mo): time 0.001405/0.001405, allocations: 195.4 kB / 8.54 MB, free: 1.816 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.311/1.311, allocations: 225.5 MB / 234.4 MB, free: 3.422 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001038/0.001038, allocations: 86.31 kB / 286.3 MB, free: 5.246 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 7.063e-06/7.083e-06, allocations: 0 / 343.1 MB, free: 8.742 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1169/0.1169, allocations: 51.46 MB / 394.6 MB, free: 5.223 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.265/0.3819, allocations: 81.06 MB / 475.7 MB, free: 11.68 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001927/0.3822, allocations: 72.8 kB / 475.7 MB, free: 11.65 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.03642/0.4186, allocations: 15.63 MB / 491.4 MB, free: 15.7 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.654e-05/0.4187, allocations: 12 kB / 491.4 MB, free: 15.69 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001705/0.4204, allocations: 1.057 MB / 492.4 MB, free: 14.62 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.4204, allocations: 11.97 kB / 492.4 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000188/0.4206, allocations: 106.9 kB / 492.6 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007864/0.4214, allocations: 0.5168 MB / 493.1 MB, free: 14.03 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002051/0.4216, allocations: 134.4 kB / 493.2 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.466e-05/0.4217, allocations: 39.91 kB / 493.2 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008209/0.4226, allocations: 471.6 kB / 493.7 MB, free: 13.55 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009342/0.4235, allocations: 0.7193 MB / 494.4 MB, free: 12.9 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.88e-05/0.4235, allocations: 3.391 kB / 494.4 MB, free: 12.9 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.032e-05/0.4236, allocations: 0 / 494.4 MB, free: 12.9 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.67e-05/0.4236, allocations: 16 kB / 494.4 MB, free: 12.88 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003133/0.4268, allocations: 1.986 MB / 496.4 MB, free: 11.34 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001477/0.4282, allocations: 0.8443 MB / 497.3 MB, free: 10.62 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005215/0.4288, allocations: 320.1 kB / 497.6 MB, free: 10.43 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.148e-05/0.4289, allocations: 17.7 kB / 497.6 MB, free: 10.42 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.366e-05/0.4289, allocations: 49.97 kB / 497.6 MB, free: 10.37 MB / 362.7 MB Notification: Performance of pre-optimization done (n=74): time 2.054e-06/0.4289, allocations: 0 / 497.6 MB, free: 10.37 MB / 362.7 MB Notification: Performance of matching and sorting (n=74): time 0.002051/0.431, allocations: 0.8249 MB / 498.5 MB, free: 9.707 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003379/0.4313, allocations: 0.8226 MB / 499.3 MB, free: 8.691 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005442/0.4319, allocations: 480.4 kB / 499.8 MB, free: 8.336 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.335e-05/0.4319, allocations: 29.7 kB / 499.8 MB, free: 8.301 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001402/0.4321, allocations: 233.7 kB / 0.4883 GB, free: 8.098 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001839/0.4323, allocations: 251.1 kB / 0.4885 GB, free: 7.879 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.234e-05/0.4323, allocations: 0 / 0.4885 GB, free: 7.879 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001539/0.4325, allocations: 378.4 kB / 0.4889 GB, free: 7.531 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003281/0.4328, allocations: 199.4 kB / 0.4891 GB, free: 7.422 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005351/0.4334, allocations: 471.5 kB / 0.4895 GB, free: 6.98 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004031/0.4338, allocations: 244.6 kB / 0.4898 GB, free: 6.832 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.4338, allocations: 4 kB / 0.4898 GB, free: 6.828 MB / 362.7 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002094/0.4359, allocations: 0.8961 MB / 0.4907 GB, free: 6.109 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.4359, allocations: 4 kB / 0.4907 GB, free: 6.105 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.4359, allocations: 0 / 0.4907 GB, free: 6.105 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006585/0.4366, allocations: 214.5 kB / 0.4909 GB, free: 5.938 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006035/0.4372, allocations: 141.6 kB / 0.491 GB, free: 5.805 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0065/0.4437, allocations: 5.977 MB / 0.4968 GB, free: 15.51 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008631/0.4446, allocations: 88.86 kB / 0.4969 GB, free: 15.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.513e-05/0.4447, allocations: 20.06 kB / 0.4969 GB, free: 15.41 MB / 378.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: pipe1.flowPort_b.h:VARIABLE(flow=false unit = "J/kg" ) type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pipe1.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: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 5,1 3,1 7,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003235/0.445, allocations: 131.2 kB / 0.4971 GB, free: 15.27 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002709/0.4453, allocations: 83.06 kB / 0.4971 GB, free: 15.19 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002274/0.4455, allocations: 75.66 kB / 0.4972 GB, free: 15.11 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.016e-06/0.4456, allocations: 8 kB / 0.4972 GB, free: 15.11 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.111e-05/0.4456, allocations: 4 kB / 0.4972 GB, free: 15.1 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00228/0.4479, allocations: 1.126 MB / 0.4983 GB, free: 13.86 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003605/0.4515, allocations: 1.743 MB / 0.5 GB, free: 12.06 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.601e-06/0.4515, allocations: 1.5 kB / 0.5 GB, free: 12.06 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006945/0.4522, allocations: 135.8 kB / 0.5002 GB, free: 11.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004718/0.4527, allocations: 170.3 kB / 0.5003 GB, free: 11.76 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.08e-05/0.4528, allocations: 15.89 kB / 0.5003 GB, free: 11.74 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006166/0.4589, allocations: 4.634 MB / 0.5049 GB, free: 6.766 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.961e-06/0.459, allocations: 0 / 0.5049 GB, free: 6.766 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00275/0.4618, allocations: 1.247 MB / 0.5061 GB, free: 5.473 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005147/0.4623, allocations: 232 kB / 0.5063 GB, free: 5.227 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001204/0.4624, allocations: 7.906 kB / 0.5063 GB, free: 5.219 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004822/0.4629, allocations: 31.92 kB / 0.5063 GB, free: 5.188 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001173/0.463, allocations: 44.58 kB / 0.5064 GB, free: 5.145 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.321e-05/0.4631, allocations: 16 kB / 0.5064 GB, free: 5.129 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0005111/0.4636, allocations: 366.9 kB / 0.5067 GB, free: 4.773 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009361/0.4645, allocations: 263.6 kB / 0.507 GB, free: 4.516 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 5 (pipe1.T,pipe2.T,pipe3.T,heatCapacitor1.T,heatCapacitor2.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 59 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 3,1 3,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002391/0.4648, allocations: 131.1 kB / 0.5071 GB, free: 4.379 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001841/0.4666, allocations: 1.045 MB / 0.5081 GB, free: 3.281 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/0.4667, allocations: 6.062 kB / 0.5082 GB, free: 3.277 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001086/0.4678, allocations: 0.6562 MB / 0.5088 GB, free: 2.594 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008469/0.4686, allocations: 182.1 kB / 0.509 GB, free: 2.43 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002645/0.4713, allocations: 1.214 MB / 0.5102 GB, free: 1.176 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006543/0.4719, allocations: 1.025 MB / 0.5112 GB, free: 128 kB / 378.7 MB Notification: Performance of SimCode: time 4.81e-07/0.4719, allocations: 0 / 0.5112 GB, free: 128 kB / 378.7 MB Notification: Performance of Templates: time 0.02316/0.4951, allocations: 14.72 MB / 0.5255 GB, free: 1.711 MB / 394.7 MB make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.makefile (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.sim & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/ParallelCooling/ParallelCooling.csv","../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches