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.001115/0.001115, allocations: 82.59 kB / 21.43 MB, free: 3.07 MB / 18.57 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.00099/0.00099, allocations: 170 kB / 24.82 MB, free: 9.254 MB / 18.57 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 0.9566/0.9566, allocations: 177 MB / 205.1 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] 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 1.383e-06/1.383e-06, allocations: 0 / 273.3 MB, free: 1.254 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.128e-05/1.266e-05, allocations: 2.312 kB / 273.3 MB, free: 1.25 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.002817/0.002829, allocations: 3.483 MB / 276.8 MB, free: 13.75 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001166/0.003996, allocations: 0.9617 MB / 277.8 MB, free: 12.78 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001563/0.004152, allocations: 7.938 kB / 277.8 MB, free: 12.77 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002345/0.004386, allocations: 99.12 kB / 277.9 MB, free: 12.68 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000258/0.004644, allocations: 198.3 kB / 278.1 MB, free: 12.48 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001835/0.004828, allocations: 127.7 kB / 278.2 MB, free: 12.36 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004607/0.005289, allocations: 0.6727 MB / 278.9 MB, free: 11.68 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001665/0.005455, allocations: 127.5 kB / 279 MB, free: 11.54 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002794/0.005735, allocations: 375.2 kB / 279.3 MB, free: 11.18 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001998/0.005934, allocations: 199.5 kB / 279.5 MB, free: 10.98 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.338e-05/0.005988, allocations: 52 kB / 279.6 MB, free: 10.93 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.778e-05/0.006046, allocations: 52 kB / 279.6 MB, free: 10.88 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.472e-05/0.00611, allocations: 119.6 kB / 279.8 MB, free: 10.76 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001283/0.006239, allocations: 211.5 kB / 280 MB, free: 10.55 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003203/0.006559, allocations: 418.5 kB / 280.4 MB, free: 10.14 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.763e-06/0.006561, allocations: 0 / 280.4 MB, free: 10.14 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.006563, allocations: 4 kB / 280.4 MB, free: 10.14 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.006568, allocations: 4 kB / 280.4 MB, free: 10.14 MB / 266.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.0007949/0.007363, allocations: 0.8825 MB / 281.3 MB, free: 9.211 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.243e-05/0.007396, allocations: 15.98 kB / 281.3 MB, free: 9.195 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.954e-05/0.007485, allocations: 92.56 kB / 281.4 MB, free: 9.105 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002994/0.007785, allocations: 318.6 kB / 281.7 MB, free: 8.766 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.66e-05/0.007861, allocations: 110.3 kB / 281.8 MB, free: 8.641 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.149e-05/0.007903, allocations: 40.31 kB / 281.8 MB, free: 8.602 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004619/0.008365, allocations: 0.7744 MB / 282.6 MB, free: 7.66 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.008376, allocations: 192 / 282.6 MB, free: 7.66 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.497e-05/0.008401, allocations: 20.12 kB / 282.6 MB, free: 7.641 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-06/0.00841, allocations: 8 kB / 282.6 MB, free: 7.633 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001665/0.008577, allocations: 123 kB / 282.7 MB, free: 7.512 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001053/0.009629, allocations: 0.9087 MB / 283.7 MB, free: 6.57 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000484/0.01011, allocations: 262 kB / 283.9 MB, free: 6.305 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.485e-05/0.01019, allocations: 63.66 kB / 284 MB, free: 6.238 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.408e-05/0.01021, allocations: 16 kB / 284 MB, free: 6.223 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.515e-05/0.01024, allocations: 41.39 kB / 284 MB, free: 6.172 MB / 266.7 MB Notification: Performance of pre-optimization done (n=32): time 1.282e-06/0.01024, allocations: 0 / 284 MB, free: 6.172 MB / 266.7 MB Notification: Performance of matching and sorting (n=32): time 0.0005129/0.01075, allocations: 300.6 kB / 284.3 MB, free: 5.863 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001165/0.01087, allocations: 452.9 kB / 284.8 MB, free: 5.316 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002391/0.01111, allocations: 410.5 kB / 285.2 MB, free: 4.898 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.382e-05/0.01113, allocations: 37.7 kB / 285.2 MB, free: 4.855 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001288/0.01126, allocations: 299.1 kB / 285.5 MB, free: 4.559 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.784e-05/0.01132, allocations: 118.9 kB / 285.6 MB, free: 4.441 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.089e-05/0.0114, allocations: 83.64 kB / 285.7 MB, free: 4.348 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001316/0.01153, allocations: 0.5273 MB / 286.2 MB, free: 3.809 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.565e-05/0.01161, allocations: 70.31 kB / 286.3 MB, free: 3.734 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000246/0.01185, allocations: 0.6244 MB / 286.9 MB, free: 2.941 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001593/0.01201, allocations: 170.8 kB / 287.1 MB, free: 2.762 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.01201, allocations: 0 / 287.1 MB, free: 2.762 MB / 266.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0002834/0.0123, allocations: 328 kB / 287.4 MB, free: 2.414 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/0.01232, allocations: 29.7 kB / 287.4 MB, free: 2.379 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.01232, allocations: 3.984 kB / 287.4 MB, free: 2.375 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.37e-05/0.01241, allocations: 47.3 kB / 287.5 MB, free: 2.32 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001651/0.01257, allocations: 67.95 kB / 287.5 MB, free: 2.254 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001417/0.01399, allocations: 3.52 MB / 291.1 MB, free: 14.5 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001548/0.01414, allocations: 43.77 kB / 291.1 MB, free: 14.46 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.444e-05/0.01416, allocations: 8 kB / 291.1 MB, free: 14.45 MB / 282.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.0001068/0.01426, allocations: 180.6 kB / 291.3 MB, free: 14.26 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.543e-05/0.01432, allocations: 59.72 kB / 291.4 MB, free: 14.2 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.255e-05/0.01436, allocations: 48.31 kB / 291.4 MB, free: 14.16 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.01437, allocations: 4 kB / 291.4 MB, free: 14.15 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.033e-06/0.01437, allocations: 0 / 291.4 MB, free: 14.15 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002759/0.01464, allocations: 0.5526 MB / 292 MB, free: 13.5 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005798/0.01522, allocations: 0.6614 MB / 292.6 MB, free: 12.8 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.01523, allocations: 7.938 kB / 292.6 MB, free: 12.79 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001606/0.01539, allocations: 63.97 kB / 292.7 MB, free: 12.73 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.01539, allocations: 0 / 292.7 MB, free: 12.73 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.287e-05/0.0154, allocations: 8 kB / 292.7 MB, free: 12.72 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.0154, allocations: 3.938 kB / 292.7 MB, free: 12.71 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.0154, allocations: 3.984 kB / 292.7 MB, free: 12.71 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003076/0.01571, allocations: 401 kB / 293.1 MB, free: 12.3 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.45e-05/0.01581, allocations: 87.55 kB / 293.2 MB, free: 12.21 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.774e-05/0.01583, allocations: 8 kB / 293.2 MB, free: 12.2 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000132/0.01597, allocations: 20.02 kB / 293.2 MB, free: 12.18 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.655e-05/0.01599, allocations: 19.97 kB / 293.2 MB, free: 12.16 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.2e-05/0.01601, allocations: 11.98 kB / 293.2 MB, free: 12.15 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.00013/0.01614, allocations: 267 kB / 293.5 MB, free: 11.89 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01614, allocations: 0 / 293.5 MB, free: 11.89 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002597/0.0164, allocations: 135.8 kB / 293.6 MB, free: 11.76 MB / 282.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.22e-05/0.01648, allocations: 107.3 kB / 293.7 MB, free: 11.64 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004101/0.01689, allocations: 0.597 MB / 294.3 MB, free: 10.99 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.01689, allocations: 0 / 294.3 MB, free: 10.99 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 7.885e-05/0.01697, allocations: 88.02 kB / 294.4 MB, free: 10.9 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000343/0.01731, allocations: 137.3 kB / 294.6 MB, free: 10.77 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001046/0.01836, allocations: 0.7883 MB / 295.3 MB, free: 9.945 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.996e-05/0.01842, allocations: 105.9 kB / 295.4 MB, free: 9.824 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001376/0.01855, allocations: 55.36 kB / 295.5 MB, free: 9.77 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003111/0.01887, allocations: 262 kB / 295.8 MB, free: 9.512 MB / 282.7 MB Notification: Performance of SimCode: time 5.21e-07/0.01887, allocations: 7.938 kB / 295.8 MB, free: 9.504 MB / 282.7 MB Notification: Performance of Templates: time 0.0112/0.03007, allocations: 8.984 MB / 304.7 MB, free: 0.7422 MB / 282.7 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8657653341069818]