Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001299/0.001299, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001203/0.001203, allocations: 211.9 kB / 19.25 MB, free: 3.895 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.328/1.328, allocations: 227.4 MB / 247.4 MB, free: 10.6 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 59.94 kB / 307.6 MB, free: 0.6719 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0947/0.09601, allocations: 50.53 MB / 358.1 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.007103/0.1032, allocations: 5.623 MB / 363.8 MB, free: 8.488 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002977/0.1062, allocations: 1.453 MB / 365.2 MB, free: 7.027 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006984/0.1069, allocations: 15.94 kB / 365.2 MB, free: 7.012 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006751/0.1076, allocations: 198.3 kB / 365.4 MB, free: 6.816 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001079/0.1087, allocations: 380.7 kB / 365.8 MB, free: 6.441 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006176/0.1093, allocations: 263.6 kB / 366.1 MB, free: 6.184 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001572/0.1109, allocations: 1.35 MB / 367.4 MB, free: 4.828 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005789/0.1115, allocations: 419 kB / 367.8 MB, free: 4.395 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006447/0.1122, allocations: 0.506 MB / 368.3 MB, free: 3.887 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007766/0.1129, allocations: 0.5796 MB / 368.9 MB, free: 3.305 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003191/0.1133, allocations: 120 kB / 369 MB, free: 3.188 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000301/0.1136, allocations: 120 kB / 369.1 MB, free: 3.07 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002348/0.1138, allocations: 255.1 kB / 369.4 MB, free: 2.82 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007197/0.1146, allocations: 0.6183 MB / 370 MB, free: 2.199 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001233/0.1158, allocations: 1.378 MB / 371.4 MB, free: 0.8164 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1158, allocations: 0 / 371.4 MB, free: 0.8164 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1158, allocations: 0 / 371.4 MB, free: 0.8164 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.394e-05/0.1159, allocations: 0 / 371.4 MB, free: 0.8164 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.1448/0.2607, allocations: 1.481 MB / 372.9 MB, free: 19.82 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.2607, allocations: 10.25 kB / 372.9 MB, free: 19.82 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002376/0.261, allocations: 128.6 kB / 373 MB, free: 19.77 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008173/0.2618, allocations: 0.634 MB / 373.6 MB, free: 19.44 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001814/0.262, allocations: 152.5 kB / 373.8 MB, free: 19.34 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.536e-05/0.2621, allocations: 66.03 kB / 373.8 MB, free: 19.34 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001348/0.2635, allocations: 0.9692 MB / 374.8 MB, free: 18.82 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.848e-05/0.2635, allocations: 4.453 kB / 374.8 MB, free: 18.82 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.997e-05/0.2636, allocations: 36.34 kB / 374.9 MB, free: 18.79 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.488e-05/0.2636, allocations: 16.16 kB / 374.9 MB, free: 18.79 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001239/0.2648, allocations: 0.6234 MB / 375.5 MB, free: 18.58 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.00358/0.2684, allocations: 2.641 MB / 378.1 MB, free: 16.99 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002454/0.2709, allocations: 0.8774 MB / 379 MB, free: 16.61 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006627/0.2716, allocations: 350.4 kB / 379.4 MB, free: 16.49 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.295e-05/0.2716, allocations: 14.31 kB / 379.4 MB, free: 16.48 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.628e-05/0.2717, allocations: 47.97 kB / 379.4 MB, free: 16.44 MB / 302.1 MB Notification: Performance of pre-optimization done (n=72): time 2.905e-06/0.2717, allocations: 0 / 379.4 MB, free: 16.44 MB / 302.1 MB Notification: Performance of matching and sorting (n=72): time 0.002383/0.2741, allocations: 1.404 MB / 380.8 MB, free: 15.56 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001412/0.2742, allocations: 0.949 MB / 381.8 MB, free: 14.39 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000892/0.2751, allocations: 0.7858 MB / 382.6 MB, free: 14.06 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.458e-05/0.2752, allocations: 42.03 kB / 382.6 MB, free: 14.02 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002378/0.2754, allocations: 415.1 kB / 383 MB, free: 13.7 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001519/0.2756, allocations: 251.5 kB / 383.2 MB, free: 13.5 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000231/0.2758, allocations: 156.2 kB / 383.4 MB, free: 13.43 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.291e-05/0.2759, allocations: 337.8 kB / 383.7 MB, free: 13.11 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005166/0.2764, allocations: 254 kB / 384 MB, free: 13.02 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007266/0.2772, allocations: 0.5927 MB / 384.6 MB, free: 12.54 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001076/0.2782, allocations: 0.6628 MB / 385.2 MB, free: 12.16 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.2783, allocations: 0.9844 kB / 385.2 MB, free: 12.16 MB / 302.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001594/0.2799, allocations: 0.9545 MB / 386.2 MB, free: 11.68 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.865e-05/0.2799, allocations: 92.27 kB / 386.3 MB, free: 11.58 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.315e-06/0.2799, allocations: 1.672 kB / 386.3 MB, free: 11.58 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003077/0.2802, allocations: 130.1 kB / 386.4 MB, free: 11.51 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007023/0.2809, allocations: 146.1 kB / 386.5 MB, free: 11.5 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004093/0.285, allocations: 7.333 MB / 393.9 MB, free: 4.223 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009976/0.2861, allocations: 101.1 kB / 394 MB, free: 4.172 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.651e-05/0.2861, allocations: 28.03 kB / 394 MB, free: 4.164 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.0003777/0.2865, allocations: 241.7 kB / 394.2 MB, free: 3.973 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001618/0.2867, allocations: 103.9 kB / 394.3 MB, free: 3.922 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001716/0.2869, allocations: 105.8 kB / 394.4 MB, free: 3.852 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.291e-06/0.2869, allocations: 15.72 kB / 394.5 MB, free: 3.844 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-05/0.2869, allocations: 1.062 kB / 394.5 MB, free: 3.844 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001208/0.2881, allocations: 0.9642 MB / 395.4 MB, free: 3.121 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002672/0.2908, allocations: 1.748 MB / 397.2 MB, free: 2.227 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.2908, allocations: 0 / 397.2 MB, free: 2.227 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000729/0.2915, allocations: 158.4 kB / 397.3 MB, free: 2.211 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.322e-05/0.2916, allocations: 26.62 kB / 397.4 MB, free: 2.199 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.122e-05/0.2917, allocations: 13.5 kB / 397.4 MB, free: 2.191 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006325/0.2923, allocations: 1.412 MB / 398.8 MB, free: 0.7656 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.2924, allocations: 0 / 398.8 MB, free: 0.7656 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001804/0.2942, allocations: 1.069 MB / 399.8 MB, free: 256 kB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003331/0.2945, allocations: 261.6 kB / 400.1 MB, free: 44 kB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001323/0.2946, allocations: 20.06 kB / 400.1 MB, free: 32 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006418/0.2953, allocations: 44.09 kB / 400.2 MB, free: 16 kB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001246/0.2954, allocations: 46.67 kB / 400.2 MB, free: 15.99 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.763e-05/0.2955, allocations: 24.61 kB / 400.2 MB, free: 15.98 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0007008/0.2962, allocations: 0.5425 MB / 400.8 MB, free: 15.68 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.2962, allocations: 0 / 400.8 MB, free: 15.68 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008172/0.297, allocations: 293.3 kB / 401.1 MB, free: 15.64 MB / 318.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.0001953/0.2972, allocations: 127.2 kB / 401.2 MB, free: 15.52 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002451/0.2997, allocations: 1.423 MB / 402.6 MB, free: 14.42 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 6.523e-06/0.2997, allocations: 2.75 kB / 402.6 MB, free: 14.42 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006857/0.3004, allocations: 416 kB / 403 MB, free: 14.18 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001195/0.3016, allocations: 283.9 kB / 403.3 MB, free: 14.03 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002891/0.3045, allocations: 1.739 MB / 405 MB, free: 12.93 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005046/0.305, allocations: 0.9775 MB / 406 MB, free: 12.11 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002466/0.3053, allocations: 82.34 kB / 406.1 MB, free: 12.1 MB / 318.1 MB Notification: Performance of SimCode: time 6.31e-07/0.3053, allocations: 0 / 406.1 MB, free: 12.1 MB / 318.1 MB Notification: Performance of Templates: time 0.02776/0.3331, allocations: 24.23 MB / 430.3 MB, free: 4.809 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.makefile (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.sim & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches