Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.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.ParallelPumpDropOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut") [: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.002468/0.002467, allocations: 186.2 kB / 8.153 MB, free: 2.199 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.739/1.739, allocations: 205.2 MB / 213.8 MB, free: 13.93 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.001314/0.001314, allocations: 87.33 kB / 261.8 MB, free: 13.63 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.15e-05/1.18e-05, allocations: 0 / 314.3 MB, free: 9.059 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3294/0.3295, allocations: 47.55 MB / 361.8 MB, free: 45.67 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1914/0.5209, allocations: 82 MB / 443.8 MB, free: 4.078 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003719/0.5214, allocations: 63.97 kB / 443.9 MB, free: 4.016 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.117/0.6384, allocations: 16.7 MB / 460.6 MB, free: 3.273 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.822e-05/0.6385, allocations: 23.98 kB / 460.6 MB, free: 3.25 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: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.003392/0.6419, allocations: 1.13 MB / 461.7 MB, free: 2.059 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.952e-05/0.642, allocations: 13.25 kB / 461.8 MB, free: 2.047 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004131/0.6424, allocations: 114.8 kB / 461.9 MB, free: 1.934 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001577/0.644, allocations: 0.5551 MB / 462.4 MB, free: 1.332 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000309/0.6444, allocations: 130.4 kB / 462.6 MB, free: 1.188 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001647/0.6445, allocations: 44 kB / 462.6 MB, free: 1.145 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001683/0.6462, allocations: 494.5 kB / 463.1 MB, free: 0.6602 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001828/0.6481, allocations: 0.7274 MB / 463.8 MB, free: 15.83 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.973e-05/0.6482, allocations: 0 / 463.8 MB, free: 15.83 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001017/0.6483, allocations: 7.906 kB / 463.8 MB, free: 15.82 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.918e-05/0.6483, allocations: 15.98 kB / 463.8 MB, free: 15.81 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006397/0.6547, allocations: 2.098 MB / 465.9 MB, free: 13.62 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002172/0.6569, allocations: 0.8442 MB / 466.8 MB, free: 12.71 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009682/0.658, allocations: 335.5 kB / 467.1 MB, free: 12.38 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.962e-05/0.6581, allocations: 18.14 kB / 467.1 MB, free: 12.37 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.6e-05/0.6581, allocations: 52.09 kB / 467.2 MB, free: 12.31 MB / 362.7 MB Notification: Performance of pre-optimization done (n=78): time 3.727e-06/0.6581, allocations: 0 / 467.2 MB, free: 12.31 MB / 362.7 MB Notification: Performance of matching and sorting (n=78): time 0.004011/0.6622, allocations: 0.873 MB / 468 MB, free: 11.41 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003726/0.6626, allocations: 0.8234 MB / 468.9 MB, free: 10.39 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001138/0.6637, allocations: 0.4958 MB / 469.4 MB, free: 9.891 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002073/0.664, allocations: 29.7 kB / 469.4 MB, free: 9.855 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001657/0.6642, allocations: 251.3 kB / 469.6 MB, free: 9.609 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003392/0.6645, allocations: 264 kB / 469.9 MB, free: 9.348 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.672e-05/0.6646, allocations: 0 / 469.9 MB, free: 9.348 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001458/0.6647, allocations: 342.7 kB / 470.2 MB, free: 9.004 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007348/0.6655, allocations: 219.4 kB / 470.4 MB, free: 8.793 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001034/0.6665, allocations: 480.1 kB / 470.9 MB, free: 8.219 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00079/0.6673, allocations: 258 kB / 471.2 MB, free: 7.969 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.139e-06/0.6674, allocations: 0 / 471.2 MB, free: 7.969 MB / 362.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.003967/0.6713, allocations: 0.8842 MB / 472 MB, free: 7.066 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.345e-05/0.6714, allocations: 4.844 kB / 472 MB, free: 7.062 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.271e-05/0.6714, allocations: 0 / 472 MB, free: 7.062 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001081/0.6725, allocations: 211.2 kB / 472.3 MB, free: 6.844 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001488/0.674, allocations: 155.8 kB / 472.4 MB, free: 6.691 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01012/0.6842, allocations: 5.949 MB / 478.4 MB, free: 284 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001202/0.6854, allocations: 104.9 kB / 478.5 MB, free: 180 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001025/0.6856, allocations: 28.05 kB / 478.5 MB, free: 152 kB / 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: 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 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: 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 (74): * Single equations (assignments): 67 * 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 {3 3,1 3,1 7,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003161/0.6859, allocations: 56.47 kB / 478.5 MB, free: 92 kB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002985/0.6862, allocations: 86.97 kB / 478.6 MB, free: 4 kB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003267/0.6865, allocations: 84.08 kB / 478.7 MB, free: 15.91 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.234e-05/0.6866, allocations: 11.94 kB / 478.7 MB, free: 15.9 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.847e-06/0.6866, allocations: 0 / 478.7 MB, free: 15.9 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003695/0.6903, allocations: 1.162 MB / 479.9 MB, free: 14.62 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006334/0.6967, allocations: 1.804 MB / 481.7 MB, free: 12.77 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.586e-06/0.6967, allocations: 0 / 481.7 MB, free: 12.77 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001607/0.6983, allocations: 161.4 kB / 481.8 MB, free: 12.61 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007691/0.6991, allocations: 170.5 kB / 482 MB, free: 12.43 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001007/0.6993, allocations: 4 kB / 482 MB, free: 12.43 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009005/0.7083, allocations: 4.634 MB / 486.6 MB, free: 7.449 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.195e-06/0.7083, allocations: 3.906 kB / 486.7 MB, free: 7.445 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004791/0.7131, allocations: 1.281 MB / 487.9 MB, free: 6.137 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006977/0.7139, allocations: 247.9 kB / 488.2 MB, free: 5.875 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002145/0.7141, allocations: 0 / 488.2 MB, free: 5.875 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001095/0.7152, allocations: 55.86 kB / 488.2 MB, free: 5.82 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002081/0.7154, allocations: 44.58 kB / 488.3 MB, free: 5.777 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.872e-05/0.7155, allocations: 23.98 kB / 488.3 MB, free: 5.754 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0008179/0.7164, allocations: 399.2 kB / 488.7 MB, free: 5.371 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001328/0.7177, allocations: 267.5 kB / 488.9 MB, free: 5.109 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (66): * Single equations (assignments): 63 * 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.0002982/0.718, allocations: 125 kB / 489.1 MB, free: 4.98 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002634/0.7207, allocations: 1.074 MB / 490.1 MB, free: 3.852 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.02e-05/0.7207, allocations: 8.062 kB / 490.2 MB, free: 3.844 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002027/0.7228, allocations: 0.6755 MB / 490.8 MB, free: 3.133 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001699/0.7245, allocations: 184.3 kB / 491 MB, free: 2.957 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00458/0.7291, allocations: 1.305 MB / 492.3 MB, free: 1.613 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001074/0.7302, allocations: 1.047 MB / 493.4 MB, free: 0.5352 MB / 378.7 MB Notification: Performance of SimCode: time 1.292e-06/0.7303, allocations: 4 kB / 493.4 MB, free: 0.5312 MB / 378.7 MB Notification: Performance of Templates: time 0.1701/0.9004, allocations: 22.03 MB / 0.5033 GB, free: 160.5 MB / 394.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.sim & ./Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/ParallelPumpDropOut/ParallelPumpDropOut.csv","../files/Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches