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.00102/0.00102, allocations: 75.77 kB / 22.45 MB, free: 2.098 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.001109/0.001109, allocations: 168.7 kB / 25.75 MB, free: 8.59 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.8699/0.8699, allocations: 158.6 MB / 187.5 MB, free: 2.949 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.502e-06/1.502e-06, allocations: 0 / 251.1 MB, free: 7.832 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.003e-05/2.153e-05, allocations: 2.312 kB / 251.1 MB, free: 7.828 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.004274/0.004295, allocations: 3.498 MB / 254.6 MB, free: 4.305 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001848/0.006144, allocations: 0.9705 MB / 255.6 MB, free: 3.324 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002471/0.006391, allocations: 7.938 kB / 255.6 MB, free: 3.316 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003045/0.006695, allocations: 103.1 kB / 255.7 MB, free: 3.215 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003133/0.007008, allocations: 210.1 kB / 255.9 MB, free: 3.008 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002242/0.007233, allocations: 119.8 kB / 256 MB, free: 2.891 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.000527/0.00776, allocations: 0.6724 MB / 256.7 MB, free: 2.219 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002017/0.007961, allocations: 123.5 kB / 256.8 MB, free: 2.09 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002857/0.008247, allocations: 367.2 kB / 257.1 MB, free: 1.73 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002311/0.008478, allocations: 203.4 kB / 257.3 MB, free: 1.531 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 6.674e-05/0.008545, allocations: 56 kB / 257.4 MB, free: 1.477 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.455e-05/0.008599, allocations: 52 kB / 257.5 MB, free: 1.426 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 8.075e-05/0.00868, allocations: 119.6 kB / 257.6 MB, free: 1.309 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001601/0.00884, allocations: 207.5 kB / 257.8 MB, free: 1.105 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003839/0.009224, allocations: 430.5 kB / 258.2 MB, free: 0.6836 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.009228, allocations: 0 / 258.2 MB, free: 0.6836 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.00923, allocations: 4 kB / 258.2 MB, free: 0.6797 MB / 234.7 MB Notification: Performance of Transformations before backend: time 8.435e-06/0.009238, allocations: 0 / 258.2 MB, free: 0.6797 MB / 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.001008/0.01025, allocations: 0.8866 MB / 259.1 MB, free: 15.75 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.01029, allocations: 15.92 kB / 259.1 MB, free: 15.73 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001188/0.0104, allocations: 96.5 kB / 259.2 MB, free: 15.64 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004105/0.01081, allocations: 327.2 kB / 259.5 MB, free: 15.3 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001028/0.01092, allocations: 106.3 kB / 259.6 MB, free: 15.18 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.287e-05/0.01097, allocations: 44.36 kB / 259.7 MB, free: 15.13 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005691/0.01154, allocations: 0.7901 MB / 260.4 MB, free: 14.17 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/0.01155, allocations: 4.141 kB / 260.5 MB, free: 14.17 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.145e-05/0.01159, allocations: 24.11 kB / 260.5 MB, free: 14.14 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.094e-05/0.0116, allocations: 8 kB / 260.5 MB, free: 14.14 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002565/0.01185, allocations: 163.8 kB / 260.6 MB, free: 13.98 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001255/0.01311, allocations: 0.9551 MB / 261.6 MB, free: 12.98 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006101/0.01372, allocations: 267.9 kB / 261.9 MB, free: 12.71 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001154/0.01383, allocations: 75.66 kB / 261.9 MB, free: 12.63 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.909e-05/0.01386, allocations: 11.98 kB / 261.9 MB, free: 12.62 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.692e-05/0.01389, allocations: 41.39 kB / 262 MB, free: 12.57 MB / 250.7 MB Notification: Performance of pre-optimization done (n=32): time 2.134e-06/0.01389, allocations: 0 / 262 MB, free: 12.57 MB / 250.7 MB Notification: Performance of matching and sorting (n=32): time 0.000583/0.01448, allocations: 332.6 kB / 262.3 MB, free: 12.23 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001341/0.01461, allocations: 445 kB / 262.7 MB, free: 11.69 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003018/0.01491, allocations: 438.7 kB / 263.2 MB, free: 11.24 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.492e-05/0.01494, allocations: 33.7 kB / 263.2 MB, free: 11.2 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001323/0.01507, allocations: 287.2 kB / 263.5 MB, free: 10.92 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.408e-05/0.01513, allocations: 119 kB / 263.6 MB, free: 10.8 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.069e-05/0.01521, allocations: 79.67 kB / 263.7 MB, free: 10.71 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001386/0.01535, allocations: 0.5313 MB / 264.2 MB, free: 10.17 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001057/0.01546, allocations: 86.25 kB / 264.3 MB, free: 10.08 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002824/0.01574, allocations: 0.6284 MB / 264.9 MB, free: 9.281 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002096/0.01595, allocations: 190.9 kB / 265.1 MB, free: 9.082 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.01595, allocations: 3.938 kB / 265.1 MB, free: 9.078 MB / 250.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003546/0.01631, allocations: 356 kB / 265.5 MB, free: 8.703 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.9e-05/0.01634, allocations: 33.7 kB / 265.5 MB, free: 8.664 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.01634, allocations: 7.938 kB / 265.5 MB, free: 8.656 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001271/0.01647, allocations: 51.28 kB / 265.6 MB, free: 8.598 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001679/0.01664, allocations: 63.91 kB / 265.6 MB, free: 8.535 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001604/0.01824, allocations: 3.574 MB / 269.2 MB, free: 4.711 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001612/0.0184, allocations: 35.77 kB / 269.2 MB, free: 4.676 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.656e-05/0.01842, allocations: 12 kB / 269.2 MB, free: 4.664 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 0.0001309/0.01855, allocations: 188.5 kB / 269.4 MB, free: 4.469 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.761e-05/0.01861, allocations: 55.72 kB / 269.5 MB, free: 4.414 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.931e-05/0.01866, allocations: 52.36 kB / 269.5 MB, free: 4.363 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.01866, allocations: 4 kB / 269.5 MB, free: 4.359 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.554e-06/0.01866, allocations: 0 / 269.5 MB, free: 4.359 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003297/0.01899, allocations: 0.5721 MB / 270.1 MB, free: 3.684 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006939/0.01968, allocations: 0.7196 MB / 270.8 MB, free: 2.918 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.01969, allocations: 4 kB / 270.8 MB, free: 2.914 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001768/0.01986, allocations: 71.89 kB / 270.9 MB, free: 2.844 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.01987, allocations: 0 / 270.9 MB, free: 2.844 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.484e-05/0.01988, allocations: 8 kB / 270.9 MB, free: 2.836 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.01988, allocations: 0 / 270.9 MB, free: 2.836 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.01989, allocations: 4 kB / 270.9 MB, free: 2.832 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003772/0.02026, allocations: 445 kB / 271.3 MB, free: 2.379 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.915e-05/0.02036, allocations: 75.61 kB / 271.4 MB, free: 2.305 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.491e-05/0.0204, allocations: 12 kB / 271.4 MB, free: 2.293 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001433/0.02054, allocations: 23.95 kB / 271.5 MB, free: 2.27 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.31e-05/0.02057, allocations: 15.97 kB / 271.5 MB, free: 2.254 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.126e-05/0.02058, allocations: 11.98 kB / 271.5 MB, free: 2.242 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001781/0.02076, allocations: 287.1 kB / 271.8 MB, free: 1.965 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02076, allocations: 0 / 271.8 MB, free: 1.965 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002732/0.02104, allocations: 139.8 kB / 271.9 MB, free: 1.828 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 0.0001007/0.02114, allocations: 103.2 kB / 272 MB, free: 1.715 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.000544/0.02168, allocations: 0.6162 MB / 272.6 MB, free: 1.043 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.02168, allocations: 0 / 272.6 MB, free: 1.043 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000101/0.02178, allocations: 91.56 kB / 272.7 MB, free: 0.9492 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003981/0.02218, allocations: 137.5 kB / 272.8 MB, free: 0.8125 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001286/0.02347, allocations: 0.7914 MB / 273.6 MB, free: 15.98 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.494e-05/0.02353, allocations: 109.9 kB / 273.7 MB, free: 15.86 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001244/0.02366, allocations: 51.38 kB / 273.8 MB, free: 15.81 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.949e-05/0.02373, allocations: 40.48 kB / 273.8 MB, free: 15.77 MB / 266.7 MB Notification: Performance of SimCode: time 1.032e-06/0.02373, allocations: 11.94 kB / 273.8 MB, free: 15.76 MB / 266.7 MB Notification: Performance of Templates: time 0.009544/0.03327, allocations: 8.401 MB / 282.2 MB, free: 7.395 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 -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.9249222099315375]