Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.0009471/0.0009471, allocations: 80.8 kB / 22.29 MB, free: 2.203 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.0009457/0.0009457, allocations: 167.1 kB / 25.7 MB, free: 8.445 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9954/0.9954, allocations: 158.6 MB / 187.6 MB, free: 2.789 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 251.6 MB, free: 7.25 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.482e-05/1.632e-05, allocations: 2.312 kB / 251.6 MB, free: 7.246 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.005035/0.005051, allocations: 3.53 MB / 255.1 MB, free: 3.695 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001798/0.006849, allocations: 1.001 MB / 256.1 MB, free: 2.684 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001984/0.007047, allocations: 11.94 kB / 256.1 MB, free: 2.672 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003304/0.007378, allocations: 111.1 kB / 256.2 MB, free: 2.562 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003914/0.007769, allocations: 194.3 kB / 256.4 MB, free: 2.371 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002928/0.008062, allocations: 131.7 kB / 256.5 MB, free: 2.242 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006796/0.008741, allocations: 0.6611 MB / 257.2 MB, free: 1.574 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002422/0.008984, allocations: 129.4 kB / 257.3 MB, free: 1.438 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004622/0.009446, allocations: 371.2 kB / 257.7 MB, free: 1.074 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003329/0.009779, allocations: 199.4 kB / 257.9 MB, free: 0.8789 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 6.159e-05/0.00984, allocations: 52 kB / 257.9 MB, free: 0.8281 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.267e-05/0.009893, allocations: 56 kB / 258 MB, free: 0.7734 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 6.705e-05/0.00996, allocations: 119.5 kB / 258.1 MB, free: 0.6562 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001421/0.0101, allocations: 207.6 kB / 258.3 MB, free: 464 kB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003727/0.01047, allocations: 430.4 kB / 258.7 MB, free: 32 kB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.364e-06/0.01048, allocations: 0 / 258.7 MB, free: 32 kB / 234.7 MB Notification: Performance of FrontEnd: time 8.11e-07/0.01048, allocations: 0 / 258.7 MB, free: 32 kB / 234.7 MB Notification: Performance of Transformations before backend: time 6.953e-06/0.01048, allocations: 0 / 258.7 MB, free: 32 kB / 234.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.0008198/0.0113, allocations: 0.7425 MB / 259.5 MB, free: 15.25 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.517e-05/0.01134, allocations: 19.98 kB / 259.5 MB, free: 15.23 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.051e-05/0.01142, allocations: 64.88 kB / 259.5 MB, free: 15.17 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003212/0.01174, allocations: 267.8 kB / 259.8 MB, free: 14.89 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.173e-05/0.01183, allocations: 110.3 kB / 259.9 MB, free: 14.76 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.306e-05/0.01188, allocations: 40.38 kB / 260 MB, free: 14.72 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004256/0.0123, allocations: 0.7418 MB / 260.7 MB, free: 13.83 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/0.01231, allocations: 192 / 260.7 MB, free: 13.83 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.213e-05/0.01234, allocations: 24.12 kB / 260.7 MB, free: 13.8 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.01235, allocations: 8 kB / 260.7 MB, free: 13.8 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001479/0.01249, allocations: 107.1 kB / 260.8 MB, free: 13.69 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009156/0.01341, allocations: 0.6519 MB / 261.5 MB, free: 13.02 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004687/0.01388, allocations: 226.5 kB / 261.7 MB, free: 12.79 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.449e-05/0.01395, allocations: 64.77 kB / 261.8 MB, free: 12.72 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.605e-05/0.01398, allocations: 8 kB / 261.8 MB, free: 12.71 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.522e-05/0.014, allocations: 38.56 kB / 261.8 MB, free: 12.66 MB / 250.7 MB Notification: Performance of pre-optimization done (n=32): time 1.513e-06/0.014, allocations: 3.938 kB / 261.8 MB, free: 12.66 MB / 250.7 MB Notification: Performance of matching and sorting (n=32): time 0.0003814/0.01439, allocations: 239.2 kB / 262 MB, free: 12.41 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001379/0.01452, allocations: 456.9 kB / 262.5 MB, free: 11.86 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000213/0.01474, allocations: 339.2 kB / 262.8 MB, free: 11.52 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.465e-05/0.01476, allocations: 33.7 kB / 262.9 MB, free: 11.48 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.267e-05/0.01484, allocations: 193.5 kB / 263 MB, free: 11.29 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.47e-05/0.0149, allocations: 115 kB / 263.2 MB, free: 11.17 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.858e-05/0.01498, allocations: 77.94 kB / 263.2 MB, free: 11.09 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.281e-05/0.01507, allocations: 354.7 kB / 263.6 MB, free: 10.73 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.443e-05/0.01514, allocations: 62.33 kB / 263.6 MB, free: 10.66 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002457/0.01538, allocations: 0.5697 MB / 264.2 MB, free: 9.945 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001435/0.01552, allocations: 165.1 kB / 264.4 MB, free: 9.773 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.01553, allocations: 7.938 kB / 264.4 MB, free: 9.766 MB / 250.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0002982/0.01583, allocations: 262.5 kB / 264.6 MB, free: 9.484 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.566e-05/0.01585, allocations: 29.7 kB / 264.7 MB, free: 9.449 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.01586, allocations: 0 / 264.7 MB, free: 9.449 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.574e-05/0.01594, allocations: 33.69 kB / 264.7 MB, free: 9.41 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002106/0.01615, allocations: 79.89 kB / 264.8 MB, free: 9.332 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001356/0.01751, allocations: 2.411 MB / 267.2 MB, free: 6.754 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001527/0.01766, allocations: 43.89 kB / 267.2 MB, free: 6.711 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.463e-05/0.01768, allocations: 8 kB / 267.2 MB, free: 6.703 MB / 250.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.384e-05/0.01777, allocations: 133.8 kB / 267.4 MB, free: 6.562 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.586e-05/0.01782, allocations: 39.95 kB / 267.4 MB, free: 6.523 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.72e-05/0.01786, allocations: 52.31 kB / 267.5 MB, free: 6.465 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.01786, allocations: 0 / 267.5 MB, free: 6.465 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.475e-06/0.01787, allocations: 0 / 267.5 MB, free: 6.465 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002548/0.01812, allocations: 0.5214 MB / 268 MB, free: 5.84 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005427/0.01866, allocations: 0.4944 MB / 268.5 MB, free: 5.316 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.01867, allocations: 3.938 kB / 268.5 MB, free: 5.312 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002118/0.01888, allocations: 79.88 kB / 268.6 MB, free: 5.234 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.01888, allocations: 4 kB / 268.6 MB, free: 5.23 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.397e-05/0.0189, allocations: 7.984 kB / 268.6 MB, free: 5.223 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.0189, allocations: 0 / 268.6 MB, free: 5.223 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.0189, allocations: 4 kB / 268.6 MB, free: 5.219 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002602/0.01916, allocations: 320.7 kB / 268.9 MB, free: 4.891 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.87e-05/0.01924, allocations: 47.69 kB / 268.9 MB, free: 4.844 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.892e-05/0.01927, allocations: 11.94 kB / 268.9 MB, free: 4.832 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001259/0.01939, allocations: 11.94 kB / 269 MB, free: 4.82 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.173e-05/0.01943, allocations: 27.94 kB / 269 MB, free: 4.793 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.799e-06/0.01944, allocations: 4 kB / 269 MB, free: 4.789 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001036/0.01954, allocations: 148.7 kB / 269.1 MB, free: 4.648 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01954, allocations: 0 / 269.1 MB, free: 4.648 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002446/0.01978, allocations: 135.8 kB / 269.3 MB, free: 4.516 MB / 250.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.655e-05/0.01987, allocations: 88.39 kB / 269.4 MB, free: 4.422 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0004062/0.02028, allocations: 473.7 kB / 269.8 MB, free: 3.914 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 9.759e-06/0.02029, allocations: 8 kB / 269.8 MB, free: 3.906 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 7.608e-05/0.02036, allocations: 80.67 kB / 269.9 MB, free: 3.824 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003107/0.02067, allocations: 133.4 kB / 270 MB, free: 3.688 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001391/0.02206, allocations: 0.7776 MB / 270.8 MB, free: 2.883 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.709e-05/0.02213, allocations: 113.8 kB / 270.9 MB, free: 2.754 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001465/0.02228, allocations: 55.39 kB / 271 MB, free: 2.695 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003186/0.0226, allocations: 225.2 kB / 271.2 MB, free: 2.477 MB / 250.7 MB Notification: Performance of SimCode: time 7.11e-07/0.0226, allocations: 4 kB / 271.2 MB, free: 2.473 MB / 250.7 MB Notification: Performance of Templates: time 0.01048/0.03308, allocations: 9.129 MB / 280.3 MB, free: 9.379 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.sim & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.78358206525445]