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.001351/0.001351, 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.00141/0.00141, allocations: 207.9 kB / 19.25 MB, free: 3.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.468/1.468, allocations: 227.4 MB / 247.5 MB, free: 10.55 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001772/0.001772, allocations: 63.67 kB / 307.6 MB, free: 0.6211 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.1022, allocations: 50.54 MB / 358.2 MB, free: 14.08 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.00739/0.1096, allocations: 5.622 MB / 363.8 MB, free: 8.43 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002837/0.1125, allocations: 1.453 MB / 365.3 MB, free: 6.969 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003451/0.1129, allocations: 15.94 kB / 365.3 MB, free: 6.953 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004835/0.1134, allocations: 194.3 kB / 365.5 MB, free: 6.762 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007573/0.1141, allocations: 384.7 kB / 365.8 MB, free: 6.383 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005103/0.1147, allocations: 267.6 kB / 366.1 MB, free: 6.121 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001511/0.1162, allocations: 1.343 MB / 367.4 MB, free: 4.773 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005976/0.1168, allocations: 419 kB / 367.8 MB, free: 4.34 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006198/0.1174, allocations: 0.5099 MB / 368.4 MB, free: 3.828 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007122/0.1181, allocations: 0.5835 MB / 368.9 MB, free: 3.242 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001766/0.1183, allocations: 120 kB / 369.1 MB, free: 3.125 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002239/0.1186, allocations: 124 kB / 369.2 MB, free: 3.004 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002318/0.1188, allocations: 251.1 kB / 369.4 MB, free: 2.758 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000659/0.1195, allocations: 0.6144 MB / 370 MB, free: 2.141 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001393/0.1209, allocations: 1.382 MB / 371.4 MB, free: 0.7539 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.1209, allocations: 0 / 371.4 MB, free: 0.7539 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.1209, allocations: 0 / 371.4 MB, free: 0.7539 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.218e-05/0.1209, allocations: 0 / 371.4 MB, free: 0.7539 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.16/0.2809, allocations: 1.479 MB / 372.9 MB, free: 19.73 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.719e-05/0.281, allocations: 9.781 kB / 372.9 MB, free: 19.73 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002606/0.2812, allocations: 129.5 kB / 373 MB, free: 19.68 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009086/0.2821, allocations: 0.6265 MB / 373.7 MB, free: 19.36 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001924/0.2823, allocations: 150.8 kB / 373.8 MB, free: 19.26 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001067/0.2825, allocations: 67.33 kB / 373.9 MB, free: 19.26 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00148/0.2839, allocations: 0.9775 MB / 374.9 MB, free: 18.7 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.194e-05/0.284, allocations: 3.938 kB / 374.9 MB, free: 18.7 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.508e-05/0.2841, allocations: 30.38 kB / 374.9 MB, free: 18.68 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.967e-05/0.2841, allocations: 16.38 kB / 374.9 MB, free: 18.68 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001297/0.2854, allocations: 0.624 MB / 375.5 MB, free: 18.47 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.004064/0.2895, allocations: 2.641 MB / 378.2 MB, free: 16.88 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002508/0.292, allocations: 0.8759 MB / 379 MB, free: 16.5 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006964/0.2927, allocations: 345.6 kB / 379.4 MB, free: 16.38 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.655e-05/0.2928, allocations: 15.58 kB / 379.4 MB, free: 16.38 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.964e-05/0.2928, allocations: 60.19 kB / 379.5 MB, free: 16.32 MB / 302.1 MB Notification: Performance of pre-optimization done (n=72): time 2.675e-06/0.2928, allocations: 0 / 379.5 MB, free: 16.32 MB / 302.1 MB Notification: Performance of matching and sorting (n=72): time 0.002597/0.2954, allocations: 1.396 MB / 380.9 MB, free: 15.45 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001559/0.2956, allocations: 0.9568 MB / 381.8 MB, free: 14.28 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001022/0.2966, allocations: 0.7847 MB / 382.6 MB, free: 13.95 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 7.844e-05/0.2967, allocations: 46.52 kB / 382.6 MB, free: 13.91 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002625/0.297, allocations: 408.5 kB / 383 MB, free: 13.59 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001784/0.2972, allocations: 254.8 kB / 383.3 MB, free: 13.39 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002324/0.2974, allocations: 155.8 kB / 383.4 MB, free: 13.32 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.592e-05/0.2975, allocations: 333.2 kB / 383.8 MB, free: 13 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005228/0.298, allocations: 259.2 kB / 384 MB, free: 12.91 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006991/0.2987, allocations: 0.5836 MB / 384.6 MB, free: 12.43 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001074/0.2998, allocations: 0.6639 MB / 385.3 MB, free: 12.06 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.2998, allocations: 0 / 385.3 MB, free: 12.06 MB / 302.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001658/0.3015, allocations: 0.9584 MB / 386.2 MB, free: 11.57 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.506e-05/0.3015, allocations: 90.44 kB / 386.3 MB, free: 11.47 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.3016, allocations: 2 kB / 386.3 MB, free: 11.47 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003384/0.3019, allocations: 124.4 kB / 386.4 MB, free: 11.4 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006972/0.3026, allocations: 149.6 kB / 386.6 MB, free: 11.39 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004062/0.3067, allocations: 7.33 MB / 393.9 MB, free: 4.113 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001078/0.3078, allocations: 97.06 kB / 394 MB, free: 4.066 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.707e-05/0.3079, allocations: 29.02 kB / 394 MB, free: 4.059 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.0004205/0.3083, allocations: 248.3 kB / 394.3 MB, free: 3.859 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001817/0.3085, allocations: 107.9 kB / 394.4 MB, free: 3.809 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001818/0.3087, allocations: 100.4 kB / 394.5 MB, free: 3.742 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.655e-06/0.3087, allocations: 7.688 kB / 394.5 MB, free: 3.742 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.234e-05/0.3087, allocations: 0 / 394.5 MB, free: 3.742 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001248/0.31, allocations: 0.97 MB / 395.5 MB, free: 3.016 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002877/0.3128, allocations: 1.748 MB / 397.2 MB, free: 2.117 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/0.3129, allocations: 0 / 397.2 MB, free: 2.117 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007404/0.3136, allocations: 152.5 kB / 397.4 MB, free: 2.109 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.679e-05/0.3137, allocations: 33.06 kB / 397.4 MB, free: 2.09 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.98e-05/0.3138, allocations: 15.55 kB / 397.4 MB, free: 2.082 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006691/0.3145, allocations: 1.409 MB / 398.8 MB, free: 0.6562 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.3145, allocations: 0 / 398.8 MB, free: 0.6562 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001974/0.3164, allocations: 1.069 MB / 399.9 MB, free: 144 kB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005198/0.317, allocations: 268.8 kB / 400.1 MB, free: 15.94 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001491/0.3171, allocations: 20.09 kB / 400.2 MB, free: 15.93 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006667/0.3178, allocations: 38.69 kB / 400.2 MB, free: 15.91 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001061/0.3179, allocations: 41.94 kB / 400.2 MB, free: 15.89 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.147e-05/0.318, allocations: 25.05 kB / 400.3 MB, free: 15.88 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0007799/0.3188, allocations: 0.5503 MB / 400.8 MB, free: 15.57 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3188, allocations: 0 / 400.8 MB, free: 15.57 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008735/0.3197, allocations: 296.5 kB / 401.1 MB, free: 15.52 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.0001905/0.3199, allocations: 114.6 kB / 401.2 MB, free: 15.42 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002657/0.3225, allocations: 1.432 MB / 402.6 MB, free: 14.31 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 9.908e-06/0.3225, allocations: 4.234 kB / 402.7 MB, free: 14.31 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007789/0.3233, allocations: 421.2 kB / 403.1 MB, free: 14.07 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001332/0.3247, allocations: 279 kB / 403.3 MB, free: 13.92 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003281/0.328, allocations: 1.737 MB / 405.1 MB, free: 12.82 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005917/0.3286, allocations: 0.9795 MB / 406.1 MB, free: 12 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002877/0.3289, allocations: 86.44 kB / 406.1 MB, free: 11.98 MB / 318.1 MB Notification: Performance of SimCode: time 6.11e-07/0.3289, allocations: 0 / 406.1 MB, free: 11.98 MB / 318.1 MB Notification: Performance of Templates: time 0.03267/0.3616, allocations: 24.23 MB / 430.4 MB, free: 4.695 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.1.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