Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.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.IndirectCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=3000,variableFilter="time|heatCapacitor.T|innerPipe.T|outerPipe.T|pipe1.T",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=3000,variableFilter="time|heatCapacitor.T|innerPipe.T|outerPipe.T|pipe1.T",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001495/0.001495, allocations: 180.7 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.971/1.971, 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.001056/0.001056, allocations: 86.64 kB / 267.5 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.15e-05/3.161e-05, allocations: 4 kB / 321.5 MB, free: 17.86 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09497/0.09502, allocations: 47.57 MB / 369.1 MB, free: 2.203 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4096/0.5047, allocations: 81.92 MB / 451 MB, free: 11.28 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002623/0.505, allocations: 78.39 kB / 451.1 MB, free: 11.23 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08749/0.5925, allocations: 19.4 MB / 470.5 MB, free: 9.684 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.824e-06/0.5926, allocations: 8 kB / 470.5 MB, free: 9.676 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.583e-05/0.5927, allocations: 16 kB / 470.5 MB, free: 9.66 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: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.003443/0.5961, allocations: 1.151 MB / 471.7 MB, free: 8.445 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.577e-05/0.5962, allocations: 11.97 kB / 471.7 MB, free: 8.434 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004952/0.5967, allocations: 122.7 kB / 471.8 MB, free: 8.312 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001697/0.5984, allocations: 0.5953 MB / 472.4 MB, free: 7.676 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000333/0.5988, allocations: 163.1 kB / 472.5 MB, free: 7.496 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001957/0.599, allocations: 64 kB / 472.6 MB, free: 7.434 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002122/0.6011, allocations: 0.9198 MB / 473.5 MB, free: 6.398 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.211e-05/0.6012, allocations: 4 kB / 473.5 MB, free: 6.395 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001284/0.6014, allocations: 32 kB / 473.6 MB, free: 6.363 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.512e-05/0.6014, allocations: 16 kB / 473.6 MB, free: 6.348 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001774/0.6032, allocations: 0.5585 MB / 474.1 MB, free: 5.785 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007333/0.6106, allocations: 2.567 MB / 476.7 MB, free: 3.086 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004909/0.6155, allocations: 0.8863 MB / 477.6 MB, free: 2.168 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001115/0.6167, allocations: 327.1 kB / 477.9 MB, free: 1.848 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000119/0.6168, allocations: 20.75 kB / 477.9 MB, free: 1.828 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.147e-05/0.6169, allocations: 51.34 kB / 478 MB, free: 1.77 MB / 346.7 MB Notification: Performance of pre-optimization done (n=74): time 6.091e-06/0.6169, allocations: 0 / 478 MB, free: 1.77 MB / 346.7 MB Notification: Performance of matching and sorting (n=74): time 0.002685/0.6196, allocations: 0.7373 MB / 478.7 MB, free: 1.008 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005378/0.6202, allocations: 0.9528 MB / 479.7 MB, free: 15.83 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00162/0.6219, allocations: 0.6765 MB / 480.3 MB, free: 15.15 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002456/0.6222, allocations: 45.7 kB / 480.4 MB, free: 15.1 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004101/0.6226, allocations: 411.1 kB / 480.8 MB, free: 14.69 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003863/0.623, allocations: 256.2 kB / 481 MB, free: 14.44 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.891e-05/0.6231, allocations: 16 kB / 481.1 MB, free: 14.42 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001527/0.6232, allocations: 342.8 kB / 481.4 MB, free: 14.08 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000736/0.624, allocations: 225.6 kB / 481.6 MB, free: 13.86 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001131/0.6251, allocations: 0.5506 MB / 482.2 MB, free: 13.18 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009831/0.6261, allocations: 365.8 kB / 482.5 MB, free: 12.81 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.143e-06/0.6262, allocations: 4 kB / 482.5 MB, free: 12.81 MB / 362.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002743/0.6289, allocations: 0.8761 MB / 483.4 MB, free: 11.89 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.088e-05/0.6291, allocations: 85.11 kB / 483.5 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.353e-05/0.6291, allocations: 0 / 483.5 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001083/0.6302, allocations: 172.1 kB / 483.6 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001554/0.6318, allocations: 163.8 kB / 483.8 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00933/0.6412, allocations: 6.805 MB / 490.6 MB, free: 3.973 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001526/0.6427, allocations: 115.1 kB / 490.7 MB, free: 3.859 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001372/0.6429, allocations: 24 kB / 490.8 MB, free: 3.836 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 74 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 4 {1 3,1 1,1 3,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003154/0.6433, allocations: 164.9 kB / 490.9 MB, free: 3.668 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002992/0.6436, allocations: 98.88 kB / 491 MB, free: 3.57 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003191/0.6439, allocations: 109.6 kB / 491.1 MB, free: 3.461 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.154e-05/0.6439, allocations: 8 kB / 491.1 MB, free: 3.453 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.378e-05/0.6439, allocations: 0 / 491.1 MB, free: 3.453 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001841/0.6458, allocations: 0.9222 MB / 492 MB, free: 2.426 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004577/0.6504, allocations: 1.707 MB / 493.8 MB, free: 0.6406 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.544e-06/0.6505, allocations: 0 / 493.8 MB, free: 0.6406 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001579/0.6521, allocations: 167.8 kB / 493.9 MB, free: 488 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001726/0.6523, allocations: 24.84 kB / 493.9 MB, free: 460 kB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.507e-05/0.6524, allocations: 15.98 kB / 494 MB, free: 444 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00134/0.6537, allocations: 1.316 MB / 495.3 MB, free: 14.98 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.6538, allocations: 0 / 495.3 MB, free: 14.98 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002859/0.6567, allocations: 1.01 MB / 496.3 MB, free: 13.95 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000728/0.6574, allocations: 263.7 kB / 496.5 MB, free: 13.68 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002369/0.6577, allocations: 24 kB / 496.6 MB, free: 13.65 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001003/0.6587, allocations: 51.97 kB / 496.6 MB, free: 13.6 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001605/0.6589, allocations: 40.72 kB / 496.7 MB, free: 13.56 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.832e-05/0.659, allocations: 23.98 kB / 496.7 MB, free: 13.54 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001159/0.6601, allocations: 0.5304 MB / 497.2 MB, free: 13.01 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.6602, allocations: 0 / 497.2 MB, free: 13.01 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001409/0.6616, allocations: 311.6 kB / 497.5 MB, free: 12.71 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (heatCapacitor.T,pipe1.T,outerPipe.T,innerPipe.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (72): * Single equations (assignments): 71 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003431/0.662, allocations: 135 kB / 497.6 MB, free: 12.56 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004002/0.666, allocations: 1.363 MB / 499 MB, free: 11.1 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.384e-05/0.6661, allocations: 7.859 kB / 499 MB, free: 11.09 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001015/0.6671, allocations: 395.1 kB / 499.4 MB, free: 10.69 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002/0.6692, allocations: 257.4 kB / 499.7 MB, free: 10.45 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004359/0.6735, allocations: 1.307 MB / 0.4892 GB, free: 9.105 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007832/0.6744, allocations: 0.9992 MB / 0.4902 GB, free: 8.078 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005764/0.675, allocations: 83.42 kB / 0.4903 GB, free: 7.996 MB / 378.7 MB Notification: Performance of SimCode: time 1.302e-06/0.675, allocations: 0 / 0.4903 GB, free: 7.996 MB / 378.7 MB Notification: Performance of Templates: time 0.04614/0.7212, allocations: 22.99 MB / 0.5127 GB, free: 0.9336 MB / 394.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.sim & ./Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/IndirectCooling/IndirectCooling.csv","../files/Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches