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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002392/0.002391, allocations: 178.4 kB / 8.362 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.212/2.212, allocations: 205.3 MB / 214.1 MB, free: 14.09 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001141/0.001141, allocations: 89.73 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.049e-05/2.067e-05, allocations: 0 / 314.8 MB, free: 9.156 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3625/0.3626, allocations: 47.56 MB / 362.3 MB, free: 45.8 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1533/0.516, allocations: 80.21 MB / 442.5 MB, free: 6.113 MB / 331.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003791/0.5164, allocations: 71.97 kB / 442.6 MB, free: 6.043 MB / 331.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.04631/0.5628, allocations: 9.436 MB / 452 MB, free: 12.61 MB / 347.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.5628, allocations: 0 / 452 MB, free: 12.61 MB / 347.1 MB Notification: Performance of Transformations before backend: time 5.038e-05/0.5629, allocations: 8 kB / 452 MB, free: 12.6 MB / 347.1 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.001689/0.5646, allocations: 0.6819 MB / 452.7 MB, free: 11.87 MB / 347.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.326e-05/0.5646, allocations: 8.031 kB / 452.7 MB, free: 11.86 MB / 347.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002129/0.5649, allocations: 59.34 kB / 452.8 MB, free: 11.8 MB / 347.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008604/0.5657, allocations: 368.3 kB / 453.2 MB, free: 11.4 MB / 347.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001377/0.5659, allocations: 54.81 kB / 453.2 MB, free: 11.34 MB / 347.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.285e-05/0.566, allocations: 21.59 kB / 453.2 MB, free: 11.32 MB / 347.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007457/0.5668, allocations: 241.5 kB / 453.5 MB, free: 11.09 MB / 347.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008681/0.5676, allocations: 395.3 kB / 453.9 MB, free: 10.64 MB / 347.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.129e-05/0.5677, allocations: 0 / 453.9 MB, free: 10.64 MB / 347.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5e-05/0.5678, allocations: 4 kB / 453.9 MB, free: 10.64 MB / 347.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.539e-05/0.5678, allocations: 8 kB / 453.9 MB, free: 10.63 MB / 347.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003275/0.5711, allocations: 1.174 MB / 455 MB, free: 9.395 MB / 347.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0018/0.5729, allocations: 410.3 kB / 455.4 MB, free: 8.965 MB / 347.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003449/0.5733, allocations: 126 kB / 455.6 MB, free: 8.84 MB / 347.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.262e-05/0.5734, allocations: 12.2 kB / 455.6 MB, free: 8.828 MB / 347.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.796e-05/0.5734, allocations: 38.84 kB / 455.6 MB, free: 8.781 MB / 347.1 MB Notification: Performance of pre-optimization done (n=33): time 2.956e-06/0.5734, allocations: 4 kB / 455.6 MB, free: 8.777 MB / 347.1 MB Notification: Performance of matching and sorting (n=33): time 0.001073/0.5745, allocations: 309.2 kB / 455.9 MB, free: 8.465 MB / 347.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002146/0.5748, allocations: 452.9 kB / 456.4 MB, free: 7.918 MB / 347.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006054/0.5754, allocations: 333.2 kB / 456.7 MB, free: 7.586 MB / 347.1 MB Notification: Performance of collectPreVariables (initialization): time 7.662e-05/0.5755, allocations: 29.7 kB / 456.7 MB, free: 7.551 MB / 347.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002132/0.5757, allocations: 275.9 kB / 457 MB, free: 7.277 MB / 347.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001387/0.5758, allocations: 114.3 kB / 457.1 MB, free: 7.164 MB / 347.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.609e-05/0.5759, allocations: 8 kB / 457.1 MB, free: 7.156 MB / 347.1 MB Notification: Performance of setup shared object (initialization): time 0.000163/0.5761, allocations: 318.8 kB / 457.4 MB, free: 6.836 MB / 347.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002652/0.5763, allocations: 92 kB / 457.5 MB, free: 6.746 MB / 347.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004269/0.5768, allocations: 226.7 kB / 457.7 MB, free: 6.469 MB / 347.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003274/0.5771, allocations: 112.7 kB / 457.8 MB, free: 6.363 MB / 347.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/0.5771, allocations: 0 / 457.8 MB, free: 6.363 MB / 347.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001058/0.5782, allocations: 340.9 kB / 458.2 MB, free: 6.02 MB / 347.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.229e-05/0.5783, allocations: 33.7 kB / 458.2 MB, free: 5.98 MB / 347.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.5783, allocations: 1.781 kB / 458.2 MB, free: 5.98 MB / 347.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004798/0.5788, allocations: 77.59 kB / 458.3 MB, free: 5.898 MB / 347.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006276/0.5794, allocations: 67.95 kB / 458.3 MB, free: 5.832 MB / 347.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003473/0.5829, allocations: 2.648 MB / 461 MB, free: 2.953 MB / 347.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006062/0.5836, allocations: 35.89 kB / 461 MB, free: 2.918 MB / 347.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.684e-05/0.5836, allocations: 15.94 kB / 461 MB, free: 2.902 MB / 347.1 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.0002746/0.5839, allocations: 123.5 kB / 461.2 MB, free: 2.777 MB / 347.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001306/0.5841, allocations: 43.53 kB / 461.2 MB, free: 2.734 MB / 347.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000148/0.5842, allocations: 48.75 kB / 461.3 MB, free: 2.684 MB / 347.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.875e-06/0.5843, allocations: 4 kB / 461.3 MB, free: 2.68 MB / 347.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.5843, allocations: 4 kB / 461.3 MB, free: 2.676 MB / 347.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008427/0.5851, allocations: 0.6144 MB / 461.9 MB, free: 1.957 MB / 347.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001779/0.5869, allocations: 0.8175 MB / 462.7 MB, free: 1.09 MB / 347.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.004e-06/0.587, allocations: 4 kB / 462.7 MB, free: 1.086 MB / 347.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006784/0.5877, allocations: 71.89 kB / 462.8 MB, free: 1.016 MB / 347.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.13e-05/0.5877, allocations: 5.031 kB / 462.8 MB, free: 1.012 MB / 347.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.061e-05/0.5877, allocations: 4 kB / 462.8 MB, free: 1.008 MB / 347.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.5878, allocations: 3.938 kB / 462.8 MB, free: 1.004 MB / 347.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.092e-06/0.5878, allocations: 4 kB / 462.8 MB, free: 1 MB / 347.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00112/0.5889, allocations: 485.7 kB / 463.3 MB, free: 0.5117 MB / 347.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003023/0.5892, allocations: 152.6 kB / 463.4 MB, free: 352 kB / 347.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.822e-05/0.5893, allocations: 4 kB / 463.4 MB, free: 348 kB / 347.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004323/0.5898, allocations: 11.98 kB / 463.4 MB, free: 336 kB / 347.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.789e-05/0.5899, allocations: 24.03 kB / 463.4 MB, free: 312 kB / 347.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.269e-05/0.5899, allocations: 12 kB / 463.5 MB, free: 300 kB / 347.1 MB Notification: Performance of sorting global known variables: time 0.0004457/0.5904, allocations: 259 kB / 463.7 MB, free: 44 kB / 347.1 MB Notification: Performance of sort global known variables: time 4.41e-07/0.5904, allocations: 2.062 kB / 463.7 MB, free: 44 kB / 347.1 MB Notification: Performance of remove unused functions: time 0.0007327/0.5911, allocations: 131.7 kB / 463.8 MB, free: 15.91 MB / 363.1 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.0002302/0.5914, allocations: 107.2 kB / 463.9 MB, free: 15.79 MB / 363.1 MB Notification: Performance of simCode: created initialization part: time 0.001517/0.5929, allocations: 0.527 MB / 464.5 MB, free: 15.24 MB / 363.1 MB Notification: Performance of simCode: created event and clocks part: time 6.944e-06/0.5929, allocations: 7.938 kB / 464.5 MB, free: 15.23 MB / 363.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003118/0.5933, allocations: 111.9 kB / 464.6 MB, free: 15.12 MB / 363.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008989/0.5942, allocations: 104.4 kB / 464.7 MB, free: 15.02 MB / 363.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001942/0.5961, allocations: 0.624 MB / 465.3 MB, free: 14.38 MB / 363.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004911/0.5967, allocations: 0.8315 MB / 466.2 MB, free: 13.52 MB / 363.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002224/0.5969, allocations: 43.38 kB / 466.2 MB, free: 13.48 MB / 363.1 MB Notification: Performance of SimCode: time 1.042e-06/0.5969, allocations: 0.75 kB / 466.2 MB, free: 13.48 MB / 363.1 MB Notification: Performance of Templates: time 0.01836/0.6153, allocations: 7.619 MB / 473.8 MB, free: 5.902 MB / 363.1 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