Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_4.0.0_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_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001368/0.001368, allocations: 111.8 kB / 17.68 MB, free: 5.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001498/0.001498, allocations: 190.9 kB / 18.62 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.345/1.345, allocations: 222.9 MB / 242.3 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001032/0.001032, allocations: 55.42 kB / 302 MB, free: 5.176 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08968/0.09073, allocations: 49.44 MB / 351.5 MB, free: 3.707 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.006591/0.09735, allocations: 5.606 MB / 357.1 MB, free: 14.07 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00217/0.09955, allocations: 1.413 MB / 358.5 MB, free: 12.64 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002593/0.09983, allocations: 15.94 kB / 358.5 MB, free: 12.63 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004198/0.1003, allocations: 194.3 kB / 358.7 MB, free: 12.44 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006006/0.1009, allocations: 384.7 kB / 359.1 MB, free: 12.06 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000449/0.1013, allocations: 267.6 kB / 359.4 MB, free: 11.8 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001184/0.1025, allocations: 1.354 MB / 360.7 MB, free: 10.44 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004841/0.103, allocations: 423 kB / 361.1 MB, free: 10 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004831/0.1035, allocations: 0.5138 MB / 361.6 MB, free: 9.488 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005691/0.1041, allocations: 0.5797 MB / 362.2 MB, free: 8.906 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001371/0.1042, allocations: 116 kB / 362.3 MB, free: 8.793 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001594/0.1044, allocations: 124 kB / 362.4 MB, free: 8.672 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000188/0.1046, allocations: 263 kB / 362.7 MB, free: 8.414 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004881/0.1051, allocations: 0.6105 MB / 363.3 MB, free: 7.801 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001029/0.1061, allocations: 1.402 MB / 364.7 MB, free: 6.395 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.1061, allocations: 0 / 364.7 MB, free: 6.395 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.725e-06/0.1062, allocations: 0 / 364.7 MB, free: 6.395 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.527e-05/0.1062, allocations: 3.938 kB / 364.7 MB, free: 6.391 MB / 302.1 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.002353/0.1085, allocations: 1.489 MB / 366.2 MB, free: 4.828 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.1086, allocations: 8.031 kB / 366.2 MB, free: 4.82 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001875/0.1088, allocations: 127.5 kB / 366.3 MB, free: 4.695 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000911/0.1097, allocations: 0.6265 MB / 367 MB, free: 4.027 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001927/0.1099, allocations: 159.6 kB / 367.1 MB, free: 3.855 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001045/0.11, allocations: 64.38 kB / 367.2 MB, free: 3.793 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001372/0.1114, allocations: 0.9707 MB / 368.2 MB, free: 2.703 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.732e-05/0.1114, allocations: 3.938 kB / 368.2 MB, free: 2.699 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.929e-05/0.1115, allocations: 32 kB / 368.2 MB, free: 2.668 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.308e-05/0.1115, allocations: 16 kB / 368.2 MB, free: 2.652 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001219/0.1127, allocations: 0.6207 MB / 368.8 MB, free: 2.035 MB / 302.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1532/0.2659, allocations: 2.62 MB / 371.5 MB, free: 24.62 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002604/0.2685, allocations: 0.8571 MB / 372.3 MB, free: 24.5 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007494/0.2693, allocations: 353.6 kB / 372.7 MB, free: 24.49 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.531e-05/0.2694, allocations: 21.78 kB / 372.7 MB, free: 24.49 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.723e-05/0.2694, allocations: 51.22 kB / 372.7 MB, free: 24.45 MB / 302.1 MB Notification: Performance of pre-optimization done (n=72): time 2.385e-06/0.2694, allocations: 0 / 372.7 MB, free: 24.45 MB / 302.1 MB Notification: Performance of matching and sorting (n=72): time 0.002523/0.272, allocations: 1.399 MB / 374.1 MB, free: 23.65 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00017/0.2722, allocations: 0.9543 MB / 375.1 MB, free: 22.48 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009902/0.2731, allocations: 0.7894 MB / 375.9 MB, free: 22.16 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 9.686e-05/0.2733, allocations: 51.11 kB / 375.9 MB, free: 22.11 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000281/0.2735, allocations: 406.9 kB / 376.3 MB, free: 21.86 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001601/0.2737, allocations: 248.1 kB / 376.6 MB, free: 21.7 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002525/0.274, allocations: 159.3 kB / 376.7 MB, free: 21.62 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.68e-05/0.274, allocations: 339.6 kB / 377 MB, free: 21.3 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005352/0.2746, allocations: 254.9 kB / 377.3 MB, free: 21.21 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007609/0.2753, allocations: 0.5903 MB / 377.9 MB, free: 20.74 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001068/0.2764, allocations: 0.6645 MB / 378.5 MB, free: 20.38 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.2764, allocations: 1.312 kB / 378.5 MB, free: 20.38 MB / 302.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001616/0.2781, allocations: 0.947 MB / 379.5 MB, free: 19.89 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.847e-05/0.2781, allocations: 89.23 kB / 379.6 MB, free: 19.8 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.166e-06/0.2781, allocations: 5.219 kB / 379.6 MB, free: 19.79 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003142/0.2784, allocations: 128.1 kB / 379.7 MB, free: 19.73 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007402/0.2792, allocations: 150.7 kB / 379.9 MB, free: 19.71 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004052/0.2833, allocations: 7.33 MB / 387.2 MB, free: 12.46 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008624/0.2841, allocations: 96.69 kB / 387.3 MB, free: 12.41 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.974e-05/0.2842, allocations: 33.34 kB / 387.3 MB, free: 12.4 MB / 302.1 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(3,1), (1,1), (3,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003718/0.2846, allocations: 237.7 kB / 387.5 MB, free: 12.21 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002002/0.2848, allocations: 100.3 kB / 387.6 MB, free: 12.17 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000208/0.285, allocations: 98.61 kB / 387.7 MB, free: 12.1 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.524e-06/0.285, allocations: 8.297 kB / 387.8 MB, free: 12.1 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.532e-05/0.2851, allocations: 1.125 kB / 387.8 MB, free: 12.1 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001229/0.2863, allocations: 0.9715 MB / 388.7 MB, free: 11.37 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002994/0.2893, allocations: 1.746 MB / 390.5 MB, free: 10.46 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.2893, allocations: 0.6094 kB / 390.5 MB, free: 10.46 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007873/0.2901, allocations: 155.3 kB / 390.6 MB, free: 10.45 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001116/0.2902, allocations: 25.84 kB / 390.6 MB, free: 10.44 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.192e-05/0.2903, allocations: 19.53 kB / 390.7 MB, free: 10.43 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006872/0.291, allocations: 1.405 MB / 392.1 MB, free: 9.008 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.291, allocations: 5.562 kB / 392.1 MB, free: 9.008 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001909/0.2929, allocations: 1.081 MB / 393.2 MB, free: 8.48 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003819/0.2933, allocations: 258.1 kB / 393.4 MB, free: 8.277 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001491/0.2935, allocations: 28.56 kB / 393.4 MB, free: 8.258 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006745/0.2942, allocations: 36.12 kB / 393.5 MB, free: 8.25 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001042/0.2943, allocations: 44.7 kB / 393.5 MB, free: 8.242 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.052e-05/0.2943, allocations: 18.92 kB / 393.5 MB, free: 8.238 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0007989/0.2951, allocations: 0.5482 MB / 394.1 MB, free: 8.004 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.2951, allocations: 0 / 394.1 MB, free: 8.004 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.00079/0.2959, allocations: 288.5 kB / 394.4 MB, free: 7.965 MB / 302.1 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001438/0.2961, allocations: 129.8 kB / 394.5 MB, free: 7.855 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0019/0.298, allocations: 1.407 MB / 395.9 MB, free: 6.859 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 6.211e-06/0.298, allocations: 1.406 kB / 395.9 MB, free: 6.859 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006433/0.2987, allocations: 416.8 kB / 396.3 MB, free: 6.652 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00109/0.2998, allocations: 281.9 kB / 396.6 MB, free: 6.535 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002503/0.3023, allocations: 1.675 MB / 398.3 MB, free: 5.609 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003762/0.3027, allocations: 0.9813 MB / 399.2 MB, free: 4.895 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0007909/0.3035, allocations: 125 kB / 399.4 MB, free: 4.859 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000239/0.3037, allocations: 74.88 kB / 399.4 MB, free: 4.852 MB / 302.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3037, allocations: 0 / 399.4 MB, free: 4.852 MB / 302.1 MB Notification: Performance of Templates: time 0.02934/0.3331, allocations: 17.66 MB / 417.1 MB, free: 6.043 MB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.makefile (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.sim & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/IndirectCooling/IndirectCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches