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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001935/0.001935, allocations: 103.6 kB / 21.19 MB, free: 0.5234 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002483/0.002483, allocations: 213.9 kB / 24.48 MB, free: 3.836 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.433/1.433, allocations: 230.5 MB / 258.1 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] 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=1000,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=1000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002024/0.002024, allocations: 63.91 kB / 379 MB, free: 2.328 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2462/0.2482, allocations: 53.41 MB / 432.4 MB, free: 6.535 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.004738/0.2529, allocations: 3.201 MB / 435.6 MB, free: 3.324 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001679/0.2546, allocations: 0.9422 MB / 436.5 MB, free: 2.379 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001706/0.2548, allocations: 7.938 kB / 436.5 MB, free: 2.371 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004007/0.2552, allocations: 103.1 kB / 436.6 MB, free: 2.27 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003959/0.2556, allocations: 190.4 kB / 436.8 MB, free: 2.082 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002619/0.2558, allocations: 115.8 kB / 436.9 MB, free: 1.969 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007765/0.2566, allocations: 0.6458 MB / 437.6 MB, free: 1.32 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002516/0.2569, allocations: 135.4 kB / 437.7 MB, free: 1.18 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002642/0.2571, allocations: 243.2 kB / 437.9 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003367/0.2575, allocations: 234.8 kB / 438.2 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.617e-05/0.2576, allocations: 52 kB / 438.2 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001128/0.2577, allocations: 56 kB / 438.3 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001166/0.2578, allocations: 111.6 kB / 438.4 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002651/0.258, allocations: 250.9 kB / 438.6 MB, free: 256 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007729/0.2588, allocations: 0.6516 MB / 439.3 MB, free: 15.6 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.2588, allocations: 0 / 439.3 MB, free: 15.6 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.2588, allocations: 0 / 439.3 MB, free: 15.6 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.347e-06/0.2588, allocations: 4 kB / 439.3 MB, free: 15.6 MB / 350.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.001407/0.2602, allocations: 0.7788 MB / 440.1 MB, free: 14.78 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.2603, allocations: 11.98 kB / 440.1 MB, free: 14.77 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001189/0.2604, allocations: 64.56 kB / 440.1 MB, free: 14.7 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006246/0.261, allocations: 337.2 kB / 440.5 MB, free: 14.35 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001374/0.2612, allocations: 110.3 kB / 440.6 MB, free: 14.22 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.183e-05/0.2612, allocations: 44.3 kB / 440.6 MB, free: 14.18 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009692/0.2622, allocations: 0.8229 MB / 441.5 MB, free: 13.21 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.549e-05/0.2622, allocations: 0 / 441.5 MB, free: 13.21 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.818e-05/0.2623, allocations: 16 kB / 441.5 MB, free: 13.2 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.062e-05/0.2623, allocations: 8 kB / 441.5 MB, free: 13.19 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005865/0.2629, allocations: 282.4 kB / 441.7 MB, free: 12.91 MB / 350.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.001987/0.2648, allocations: 0.9479 MB / 442.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001157/0.266, allocations: 343.3 kB / 443 MB, free: 11.58 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002673/0.2663, allocations: 128.8 kB / 443.2 MB, free: 11.45 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.014e-05/0.2663, allocations: 7.984 kB / 443.2 MB, free: 11.44 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.662e-05/0.2663, allocations: 38.56 kB / 443.2 MB, free: 11.39 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 1.634e-06/0.2663, allocations: 0 / 443.2 MB, free: 11.39 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.001117/0.2675, allocations: 451.7 kB / 443.6 MB, free: 10.94 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002633/0.2677, allocations: 452.9 kB / 444.1 MB, free: 10.39 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000485/0.2682, allocations: 397.6 kB / 444.5 MB, free: 10 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.085e-05/0.2683, allocations: 33.7 kB / 444.5 MB, free: 9.961 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002/0.2685, allocations: 244.4 kB / 444.7 MB, free: 9.719 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001037/0.2686, allocations: 115 kB / 444.9 MB, free: 9.605 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001649/0.2687, allocations: 78.02 kB / 444.9 MB, free: 9.52 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001839/0.2689, allocations: 350.7 kB / 445.3 MB, free: 9.168 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002769/0.2692, allocations: 134.3 kB / 445.4 MB, free: 9.031 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000699/0.2699, allocations: 0.6626 MB / 446.1 MB, free: 8.223 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005263/0.2704, allocations: 281.2 kB / 446.3 MB, free: 7.938 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.2704, allocations: 96 / 446.3 MB, free: 7.938 MB / 350.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007713/0.2712, allocations: 446.2 kB / 446.8 MB, free: 7.477 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.899e-05/0.2712, allocations: 37.7 kB / 446.8 MB, free: 7.434 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.2712, allocations: 0 / 446.8 MB, free: 7.434 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001611/0.2714, allocations: 53.72 kB / 446.9 MB, free: 7.375 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003177/0.2717, allocations: 63.91 kB / 446.9 MB, free: 7.312 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002743/0.2744, allocations: 2.697 MB / 449.6 MB, free: 4.402 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003607/0.2748, allocations: 43.97 kB / 449.7 MB, free: 4.359 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.64e-05/0.2748, allocations: 8 kB / 449.7 MB, free: 4.352 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.000213/0.275, allocations: 173.7 kB / 449.9 MB, free: 4.172 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.972e-05/0.2751, allocations: 43.72 kB / 449.9 MB, free: 4.129 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.752e-05/0.2752, allocations: 48.36 kB / 449.9 MB, free: 4.082 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.2752, allocations: 4 kB / 449.9 MB, free: 4.078 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-06/0.2752, allocations: 0 / 449.9 MB, free: 4.078 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008604/0.2761, allocations: 0.6534 MB / 450.6 MB, free: 3.32 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001304/0.2774, allocations: 0.755 MB / 451.4 MB, free: 2.523 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.2774, allocations: 0 / 451.4 MB, free: 2.523 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003442/0.2778, allocations: 63.91 kB / 451.4 MB, free: 2.461 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.536e-06/0.2778, allocations: 8 kB / 451.4 MB, free: 2.453 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.302e-05/0.2778, allocations: 11.92 kB / 451.4 MB, free: 2.441 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.2778, allocations: 0 / 451.4 MB, free: 2.441 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.2778, allocations: 3.938 kB / 451.4 MB, free: 2.438 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008999/0.2787, allocations: 0.5212 MB / 452 MB, free: 1.902 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000185/0.2789, allocations: 79.62 kB / 452 MB, free: 1.824 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.117e-05/0.2789, allocations: 12 kB / 452 MB, free: 1.812 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003061/0.2792, allocations: 19.92 kB / 452.1 MB, free: 1.793 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.486e-05/0.2793, allocations: 23.91 kB / 452.1 MB, free: 1.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.594e-05/0.2793, allocations: 4 kB / 452.1 MB, free: 1.766 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003602/0.2797, allocations: 287.2 kB / 452.4 MB, free: 1.488 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2797, allocations: 0 / 452.4 MB, free: 1.488 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004368/0.2801, allocations: 136 kB / 452.5 MB, free: 1.355 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.0001284/0.2802, allocations: 107.2 kB / 452.6 MB, free: 1.242 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009581/0.2812, allocations: 0.5686 MB / 453.2 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.2812, allocations: 0 / 453.2 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002518/0.2814, allocations: 119.8 kB / 453.3 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000652/0.2821, allocations: 136.2 kB / 453.4 MB, free: 392 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001587/0.2837, allocations: 0.9093 MB / 454.3 MB, free: 15.44 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002153/0.2839, allocations: 212.4 kB / 454.5 MB, free: 15.21 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000121/0.284, allocations: 35.44 kB / 454.6 MB, free: 15.17 MB / 366.1 MB Notification: Performance of SimCode: time 4.6e-07/0.284, allocations: 4 kB / 454.6 MB, free: 15.17 MB / 366.1 MB Notification: Performance of Templates: time 0.01208/0.2961, allocations: 8.274 MB / 462.9 MB, free: 6.957 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.872221705969423]