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.001053/0.001053, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001609/0.002662, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001093/0.001093, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001619/0.002712, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.8822/0.8822, allocations: 177.2 MB / 189.8 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07211/0.9543, allocations: 53.65 MB / 243.4 MB, free: 15.51 MB / 250.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.453e-06/1.453e-06, allocations: 0 / 244.7 MB, free: 14.23 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.116e-05/1.261e-05, allocations: 6.109 kB / 244.7 MB, free: 14.23 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.002987/0.003, allocations: 3.55 MB / 248.2 MB, free: 10.66 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001136/0.004135, allocations: 1.008 MB / 249.3 MB, free: 9.641 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001267/0.004262, allocations: 7.938 kB / 249.3 MB, free: 9.633 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001712/0.004433, allocations: 107.1 kB / 249.4 MB, free: 9.527 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002197/0.004653, allocations: 202.2 kB / 249.6 MB, free: 9.328 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001731/0.004826, allocations: 123.8 kB / 249.7 MB, free: 9.207 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004536/0.00528, allocations: 0.6648 MB / 250.4 MB, free: 8.543 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001593/0.005439, allocations: 137.3 kB / 250.5 MB, free: 8.402 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003408/0.00578, allocations: 456.2 kB / 250.9 MB, free: 7.957 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001954/0.005975, allocations: 195.5 kB / 251.1 MB, free: 7.766 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.493e-05/0.00603, allocations: 55.94 kB / 251.2 MB, free: 7.711 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.396e-05/0.006094, allocations: 52 kB / 251.2 MB, free: 7.66 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.589e-05/0.00615, allocations: 87.69 kB / 251.3 MB, free: 7.574 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001154/0.006265, allocations: 171.8 kB / 251.5 MB, free: 7.406 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003001/0.006566, allocations: 390.5 kB / 251.9 MB, free: 7.023 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.857e-06/0.006574, allocations: 0 / 251.9 MB, free: 7.023 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.12e-07/0.006575, allocations: 0 / 251.9 MB, free: 7.023 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.937e-06/0.006584, allocations: 0 / 251.9 MB, free: 7.023 MB / 250.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.001026/0.00761, allocations: 0.8591 MB / 252.7 MB, free: 6.133 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.574e-05/0.007636, allocations: 12.03 kB / 252.7 MB, free: 6.121 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.767e-05/0.007714, allocations: 68.88 kB / 252.8 MB, free: 6.055 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002782/0.007992, allocations: 259.9 kB / 253.1 MB, free: 5.773 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.802e-05/0.00807, allocations: 110.3 kB / 253.2 MB, free: 5.648 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.395e-05/0.008114, allocations: 44.33 kB / 253.2 MB, free: 5.605 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000387/0.008501, allocations: 0.7341 MB / 253.9 MB, free: 4.719 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.008511, allocations: 4.188 kB / 253.9 MB, free: 4.715 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.303e-05/0.008534, allocations: 20.12 kB / 254 MB, free: 4.695 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.064e-06/0.008541, allocations: 4 kB / 254 MB, free: 4.691 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001373/0.008679, allocations: 111.1 kB / 254.1 MB, free: 4.586 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008668/0.009545, allocations: 0.6674 MB / 254.7 MB, free: 3.895 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004407/0.009986, allocations: 225.4 kB / 255 MB, free: 3.664 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.977e-05/0.01006, allocations: 68.75 kB / 255 MB, free: 3.594 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.144e-05/0.01008, allocations: 8 kB / 255 MB, free: 3.586 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.357e-05/0.0101, allocations: 46.5 kB / 255.1 MB, free: 3.531 MB / 250.7 MB Notification: Performance of pre-optimization done (n=32): time 1.213e-06/0.0101, allocations: 0 / 255.1 MB, free: 3.531 MB / 250.7 MB Notification: Performance of matching and sorting (n=32): time 0.0003632/0.01047, allocations: 244.5 kB / 255.3 MB, free: 3.281 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.029e-05/0.01049, allocations: 55.41 kB / 255.4 MB, free: 3.215 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001803/0.01067, allocations: 343.3 kB / 255.7 MB, free: 2.867 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.175e-05/0.01069, allocations: 33.7 kB / 255.7 MB, free: 2.828 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.45e-05/0.01076, allocations: 201.4 kB / 255.9 MB, free: 2.629 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.338e-05/0.01082, allocations: 115 kB / 256.1 MB, free: 2.516 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.161e-05/0.01089, allocations: 73.95 kB / 256.1 MB, free: 2.434 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.076e-05/0.01097, allocations: 358.7 kB / 256.5 MB, free: 2.074 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.088e-05/0.01103, allocations: 62.34 kB / 256.5 MB, free: 2.008 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001995/0.01123, allocations: 0.5735 MB / 257.1 MB, free: 1.285 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001364/0.01136, allocations: 161.2 kB / 257.3 MB, free: 1.117 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.01137, allocations: 3.938 kB / 257.3 MB, free: 1.113 MB / 250.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0002087/0.01158, allocations: 266.6 kB / 257.5 MB, free: 0.8281 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.628e-05/0.0116, allocations: 32.05 kB / 257.6 MB, free: 0.793 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.396e-06/0.01161, allocations: 0 / 257.6 MB, free: 0.793 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.676e-05/0.01168, allocations: 33.69 kB / 257.6 MB, free: 0.7539 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002098/0.01189, allocations: 87.92 kB / 257.7 MB, free: 0.668 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001335/0.01323, allocations: 2.411 MB / 260.1 MB, free: 14.08 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000146/0.01337, allocations: 35.77 kB / 260.1 MB, free: 14.05 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.37e-05/0.01339, allocations: 8 kB / 260.1 MB, free: 14.04 MB / 266.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 9.454e-05/0.01348, allocations: 133.8 kB / 260.3 MB, free: 13.9 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.251e-05/0.01352, allocations: 39.95 kB / 260.3 MB, free: 13.86 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.937e-05/0.01357, allocations: 52.31 kB / 260.4 MB, free: 13.81 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.01358, allocations: 4 kB / 260.4 MB, free: 13.8 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.01358, allocations: 7.984 kB / 260.4 MB, free: 13.8 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002345/0.01381, allocations: 0.5245 MB / 260.9 MB, free: 13.17 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004625/0.01428, allocations: 0.4941 MB / 261.4 MB, free: 12.64 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.01428, allocations: 3.938 kB / 261.4 MB, free: 12.64 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002/0.01448, allocations: 79.94 kB / 261.5 MB, free: 12.56 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.298e-05/0.01455, allocations: 55.7 kB / 261.5 MB, free: 12.5 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.01456, allocations: 4 kB / 261.5 MB, free: 12.5 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.274e-05/0.01457, allocations: 8 kB / 261.5 MB, free: 12.49 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.01457, allocations: 0 / 261.5 MB, free: 12.49 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.01457, allocations: 7.922 kB / 261.5 MB, free: 12.48 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002336/0.01481, allocations: 317.9 kB / 261.9 MB, free: 12.16 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.913e-05/0.01483, allocations: 8 kB / 261.9 MB, free: 12.15 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001287/0.01496, allocations: 15.98 kB / 261.9 MB, free: 12.14 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.596e-05/0.01499, allocations: 15.97 kB / 261.9 MB, free: 12.12 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.01e-05/0.015, allocations: 7.984 kB / 261.9 MB, free: 12.11 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.851e-05/0.0151, allocations: 144.7 kB / 262 MB, free: 11.97 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0151, allocations: 4.031 kB / 262 MB, free: 11.96 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002421/0.01534, allocations: 135.8 kB / 262.2 MB, free: 11.83 MB / 266.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.155e-05/0.01542, allocations: 88.36 kB / 262.3 MB, free: 11.73 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003704/0.01579, allocations: 478.4 kB / 262.7 MB, free: 11.22 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.527e-05/0.01581, allocations: 11.98 kB / 262.7 MB, free: 11.21 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001069/0.01591, allocations: 96.78 kB / 262.8 MB, free: 11.11 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006272/0.01654, allocations: 1.252 MB / 264.1 MB, free: 9.613 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00549/0.02203, allocations: 0.7785 MB / 264.9 MB, free: 8.801 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.255e-05/0.02209, allocations: 110.1 kB / 265 MB, free: 8.676 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001429/0.02224, allocations: 64.14 kB / 265 MB, free: 8.613 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003007/0.02254, allocations: 225.2 kB / 265.3 MB, free: 8.391 MB / 266.7 MB Notification: Performance of SimCode: time 9.32e-07/0.02254, allocations: 0 / 265.3 MB, free: 8.391 MB / 266.7 MB Notification: Performance of Templates: time 0.01063/0.03317, allocations: 10.22 MB / 275.5 MB, free: 14.41 MB / 282.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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.575075587257743]