Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.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.SimpleCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001379/0.001379, allocations: 117.7 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001534/0.001534, allocations: 208.8 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.379/1.379, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001147/0.001147, allocations: 63.89 kB / 359.4 MB, free: 12.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2598/0.261, allocations: 50.54 MB / 409.9 MB, free: 1.539 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.004638/0.2657, allocations: 3.496 MB / 413.4 MB, free: 14.03 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001743/0.2674, allocations: 0.9813 MB / 414.4 MB, free: 13.04 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001809/0.2676, allocations: 7.938 kB / 414.4 MB, free: 13.03 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003324/0.268, allocations: 107.1 kB / 414.5 MB, free: 12.93 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003697/0.2684, allocations: 186.4 kB / 414.7 MB, free: 12.74 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002781/0.2687, allocations: 127.8 kB / 414.8 MB, free: 12.62 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006808/0.2693, allocations: 0.6297 MB / 415.4 MB, free: 11.99 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003227/0.2697, allocations: 198.5 kB / 415.6 MB, free: 11.79 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002486/0.2699, allocations: 247.1 kB / 415.9 MB, free: 11.54 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000328/0.2703, allocations: 270.8 kB / 416.1 MB, free: 11.28 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.924e-05/0.2704, allocations: 52 kB / 416.2 MB, free: 11.23 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.682e-05/0.2705, allocations: 60 kB / 416.3 MB, free: 11.17 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.898e-05/0.2706, allocations: 115.5 kB / 416.4 MB, free: 11.05 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002948/0.2709, allocations: 294.6 kB / 416.7 MB, free: 10.77 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006562/0.2716, allocations: 0.6399 MB / 417.3 MB, free: 10.12 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.2716, allocations: 3.938 kB / 417.3 MB, free: 10.12 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.2716, allocations: 0 / 417.3 MB, free: 10.12 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.437e-05/0.2716, allocations: 0 / 417.3 MB, free: 10.12 MB / 334.1 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.00141/0.273, allocations: 0.8428 MB / 418.1 MB, free: 9.223 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.2731, allocations: 8.031 kB / 418.1 MB, free: 9.215 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001277/0.2732, allocations: 64.28 kB / 418.2 MB, free: 9.152 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005666/0.2738, allocations: 394.6 kB / 418.6 MB, free: 8.73 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001052/0.2739, allocations: 66.84 kB / 418.7 MB, free: 8.66 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.139e-05/0.274, allocations: 28.38 kB / 418.7 MB, free: 8.633 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008034/0.2748, allocations: 465.1 kB / 419.1 MB, free: 8.125 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.619e-05/0.2748, allocations: 0 / 419.1 MB, free: 8.125 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.19e-05/0.2748, allocations: 12 kB / 419.2 MB, free: 8.113 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.316e-05/0.2749, allocations: 8 kB / 419.2 MB, free: 8.105 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005471/0.2754, allocations: 278.5 kB / 419.4 MB, free: 7.836 MB / 334.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.002211/0.2776, allocations: 1.294 MB / 420.7 MB, free: 6.449 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001132/0.2788, allocations: 442.7 kB / 421.2 MB, free: 5.988 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002572/0.2791, allocations: 132.8 kB / 421.3 MB, free: 5.855 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.316e-05/0.2791, allocations: 4 kB / 421.3 MB, free: 5.852 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.652e-05/0.2791, allocations: 46.5 kB / 421.3 MB, free: 5.797 MB / 334.1 MB Notification: Performance of pre-optimization done (n=32): time 1.493e-06/0.2791, allocations: 0 / 421.3 MB, free: 5.797 MB / 334.1 MB Notification: Performance of matching and sorting (n=32): time 0.001157/0.2803, allocations: 0.6029 MB / 421.9 MB, free: 5.145 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002203/0.2805, allocations: 452.9 kB / 422.4 MB, free: 4.598 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004966/0.281, allocations: 461.8 kB / 422.8 MB, free: 4.133 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.762e-05/0.2811, allocations: 33.7 kB / 422.9 MB, free: 4.094 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001796/0.2813, allocations: 224.5 kB / 423.1 MB, free: 3.871 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.735e-05/0.2814, allocations: 110.4 kB / 423.2 MB, free: 3.762 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001236/0.2815, allocations: 81.92 kB / 423.3 MB, free: 3.672 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000151/0.2817, allocations: 354.8 kB / 423.6 MB, free: 3.316 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002276/0.2819, allocations: 104.6 kB / 423.7 MB, free: 3.215 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003829/0.2823, allocations: 256 kB / 424 MB, free: 2.914 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005286/0.2828, allocations: 285.2 kB / 424.3 MB, free: 2.625 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.2828, allocations: 0 / 424.3 MB, free: 2.625 MB / 334.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007147/0.2836, allocations: 412.3 kB / 424.7 MB, free: 2.203 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.012e-05/0.2836, allocations: 29.7 kB / 424.7 MB, free: 2.168 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/0.2836, allocations: 7.984 kB / 424.7 MB, free: 2.16 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001754/0.2838, allocations: 53.67 kB / 424.7 MB, free: 2.102 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003198/0.2841, allocations: 67.95 kB / 424.8 MB, free: 2.035 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002558/0.2867, allocations: 2.964 MB / 427.8 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003616/0.2871, allocations: 39.72 kB / 427.8 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.914e-05/0.2871, allocations: 15.98 kB / 427.8 MB, free: 14.73 MB / 350.1 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(3,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002934/0.2874, allocations: 161.8 kB / 428 MB, free: 14.56 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.452e-05/0.2875, allocations: 51.44 kB / 428 MB, free: 14.51 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001279/0.2876, allocations: 52.7 kB / 428.1 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.2877, allocations: 0 / 428.1 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/0.2877, allocations: 11.92 kB / 428.1 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007572/0.2884, allocations: 0.6453 MB / 428.7 MB, free: 13.7 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001269/0.2897, allocations: 0.8932 MB / 429.6 MB, free: 12.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.2897, allocations: 12.11 kB / 429.7 MB, free: 12.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000334/0.2901, allocations: 71.91 kB / 429.7 MB, free: 12.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.2901, allocations: 0 / 429.7 MB, free: 12.66 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.447e-05/0.2901, allocations: 11.98 kB / 429.7 MB, free: 12.65 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.092e-06/0.2901, allocations: 4 kB / 429.7 MB, free: 12.65 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.2901, allocations: 7.922 kB / 429.7 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009285/0.2911, allocations: 0.5163 MB / 430.3 MB, free: 12.11 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001771/0.2913, allocations: 164.4 kB / 430.4 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001134/0.2914, allocations: 8 kB / 430.4 MB, free: 11.92 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003064/0.2917, allocations: 19.98 kB / 430.5 MB, free: 11.9 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.03e-05/0.2917, allocations: 15.97 kB / 430.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.781e-05/0.2918, allocations: 12 kB / 430.5 MB, free: 11.88 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003212/0.2921, allocations: 315.1 kB / 430.8 MB, free: 11.57 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2921, allocations: 0 / 430.8 MB, free: 11.57 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004053/0.2925, allocations: 131.8 kB / 430.9 MB, free: 11.44 MB / 350.1 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001345/0.2926, allocations: 119.2 kB / 431 MB, free: 11.32 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008823/0.2935, allocations: 0.5555 MB / 431.6 MB, free: 10.72 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.2936, allocations: 0 / 431.6 MB, free: 10.72 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002299/0.2938, allocations: 127.8 kB / 431.7 MB, free: 10.6 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007258/0.2945, allocations: 137.8 kB / 431.8 MB, free: 10.46 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001514/0.2961, allocations: 0.9103 MB / 432.8 MB, free: 9.512 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004701/0.2965, allocations: 0.812 MB / 433.6 MB, free: 8.672 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001266/0.2967, allocations: 47.44 kB / 433.6 MB, free: 8.625 MB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.2967, allocations: 0 / 433.6 MB, free: 8.625 MB / 350.1 MB Notification: Performance of Templates: time 0.01134/0.308, allocations: 8.272 MB / 441.9 MB, free: 428 kB / 350.1 MB make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.makefile (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.sim & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/SimpleCooling/SimpleCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches