Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001532/0.001532, allocations: 112.8 kB / 19.17 MB, free: 3.871 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.001681/0.001681, allocations: 210.5 kB / 22.13 MB, free: 0.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.422/1.422, allocations: 230.4 MB / 255.4 MB, free: 15.01 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001879/0.001879, allocations: 71.77 kB / 374.7 MB, free: 9.785 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09542/0.0973, allocations: 53.32 MB / 428 MB, free: 4.375 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.004988/0.1023, allocations: 3.529 MB / 431.6 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.1792/0.2815, allocations: 0.9737 MB / 432.5 MB, free: 8.059 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003101/0.2818, allocations: 6.969 kB / 432.6 MB, free: 8.059 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003302/0.2822, allocations: 109.1 kB / 432.7 MB, free: 8.059 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003641/0.2825, allocations: 189.6 kB / 432.8 MB, free: 8.059 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000244/0.2828, allocations: 119.8 kB / 433 MB, free: 8.059 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006309/0.2834, allocations: 0.6354 MB / 433.6 MB, free: 7.984 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002071/0.2836, allocations: 138 kB / 433.7 MB, free: 7.949 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002395/0.2838, allocations: 242.7 kB / 434 MB, free: 7.906 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002887/0.2841, allocations: 272.2 kB / 434.2 MB, free: 7.852 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.239e-05/0.2842, allocations: 54.78 kB / 434.3 MB, free: 7.852 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.558e-05/0.2843, allocations: 53.53 kB / 434.3 MB, free: 7.852 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.592e-05/0.2844, allocations: 121.7 kB / 434.5 MB, free: 7.828 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002069/0.2846, allocations: 293.1 kB / 434.7 MB, free: 7.75 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005163/0.2851, allocations: 0.6437 MB / 435.4 MB, free: 7.648 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.2851, allocations: 1.156 kB / 435.4 MB, free: 7.648 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.2851, allocations: 0 / 435.4 MB, free: 7.648 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.476e-06/0.2851, allocations: 0.5 kB / 435.4 MB, free: 7.648 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.001117/0.2862, allocations: 0.8556 MB / 436.2 MB, free: 7.062 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.237e-05/0.2863, allocations: 10.31 kB / 436.3 MB, free: 7.062 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001046/0.2864, allocations: 67.41 kB / 436.3 MB, free: 7.031 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004559/0.2868, allocations: 400.8 kB / 436.7 MB, free: 6.77 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.594e-05/0.2869, allocations: 57.58 kB / 436.8 MB, free: 6.738 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.141e-05/0.287, allocations: 33.28 kB / 436.8 MB, free: 6.738 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006193/0.2876, allocations: 459 kB / 437.3 MB, free: 6.562 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.444e-05/0.2876, allocations: 3.531 kB / 437.3 MB, free: 6.562 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.564e-05/0.2876, allocations: 19.66 kB / 437.3 MB, free: 6.562 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.135e-06/0.2876, allocations: 6.938 kB / 437.3 MB, free: 6.562 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005339/0.2882, allocations: 277.5 kB / 437.6 MB, free: 6.562 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.001809/0.29, allocations: 1.297 MB / 438.9 MB, free: 5.926 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001054/0.291, allocations: 412 kB / 439.3 MB, free: 5.711 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002399/0.2913, allocations: 129.8 kB / 439.4 MB, free: 5.656 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.367e-05/0.2913, allocations: 7.297 kB / 439.4 MB, free: 5.656 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.753e-05/0.2913, allocations: 37.78 kB / 439.4 MB, free: 5.613 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 1.452e-06/0.2913, allocations: 3.031 kB / 439.4 MB, free: 5.613 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.001051/0.2924, allocations: 0.6078 MB / 440 MB, free: 5.219 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.513e-05/0.2925, allocations: 445.3 kB / 440.5 MB, free: 4.688 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004667/0.2929, allocations: 457 kB / 440.9 MB, free: 4.461 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.282e-05/0.293, allocations: 32.95 kB / 440.9 MB, free: 4.426 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001278/0.2931, allocations: 230.1 kB / 441.2 MB, free: 4.238 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.937e-05/0.2932, allocations: 115.5 kB / 441.3 MB, free: 4.148 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001196/0.2933, allocations: 76.81 kB / 441.4 MB, free: 4.102 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.506e-05/0.2934, allocations: 359.5 kB / 441.7 MB, free: 3.766 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002361/0.2936, allocations: 112.7 kB / 441.8 MB, free: 3.723 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003236/0.2939, allocations: 248.1 kB / 442.1 MB, free: 3.531 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004606/0.2944, allocations: 275 kB / 442.3 MB, free: 3.383 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.2944, allocations: 1.188 kB / 442.3 MB, free: 3.383 MB / 350.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.000658/0.295, allocations: 419.5 kB / 442.7 MB, free: 3.168 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.83e-05/0.2951, allocations: 32.19 kB / 442.8 MB, free: 3.137 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.2951, allocations: 4.547 kB / 442.8 MB, free: 3.137 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001586/0.2952, allocations: 53.5 kB / 442.8 MB, free: 3.105 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003136/0.2956, allocations: 61.59 kB / 442.9 MB, free: 3.105 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001743/0.2973, allocations: 2.974 MB / 445.9 MB, free: 176 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003781/0.2977, allocations: 44.11 kB / 445.9 MB, free: 152 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.766e-05/0.2977, allocations: 8.859 kB / 445.9 MB, free: 152 kB / 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.0001785/0.2979, allocations: 168.1 kB / 446.1 MB, free: 0 / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001285/0.298, allocations: 58.14 kB / 446.1 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001097/0.2981, allocations: 51.19 kB / 446.2 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.2981, allocations: 3.531 kB / 446.2 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.012e-06/0.2981, allocations: 4.25 kB / 446.2 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007873/0.2989, allocations: 0.6501 MB / 446.8 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001424/0.3003, allocations: 0.9031 MB / 447.7 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.132e-06/0.3003, allocations: 5.75 kB / 447.8 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003415/0.3007, allocations: 62.83 kB / 447.8 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.3007, allocations: 1.094 kB / 447.8 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.504e-05/0.3007, allocations: 7.672 kB / 447.8 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.3007, allocations: 5.031 kB / 447.8 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.3007, allocations: 0.875 kB / 447.8 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009058/0.3016, allocations: 0.5289 MB / 448.4 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000222/0.3018, allocations: 164.8 kB / 448.5 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.259e-05/0.3019, allocations: 9.016 kB / 448.5 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003083/0.3022, allocations: 15.03 kB / 448.5 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.827e-05/0.3023, allocations: 19.38 kB / 448.6 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.61e-05/0.3023, allocations: 6.75 kB / 448.6 MB, free: 14.29 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003786/0.3027, allocations: 327.3 kB / 448.9 MB, free: 14.12 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3027, allocations: 0 / 448.9 MB, free: 14.12 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004658/0.3031, allocations: 132 kB / 449 MB, free: 14.11 MB / 366.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.0001339/0.3033, allocations: 107.5 kB / 449.1 MB, free: 14.01 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009841/0.3042, allocations: 0.5528 MB / 449.7 MB, free: 13.63 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.317e-06/0.3042, allocations: 1.156 kB / 449.7 MB, free: 13.63 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002556/0.3045, allocations: 121.3 kB / 449.8 MB, free: 13.59 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006372/0.3051, allocations: 141.6 kB / 449.9 MB, free: 13.54 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001606/0.3067, allocations: 0.912 MB / 450.8 MB, free: 12.98 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004801/0.3072, allocations: 0.8183 MB / 451.7 MB, free: 12.27 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001437/0.3074, allocations: 42.69 kB / 451.7 MB, free: 12.27 MB / 366.1 MB Notification: Performance of SimCode: time 6.71e-07/0.3074, allocations: 3.938 kB / 451.7 MB, free: 12.26 MB / 366.1 MB Notification: Performance of Templates: time 0.01233/0.3197, allocations: 8.322 MB / 460 MB, free: 9.617 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.sim & ./Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/SimpleCooling/SimpleCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.655089623993263]