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.001334/0.001334, allocations: 80.3 kB / 22.21 MB, free: 2.281 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.001646/0.001646, allocations: 170.3 kB / 25.6 MB, free: 8.887 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.9009/0.9009, allocations: 158.6 MB / 187.5 MB, free: 2.77 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.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 1.773e-06/1.773e-06, allocations: 0 / 251.5 MB, free: 7.258 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.554e-05/2.731e-05, allocations: 2.312 kB / 251.5 MB, free: 7.254 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.005416/0.005443, allocations: 3.71 MB / 255.2 MB, free: 3.52 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.00237/0.007813, allocations: 1.021 MB / 256.2 MB, free: 2.488 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003216/0.008135, allocations: 11.94 kB / 256.2 MB, free: 2.477 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003557/0.00849, allocations: 110.9 kB / 256.3 MB, free: 2.367 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004965/0.008987, allocations: 218.2 kB / 256.5 MB, free: 2.152 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003681/0.009355, allocations: 139.7 kB / 256.7 MB, free: 2.016 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009134/0.01027, allocations: 0.7273 MB / 257.4 MB, free: 1.281 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002773/0.01055, allocations: 135.2 kB / 257.5 MB, free: 1.141 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005776/0.01112, allocations: 419 kB / 257.9 MB, free: 0.7305 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004097/0.01153, allocations: 219.4 kB / 258.1 MB, free: 0.5156 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001132/0.01165, allocations: 60 kB / 258.2 MB, free: 468 kB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001076/0.01175, allocations: 64 kB / 258.3 MB, free: 404 kB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001115/0.01187, allocations: 131.5 kB / 258.4 MB, free: 272 kB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002567/0.01212, allocations: 227.5 kB / 258.6 MB, free: 44 kB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006507/0.01277, allocations: 474.4 kB / 259.1 MB, free: 15.57 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.01278, allocations: 0 / 259.1 MB, free: 15.57 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.213e-06/0.01278, allocations: 0 / 259.1 MB, free: 15.57 MB / 250.7 MB Notification: Performance of Transformations before backend: time 9.989e-06/0.01279, allocations: 0 / 259.1 MB, free: 15.57 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.001317/0.0141, allocations: 0.9528 MB / 260 MB, free: 14.58 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.01415, allocations: 15.98 kB / 260 MB, free: 14.56 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001566/0.0143, allocations: 96.52 kB / 260.1 MB, free: 14.47 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004685/0.01477, allocations: 346.5 kB / 260.5 MB, free: 14.1 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001007/0.01487, allocations: 110.7 kB / 260.6 MB, free: 13.98 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.637e-05/0.01494, allocations: 40.38 kB / 260.6 MB, free: 13.94 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007398/0.01568, allocations: 0.8066 MB / 261.4 MB, free: 12.96 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.01569, allocations: 192 / 261.4 MB, free: 12.96 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.936e-05/0.01573, allocations: 24.12 kB / 261.5 MB, free: 12.94 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.16e-05/0.01574, allocations: 8 kB / 261.5 MB, free: 12.93 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002722/0.01602, allocations: 130.9 kB / 261.6 MB, free: 12.8 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001657/0.01767, allocations: 0.9303 MB / 262.5 MB, free: 11.84 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004137/0.01809, allocations: 211.6 kB / 262.7 MB, free: 11.62 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001418/0.01823, allocations: 79.39 kB / 262.8 MB, free: 11.54 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.489e-05/0.01826, allocations: 12 kB / 262.8 MB, free: 11.52 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.197e-05/0.01829, allocations: 41.39 kB / 262.9 MB, free: 11.47 MB / 250.7 MB Notification: Performance of pre-optimization done (n=37): time 2.044e-06/0.0183, allocations: 4 kB / 262.9 MB, free: 11.47 MB / 250.7 MB Notification: Performance of matching and sorting (n=37): time 0.0007397/0.01904, allocations: 344.2 kB / 263.2 MB, free: 11.12 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001713/0.01921, allocations: 448.9 kB / 263.6 MB, free: 10.57 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004266/0.01963, allocations: 450.4 kB / 264.1 MB, free: 10.12 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.616e-05/0.01967, allocations: 33.7 kB / 264.1 MB, free: 10.08 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002098/0.01988, allocations: 307.2 kB / 264.4 MB, free: 9.777 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001063/0.01999, allocations: 134.8 kB / 264.5 MB, free: 9.645 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001442/0.02013, allocations: 87.31 kB / 264.6 MB, free: 9.551 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001463/0.02028, allocations: 0.539 MB / 265.2 MB, free: 9 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.7e-05/0.02036, allocations: 73.59 kB / 265.2 MB, free: 8.922 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002634/0.02063, allocations: 0.6228 MB / 265.9 MB, free: 8.129 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001801/0.02081, allocations: 168.8 kB / 266 MB, free: 7.949 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.02081, allocations: 3.938 kB / 266 MB, free: 7.945 MB / 250.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0003316/0.02114, allocations: 351.4 kB / 266.4 MB, free: 7.574 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.475e-05/0.02117, allocations: 29.7 kB / 266.4 MB, free: 7.539 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.02117, allocations: 4 kB / 266.4 MB, free: 7.535 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.398e-05/0.02126, allocations: 47.38 kB / 266.4 MB, free: 7.48 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002039/0.02146, allocations: 75.89 kB / 266.5 MB, free: 7.406 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001515/0.02298, allocations: 3.528 MB / 270.1 MB, free: 3.648 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002032/0.02318, allocations: 47.75 kB / 270.1 MB, free: 3.602 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.614e-05/0.02319, allocations: 8 kB / 270.1 MB, free: 3.594 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.0001218/0.02332, allocations: 184.5 kB / 270.3 MB, free: 3.402 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.92e-05/0.02338, allocations: 59.72 kB / 270.3 MB, free: 3.344 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.001e-05/0.02343, allocations: 64.55 kB / 270.4 MB, free: 3.281 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.02343, allocations: 4.188 kB / 270.4 MB, free: 3.277 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-06/0.02343, allocations: 0 / 270.4 MB, free: 3.277 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003056/0.02374, allocations: 0.5784 MB / 271 MB, free: 2.594 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006447/0.02438, allocations: 0.71 MB / 271.7 MB, free: 1.848 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.02438, allocations: 3.938 kB / 271.7 MB, free: 1.844 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001903/0.02458, allocations: 79.89 kB / 271.8 MB, free: 1.766 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.02458, allocations: 8 kB / 271.8 MB, free: 1.758 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.382e-05/0.02459, allocations: 8 kB / 271.8 MB, free: 1.75 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.02459, allocations: 4 kB / 271.8 MB, free: 1.746 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-07/0.02459, allocations: 0 / 271.8 MB, free: 1.746 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003475/0.02494, allocations: 453 kB / 272.2 MB, free: 1.281 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001097/0.02505, allocations: 91.53 kB / 272.3 MB, free: 1.191 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.325e-05/0.02508, allocations: 15.98 kB / 272.3 MB, free: 1.176 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001448/0.02523, allocations: 19.98 kB / 272.4 MB, free: 1.156 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.39e-05/0.02527, allocations: 23.95 kB / 272.4 MB, free: 1.133 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.15e-05/0.02528, allocations: 12.03 kB / 272.4 MB, free: 1.121 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001437/0.02543, allocations: 287 kB / 272.7 MB, free: 0.8438 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02543, allocations: 0 / 272.7 MB, free: 0.8438 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000285/0.02571, allocations: 147.8 kB / 272.8 MB, free: 0.6992 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 (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 9.098e-05/0.0258, allocations: 111.1 kB / 272.9 MB, free: 0.5781 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0004468/0.02625, allocations: 0.6156 MB / 273.6 MB, free: 15.91 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.02625, allocations: 64 / 273.6 MB, free: 15.91 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.833e-05/0.02635, allocations: 103.6 kB / 273.7 MB, free: 15.8 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003713/0.02672, allocations: 145.8 kB / 273.8 MB, free: 15.66 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001185/0.02791, allocations: 0.8649 MB / 274.7 MB, free: 14.76 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.192e-05/0.02798, allocations: 113.8 kB / 274.8 MB, free: 14.62 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001524/0.02813, allocations: 56.25 kB / 274.8 MB, free: 14.57 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003309/0.02846, allocations: 282 kB / 275.1 MB, free: 14.29 MB / 266.7 MB Notification: Performance of SimCode: time 4.41e-07/0.02846, allocations: 0 / 275.1 MB, free: 14.29 MB / 266.7 MB Notification: Performance of Templates: time 0.01143/0.03989, allocations: 10.08 MB / 285.2 MB, free: 4.254 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","",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.807706580031663]