Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.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.002767/0.002767, allocations: 91.67 kB / 21.73 MB, free: 2.812 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.004066/0.004066, allocations: 164.1 kB / 25.03 MB, free: 8.32 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 1.491/1.491, allocations: 158.6 MB / 186.8 MB, free: 2.902 MB / 170.7 MB " [Timeout remaining time 178] 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.PumpDropOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.304e-06/2.304e-06, allocations: 0 / 250.4 MB, free: 7.844 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.576e-05/3.806e-05, allocations: 2.312 kB / 250.4 MB, free: 7.84 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.006182/0.00622, allocations: 3.722 MB / 254.1 MB, free: 4.094 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002233/0.008453, allocations: 1.025 MB / 255.1 MB, free: 3.059 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003157/0.008769, allocations: 7.938 kB / 255.1 MB, free: 3.051 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003816/0.009151, allocations: 107.1 kB / 255.2 MB, free: 2.945 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008928/0.01004, allocations: 218.1 kB / 255.4 MB, free: 2.73 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003572/0.0104, allocations: 139.7 kB / 255.6 MB, free: 2.594 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009675/0.01137, allocations: 0.7312 MB / 256.3 MB, free: 1.859 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002882/0.01166, allocations: 139.2 kB / 256.4 MB, free: 1.715 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005399/0.0122, allocations: 407.1 kB / 256.8 MB, free: 1.312 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003728/0.01257, allocations: 231.3 kB / 257.1 MB, free: 1.086 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001225/0.01269, allocations: 60 kB / 257.1 MB, free: 1.027 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001213/0.01281, allocations: 60 kB / 257.2 MB, free: 0.9688 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001483/0.01296, allocations: 135.5 kB / 257.3 MB, free: 0.8359 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002981/0.01326, allocations: 227.5 kB / 257.5 MB, free: 0.6133 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001012/0.01427, allocations: 0.7359 MB / 258.3 MB, free: 15.88 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.01428, allocations: 0 / 258.3 MB, free: 15.88 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.01428, allocations: 4 kB / 258.3 MB, free: 15.87 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.099e-05/0.01429, allocations: 0 / 258.3 MB, free: 15.87 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001879/0.01617, allocations: 0.9799 MB / 259.2 MB, free: 14.85 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.01621, allocations: 15.98 kB / 259.3 MB, free: 14.83 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000191/0.0164, allocations: 100.5 kB / 259.4 MB, free: 14.73 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007282/0.01713, allocations: 379.5 kB / 259.7 MB, free: 14.34 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001502/0.01728, allocations: 114.7 kB / 259.8 MB, free: 14.21 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.762e-05/0.01735, allocations: 44.31 kB / 259.9 MB, free: 14.16 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001243/0.0186, allocations: 0.9038 MB / 260.8 MB, free: 13.1 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.613e-05/0.01861, allocations: 192 / 260.8 MB, free: 13.1 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.726e-05/0.01866, allocations: 24.12 kB / 260.8 MB, free: 13.07 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.483e-05/0.01868, allocations: 8 kB / 260.8 MB, free: 13.07 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008017/0.01948, allocations: 327.7 kB / 261.1 MB, free: 12.75 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002354/0.02183, allocations: 1.153 MB / 262.3 MB, free: 11.55 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001074/0.02291, allocations: 359.4 kB / 262.6 MB, free: 11.19 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003915/0.0233, allocations: 175.3 kB / 262.8 MB, free: 11.01 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.154e-05/0.02334, allocations: 8 kB / 262.8 MB, free: 11 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.27e-05/0.02338, allocations: 46.03 kB / 262.9 MB, free: 10.95 MB / 250.7 MB Notification: Performance of pre-optimization done (n=37): time 1.373e-06/0.02338, allocations: 0 / 262.9 MB, free: 10.95 MB / 250.7 MB Notification: Performance of matching and sorting (n=37): time 0.001516/0.0249, allocations: 0.5634 MB / 263.4 MB, free: 10.37 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003127/0.02521, allocations: 445 kB / 263.9 MB, free: 9.832 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007409/0.02595, allocations: 0.5534 MB / 264.4 MB, free: 9.258 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 4.645e-05/0.026, allocations: 33.7 kB / 264.5 MB, free: 9.219 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002996/0.0263, allocations: 327.2 kB / 264.8 MB, free: 8.895 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001584/0.02646, allocations: 142.8 kB / 264.9 MB, free: 8.754 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001812/0.02664, allocations: 95.3 kB / 265 MB, free: 8.652 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0003568/0.027, allocations: 0.5586 MB / 265.6 MB, free: 8.082 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003639/0.02736, allocations: 153.6 kB / 265.7 MB, free: 7.926 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008652/0.02822, allocations: 0.7205 MB / 266.4 MB, free: 7.035 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000742/0.02897, allocations: 344.5 kB / 266.8 MB, free: 6.684 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.02897, allocations: 0 / 266.8 MB, free: 6.684 MB / 250.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001062/0.03003, allocations: 0.5034 MB / 267.3 MB, free: 6.152 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.803e-05/0.03008, allocations: 29.7 kB / 267.3 MB, free: 6.117 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.175e-05/0.03009, allocations: 4 kB / 267.3 MB, free: 6.113 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002152/0.03031, allocations: 63.28 kB / 267.4 MB, free: 6.043 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004205/0.03073, allocations: 75.92 kB / 267.4 MB, free: 5.969 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003915/0.03464, allocations: 3.757 MB / 271.2 MB, free: 1.965 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000405/0.03505, allocations: 43.89 kB / 271.2 MB, free: 1.922 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.601e-05/0.03508, allocations: 15.98 kB / 271.3 MB, free: 1.906 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 (39): * Single equations (assignments): 36 * 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.0002989/0.03538, allocations: 220.5 kB / 271.5 MB, free: 1.68 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001241/0.03551, allocations: 63.72 kB / 271.5 MB, free: 1.617 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001146/0.03562, allocations: 56.5 kB / 271.6 MB, free: 1.562 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.03563, allocations: 4 kB / 271.6 MB, free: 1.559 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.03563, allocations: 0 / 271.6 MB, free: 1.559 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001061/0.03669, allocations: 0.7191 MB / 272.3 MB, free: 0.7344 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001889/0.03858, allocations: 0.9853 MB / 273.3 MB, free: 15.7 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.03858, allocations: 0 / 273.3 MB, free: 15.7 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004373/0.03902, allocations: 83.89 kB / 273.4 MB, free: 15.61 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-06/0.03903, allocations: 4 kB / 273.4 MB, free: 15.61 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.922e-05/0.03906, allocations: 7.984 kB / 273.4 MB, free: 15.6 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.949e-06/0.03906, allocations: 8 kB / 273.4 MB, free: 15.59 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.03906, allocations: 0 / 273.4 MB, free: 15.59 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001322/0.04038, allocations: 0.6887 MB / 274.1 MB, free: 14.88 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002065/0.04059, allocations: 91.59 kB / 274.2 MB, free: 14.79 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.462e-05/0.04065, allocations: 8 kB / 274.2 MB, free: 14.79 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003446/0.041, allocations: 19.98 kB / 274.2 MB, free: 14.77 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.491e-05/0.04108, allocations: 35.88 kB / 274.2 MB, free: 14.73 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.341e-05/0.04111, allocations: 12.03 kB / 274.3 MB, free: 14.72 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0004779/0.04159, allocations: 375 kB / 274.6 MB, free: 14.36 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.04159, allocations: 0 / 274.6 MB, free: 14.36 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005068/0.04209, allocations: 151.7 kB / 274.8 MB, free: 14.21 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 (37): * Single equations (assignments): 37 * 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.0001971/0.04229, allocations: 107.2 kB / 274.9 MB, free: 14.09 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001456/0.04375, allocations: 0.768 MB / 275.6 MB, free: 13.27 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.021e-06/0.04375, allocations: 4 kB / 275.6 MB, free: 13.26 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000401/0.04415, allocations: 175.8 kB / 275.8 MB, free: 13.09 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007148/0.04487, allocations: 149.9 kB / 276 MB, free: 12.94 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002087/0.04695, allocations: 0.9123 MB / 276.9 MB, free: 12 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002737/0.04723, allocations: 234.1 kB / 277.1 MB, free: 11.75 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002396/0.04747, allocations: 60.23 kB / 277.2 MB, free: 11.68 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001316/0.0476, allocations: 44.5 kB / 277.2 MB, free: 11.64 MB / 266.7 MB Notification: Performance of SimCode: time 8.52e-07/0.0476, allocations: 0 / 277.2 MB, free: 11.64 MB / 266.7 MB Notification: Performance of Templates: time 0.01923/0.06683, allocations: 9.397 MB / 286.6 MB, free: 2.281 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.sim & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/PumpDropOut/PumpDropOut.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.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: 5.310569709981792]