Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007383/0.0007383, allocations: 87.62 kB / 21.43 MB, free: 3.137 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00316/0.00316, allocations: 160.2 kB / 24.7 MB, free: 8.879 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8184/0.8184, allocations: 177.1 MB / 205 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_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_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 325.8 MB, free: 15.45 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.424e-05/1.563e-05, allocations: 2.281 kB / 325.8 MB, free: 15.45 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.002664/0.00268, allocations: 3.234 MB / 329 MB, free: 12.2 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001217/0.003897, allocations: 0.9267 MB / 330 MB, free: 11.27 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001669/0.004064, allocations: 11.94 kB / 330 MB, free: 11.26 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002862/0.00435, allocations: 111.1 kB / 330.1 MB, free: 11.15 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002715/0.004621, allocations: 194.2 kB / 330.3 MB, free: 10.96 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002111/0.004832, allocations: 131.7 kB / 330.4 MB, free: 10.83 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004843/0.005317, allocations: 0.6611 MB / 331.1 MB, free: 10.16 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001773/0.005494, allocations: 127.5 kB / 331.2 MB, free: 10.04 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002638/0.005758, allocations: 367.2 kB / 331.6 MB, free: 9.676 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001897/0.005947, allocations: 195.5 kB / 331.7 MB, free: 9.484 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.979e-05/0.005997, allocations: 52 kB / 331.8 MB, free: 9.434 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.909e-05/0.006046, allocations: 52 kB / 331.8 MB, free: 9.383 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.469e-05/0.006111, allocations: 127.6 kB / 332 MB, free: 9.258 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001352/0.006246, allocations: 211.5 kB / 332.2 MB, free: 9.051 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004395/0.006686, allocations: 0.662 MB / 332.8 MB, free: 8.387 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.006688, allocations: 4 kB / 332.8 MB, free: 8.383 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.006689, allocations: 4 kB / 332.8 MB, free: 8.379 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.493e-06/0.006695, allocations: 0 / 332.8 MB, free: 8.379 MB / 298.7 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.0008514/0.007547, allocations: 0.7703 MB / 333.6 MB, free: 7.57 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.953e-05/0.007576, allocations: 12.03 kB / 333.6 MB, free: 7.559 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.274e-05/0.007659, allocations: 64.56 kB / 333.7 MB, free: 7.496 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003764/0.008035, allocations: 340.4 kB / 334 MB, free: 7.137 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.17e-05/0.008117, allocations: 110.3 kB / 334.1 MB, free: 7.012 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.247e-05/0.008159, allocations: 32.38 kB / 334.2 MB, free: 6.98 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005255/0.008685, allocations: 0.8233 MB / 335 MB, free: 6.012 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.008696, allocations: 192 / 335 MB, free: 6.012 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.761e-05/0.008724, allocations: 20.12 kB / 335 MB, free: 5.992 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.114e-06/0.008731, allocations: 12 kB / 335 MB, free: 5.98 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003386/0.00907, allocations: 278.5 kB / 335.3 MB, free: 5.707 MB / 298.7 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.001175/0.01024, allocations: 0.9558 MB / 336.2 MB, free: 4.715 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006236/0.01087, allocations: 347 kB / 336.6 MB, free: 4.363 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001507/0.01102, allocations: 128.8 kB / 336.7 MB, free: 4.234 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.963e-05/0.01104, allocations: 4 kB / 336.7 MB, free: 4.23 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.998e-05/0.01106, allocations: 38.56 kB / 336.8 MB, free: 4.184 MB / 298.7 MB Notification: Performance of pre-optimization done (n=32): time 1.433e-06/0.01106, allocations: 4 kB / 336.8 MB, free: 4.18 MB / 298.7 MB Notification: Performance of matching and sorting (n=32): time 0.000713/0.01177, allocations: 448.3 kB / 337.2 MB, free: 3.73 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001315/0.0119, allocations: 452.9 kB / 337.6 MB, free: 3.184 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002867/0.01219, allocations: 405.6 kB / 338 MB, free: 2.777 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.568e-05/0.01222, allocations: 33.7 kB / 338.1 MB, free: 2.738 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001063/0.01232, allocations: 240.4 kB / 338.3 MB, free: 2.5 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.583e-05/0.01238, allocations: 115 kB / 338.4 MB, free: 2.387 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.614e-05/0.01246, allocations: 74.02 kB / 338.5 MB, free: 2.305 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.679e-05/0.01254, allocations: 354.7 kB / 338.8 MB, free: 1.949 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001515/0.01269, allocations: 138.3 kB / 339 MB, free: 1.809 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003125/0.01301, allocations: 0.6478 MB / 339.6 MB, free: 1.012 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003015/0.01331, allocations: 281.2 kB / 339.9 MB, free: 0.7266 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.01331, allocations: 0 / 339.9 MB, free: 0.7266 MB / 298.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0004187/0.01373, allocations: 442.2 kB / 340.3 MB, free: 276 kB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.479e-05/0.01375, allocations: 37.7 kB / 340.4 MB, free: 232 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.01376, allocations: 4.031 kB / 340.4 MB, free: 228 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00011/0.01387, allocations: 49.7 kB / 340.4 MB, free: 172 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001584/0.01403, allocations: 71.89 kB / 340.5 MB, free: 100 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001405/0.01543, allocations: 2.7 MB / 343.2 MB, free: 13.19 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001597/0.01559, allocations: 39.81 kB / 343.2 MB, free: 13.15 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.631e-05/0.01561, allocations: 11.94 kB / 343.2 MB, free: 13.14 MB / 314.7 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.0001252/0.01573, allocations: 169.8 kB / 343.4 MB, free: 12.96 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.592e-05/0.01578, allocations: 47.72 kB / 343.4 MB, free: 12.91 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.821e-05/0.01583, allocations: 48.36 kB / 343.5 MB, free: 12.87 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/0.01583, allocations: 7.938 kB / 343.5 MB, free: 12.86 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.304e-06/0.01583, allocations: 0 / 343.5 MB, free: 12.86 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005098/0.01634, allocations: 0.6495 MB / 344.1 MB, free: 12.11 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007066/0.01705, allocations: 0.7435 MB / 344.9 MB, free: 11.32 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.01705, allocations: 0 / 344.9 MB, free: 11.32 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001649/0.01721, allocations: 71.89 kB / 345 MB, free: 11.25 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.01722, allocations: 4 kB / 345 MB, free: 11.24 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.206e-05/0.01723, allocations: 4 kB / 345 MB, free: 11.24 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.01723, allocations: 7.984 kB / 345 MB, free: 11.23 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.01723, allocations: 4 kB / 345 MB, free: 11.23 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004797/0.01771, allocations: 0.5134 MB / 345.5 MB, free: 10.7 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.836e-05/0.01781, allocations: 79.72 kB / 345.6 MB, free: 10.62 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.957e-05/0.01784, allocations: 15.94 kB / 345.6 MB, free: 10.61 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001412/0.01798, allocations: 19.92 kB / 345.6 MB, free: 10.59 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.879e-05/0.01801, allocations: 16.2 kB / 345.6 MB, free: 10.57 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.13e-05/0.01802, allocations: 12 kB / 345.6 MB, free: 10.56 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001902/0.01821, allocations: 283.2 kB / 345.9 MB, free: 10.29 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01821, allocations: 4.062 kB / 345.9 MB, free: 10.28 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002535/0.01847, allocations: 135.8 kB / 346 MB, free: 10.15 MB / 314.7 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 8.037e-05/0.01855, allocations: 111.2 kB / 346.2 MB, free: 10.03 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005403/0.01909, allocations: 0.5763 MB / 346.7 MB, free: 9.41 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.01909, allocations: 4 kB / 346.7 MB, free: 9.406 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001314/0.01922, allocations: 120 kB / 346.9 MB, free: 9.289 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003456/0.01957, allocations: 121.3 kB / 347 MB, free: 9.172 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008823/0.02045, allocations: 0.8339 MB / 347.8 MB, free: 8.305 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001179/0.02057, allocations: 216.1 kB / 348 MB, free: 8.07 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.106e-05/0.02065, allocations: 44.48 kB / 348.1 MB, free: 8.027 MB / 314.7 MB Notification: Performance of SimCode: time 4.81e-07/0.02065, allocations: 0 / 348.1 MB, free: 8.027 MB / 314.7 MB Notification: Performance of Templates: time 0.006197/0.02684, allocations: 8.268 MB / 356.3 MB, free: 15.82 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.sim & ./Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/SimpleCooling/SimpleCooling.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 4.885118510574102]