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.001501/0.001504, allocations: 181.4 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.964/1.964, allocations: 205.2 MB / 219.4 MB, free: 14.29 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.001055/0.001055, allocations: 86.66 kB / 267.5 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.417e-05/3.448e-05, allocations: 4 kB / 321.5 MB, free: 17.86 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09314/0.0932, allocations: 47.57 MB / 369.1 MB, free: 2.23 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3912/0.4845, allocations: 80.86 MB / 449.9 MB, free: 12.36 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002651/0.4848, allocations: 73.45 kB / 450 MB, free: 12.32 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04052/0.5253, allocations: 9.546 MB / 459.6 MB, free: 4.293 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.5254, allocations: 4 kB / 459.6 MB, free: 4.289 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.346e-05/0.5254, allocations: 8 kB / 459.6 MB, free: 4.281 MB / 330.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.001499/0.5269, allocations: 0.6838 MB / 460.3 MB, free: 3.582 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.142e-05/0.527, allocations: 12.03 kB / 460.3 MB, free: 3.57 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001704/0.5272, allocations: 59.34 kB / 460.3 MB, free: 3.512 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007906/0.528, allocations: 373.9 kB / 460.7 MB, free: 3.152 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001433/0.5282, allocations: 58.28 kB / 460.7 MB, free: 3.098 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.368e-05/0.5283, allocations: 35.56 kB / 460.8 MB, free: 3.074 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009656/0.5292, allocations: 445 kB / 461.2 MB, free: 2.699 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.065e-05/0.5293, allocations: 0 / 461.2 MB, free: 2.699 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.424e-05/0.5293, allocations: 11.81 kB / 461.2 MB, free: 2.695 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.036e-05/0.5294, allocations: 8 kB / 461.2 MB, free: 2.688 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007305/0.5301, allocations: 259.1 kB / 461.5 MB, free: 2.52 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003345/0.5335, allocations: 1.256 MB / 462.7 MB, free: 1.289 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001889/0.5354, allocations: 429.6 kB / 463.2 MB, free: 0.8398 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003931/0.5359, allocations: 133.4 kB / 463.3 MB, free: 0.707 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.941e-05/0.5359, allocations: 12.22 kB / 463.3 MB, free: 0.6953 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.637e-05/0.536, allocations: 34.84 kB / 463.3 MB, free: 0.6523 MB / 330.7 MB Notification: Performance of pre-optimization done (n=33): time 2.845e-06/0.536, allocations: 4 kB / 463.3 MB, free: 0.6484 MB / 330.7 MB Notification: Performance of matching and sorting (n=33): time 0.001217/0.5372, allocations: 344.8 kB / 463.7 MB, free: 308 kB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002374/0.5375, allocations: 448.9 kB / 464.1 MB, free: 15.76 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007891/0.5383, allocations: 399.1 kB / 464.5 MB, free: 15.36 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.647e-05/0.5384, allocations: 33.7 kB / 464.5 MB, free: 15.32 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002179/0.5386, allocations: 262.9 kB / 464.8 MB, free: 15.06 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001536/0.5388, allocations: 122.3 kB / 464.9 MB, free: 14.94 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.848e-05/0.5389, allocations: 4 kB / 464.9 MB, free: 14.94 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001407/0.539, allocations: 326.8 kB / 465.2 MB, free: 14.61 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000314/0.5393, allocations: 92 kB / 465.3 MB, free: 14.52 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000489/0.5398, allocations: 243.6 kB / 465.6 MB, free: 14.23 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003981/0.5402, allocations: 158 kB / 465.7 MB, free: 14.07 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.5403, allocations: 0 / 465.7 MB, free: 14.07 MB / 346.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001195/0.5415, allocations: 394.6 kB / 466.1 MB, free: 13.67 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.827e-05/0.5415, allocations: 33.73 kB / 466.1 MB, free: 13.63 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/0.5416, allocations: 3.938 kB / 466.1 MB, free: 13.62 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005082/0.5421, allocations: 73.69 kB / 466.2 MB, free: 13.55 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006396/0.5427, allocations: 75.89 kB / 466.3 MB, free: 13.47 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003863/0.5466, allocations: 2.752 MB / 469 MB, free: 10.45 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006562/0.5473, allocations: 51.58 kB / 469.1 MB, free: 10.4 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.695e-05/0.5474, allocations: 12 kB / 469.1 MB, free: 10.39 MB / 346.7 MB 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.0001952/0.5476, allocations: 129.8 kB / 469.2 MB, free: 10.25 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001573/0.5478, allocations: 51.44 kB / 469.3 MB, free: 10.2 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001832/0.548, allocations: 56.81 kB / 469.3 MB, free: 10.15 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.548, allocations: 0 / 469.3 MB, free: 10.15 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.053e-05/0.548, allocations: 7.953 kB / 469.3 MB, free: 10.14 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009601/0.549, allocations: 0.6336 MB / 470 MB, free: 9.402 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002059/0.5511, allocations: 0.8995 MB / 470.9 MB, free: 8.441 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.139e-06/0.5511, allocations: 0 / 470.9 MB, free: 8.441 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006885/0.5518, allocations: 71.95 kB / 470.9 MB, free: 8.371 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.064e-05/0.5519, allocations: 7.891 kB / 471 MB, free: 8.363 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.554e-05/0.5519, allocations: 8 kB / 471 MB, free: 8.355 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.448e-06/0.5519, allocations: 3.938 kB / 471 MB, free: 8.352 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.5519, allocations: 3.984 kB / 471 MB, free: 8.348 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001159/0.5531, allocations: 0.4987 MB / 471.5 MB, free: 7.832 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003283/0.5535, allocations: 160.5 kB / 471.6 MB, free: 7.656 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001053/0.5536, allocations: 11.95 kB / 471.6 MB, free: 7.645 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004601/0.5541, allocations: 19.98 kB / 471.7 MB, free: 7.625 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.742e-05/0.5542, allocations: 15.98 kB / 471.7 MB, free: 7.609 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.363e-05/0.5542, allocations: 11.98 kB / 471.7 MB, free: 7.598 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0005923/0.5548, allocations: 313.2 kB / 472 MB, free: 7.293 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.5548, allocations: 64 / 472 MB, free: 7.293 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000693/0.5555, allocations: 139.8 kB / 472.1 MB, free: 7.156 MB / 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.0002557/0.5558, allocations: 124 kB / 472.2 MB, free: 7.027 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001601/0.5574, allocations: 0.5511 MB / 472.8 MB, free: 6.438 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.5575, allocations: 0 / 472.8 MB, free: 6.438 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003366/0.5578, allocations: 124.5 kB / 472.9 MB, free: 6.316 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009904/0.5588, allocations: 116.2 kB / 473 MB, free: 6.199 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002013/0.5609, allocations: 0.6523 MB / 473.7 MB, free: 5.52 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005041/0.5614, allocations: 0.8237 MB / 474.5 MB, free: 4.664 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002474/0.5617, allocations: 47.42 kB / 474.6 MB, free: 4.621 MB / 346.7 MB Notification: Performance of SimCode: time 1.052e-06/0.5617, allocations: 0 / 474.6 MB, free: 4.621 MB / 346.7 MB Notification: Performance of Templates: time 0.01799/0.5797, allocations: 7.906 MB / 482.5 MB, free: 12.7 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