Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001021/0.001021, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.0009973/0.0009973, allocations: 167.3 kB / 24.99 MB, free: 8.746 MB / 18.57 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 1.021/1.021, allocations: 177.1 MB / 205.3 MB, free: 5.645 MB / 186.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.PumpDropOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_4.1.0_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_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 273 MB, free: 1.875 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.455e-05/1.585e-05, allocations: 5.688 kB / 273 MB, free: 1.871 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.003184/0.003199, allocations: 3.77 MB / 276.8 MB, free: 14.08 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001315/0.004515, allocations: 1.012 MB / 277.8 MB, free: 13.06 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001713/0.004686, allocations: 11.94 kB / 277.8 MB, free: 13.05 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002594/0.004946, allocations: 115 kB / 277.9 MB, free: 12.94 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002982/0.005244, allocations: 214.1 kB / 278.2 MB, free: 12.73 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002109/0.005455, allocations: 143.7 kB / 278.3 MB, free: 12.59 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000541/0.005996, allocations: 0.7273 MB / 279 MB, free: 11.86 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001961/0.006192, allocations: 139.2 kB / 279.2 MB, free: 11.71 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003206/0.006512, allocations: 407 kB / 279.6 MB, free: 11.32 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002145/0.006727, allocations: 231.3 kB / 279.8 MB, free: 11.09 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.187e-05/0.006789, allocations: 60 kB / 279.8 MB, free: 11.03 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.729e-05/0.006846, allocations: 60 kB / 279.9 MB, free: 10.97 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.204e-05/0.006918, allocations: 131.5 kB / 280 MB, free: 10.84 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00016/0.007078, allocations: 227.5 kB / 280.3 MB, free: 10.62 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003903/0.007468, allocations: 478.2 kB / 280.7 MB, free: 10.15 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.00747, allocations: 4 kB / 280.7 MB, free: 10.15 MB / 266.7 MB Notification: Performance of FrontEnd: time 4.6e-07/0.007471, allocations: 0 / 280.7 MB, free: 10.15 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.007477, allocations: 0 / 280.7 MB, free: 10.15 MB / 266.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.0009981/0.008475, allocations: 0.9529 MB / 281.7 MB, free: 9.152 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.46e-05/0.00851, allocations: 12.03 kB / 281.7 MB, free: 9.141 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000123/0.008632, allocations: 100.5 kB / 281.8 MB, free: 9.043 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004268/0.009059, allocations: 363.4 kB / 282.1 MB, free: 8.66 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.527e-05/0.009145, allocations: 110.7 kB / 282.2 MB, free: 8.531 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.314e-05/0.009208, allocations: 40.38 kB / 282.3 MB, free: 8.492 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007652/0.009973, allocations: 0.8224 MB / 283.1 MB, free: 7.504 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.596e-05/0.009989, allocations: 4.188 kB / 283.1 MB, free: 7.5 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.056e-05/0.01003, allocations: 20.12 kB / 283.1 MB, free: 7.48 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.34e-05/0.01004, allocations: 8 kB / 283.1 MB, free: 7.473 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003033/0.01035, allocations: 169.8 kB / 283.3 MB, free: 7.305 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001249/0.01159, allocations: 0.9961 MB / 284.3 MB, free: 6.266 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003639/0.01196, allocations: 226.8 kB / 284.5 MB, free: 6.031 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001386/0.0121, allocations: 107.5 kB / 284.6 MB, free: 5.922 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.784e-05/0.01212, allocations: 11.98 kB / 284.6 MB, free: 5.91 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.469e-05/0.01215, allocations: 41.39 kB / 284.7 MB, free: 5.859 MB / 266.7 MB Notification: Performance of pre-optimization done (n=37): time 1.713e-06/0.01215, allocations: 0.5625 kB / 284.7 MB, free: 5.859 MB / 266.7 MB Notification: Performance of matching and sorting (n=37): time 0.0006517/0.0128, allocations: 377 kB / 285 MB, free: 5.477 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001254/0.01293, allocations: 453 kB / 285.5 MB, free: 4.93 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003381/0.01327, allocations: 454.7 kB / 285.9 MB, free: 4.473 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.926e-05/0.0133, allocations: 41.64 kB / 286 MB, free: 4.426 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001443/0.01344, allocations: 307.2 kB / 286.3 MB, free: 4.117 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.276e-05/0.01351, allocations: 134.8 kB / 286.4 MB, free: 3.984 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.802e-05/0.0136, allocations: 83.34 kB / 286.5 MB, free: 3.895 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001378/0.01374, allocations: 0.5352 MB / 287 MB, free: 3.348 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001302/0.01387, allocations: 85.67 kB / 287.1 MB, free: 3.258 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003042/0.01417, allocations: 0.6345 MB / 287.7 MB, free: 2.453 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002479/0.01442, allocations: 204.8 kB / 287.9 MB, free: 2.238 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.01442, allocations: 0 / 287.9 MB, free: 2.238 MB / 266.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004169/0.01484, allocations: 379.6 kB / 288.3 MB, free: 1.84 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.594e-05/0.01487, allocations: 36.2 kB / 288.3 MB, free: 1.801 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.01487, allocations: 0 / 288.3 MB, free: 1.801 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001265/0.015, allocations: 51.28 kB / 288.4 MB, free: 1.742 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002084/0.01521, allocations: 75.95 kB / 288.5 MB, free: 1.668 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001601/0.01681, allocations: 3.574 MB / 292 MB, free: 13.85 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001979/0.017, allocations: 51.84 kB / 292.1 MB, free: 13.8 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.881e-05/0.01702, allocations: 8 kB / 292.1 MB, free: 13.79 MB / 282.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.0001268/0.01715, allocations: 184.5 kB / 292.3 MB, free: 13.6 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.695e-05/0.01722, allocations: 63.72 kB / 292.3 MB, free: 13.54 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.641e-05/0.01727, allocations: 52.61 kB / 292.4 MB, free: 13.48 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.01728, allocations: 4.188 kB / 292.4 MB, free: 13.48 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.746e-06/0.01728, allocations: 0 / 292.4 MB, free: 13.48 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003787/0.01766, allocations: 0.6058 MB / 293 MB, free: 12.77 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007795/0.01844, allocations: 0.7978 MB / 293.8 MB, free: 11.92 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.01844, allocations: 3.984 kB / 293.8 MB, free: 11.91 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002241/0.01866, allocations: 83.89 kB / 293.9 MB, free: 11.83 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.01867, allocations: 0 / 293.9 MB, free: 11.83 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.702e-05/0.01868, allocations: 8 kB / 293.9 MB, free: 11.82 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.01869, allocations: 4 kB / 293.9 MB, free: 11.82 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.01869, allocations: 0 / 293.9 MB, free: 11.82 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004712/0.01916, allocations: 497.3 kB / 294.4 MB, free: 11.31 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001133/0.01927, allocations: 91.55 kB / 294.5 MB, free: 11.22 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.963e-05/0.01931, allocations: 15.98 kB / 294.5 MB, free: 11.21 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001683/0.01948, allocations: 19.98 kB / 294.5 MB, free: 11.19 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.298e-05/0.01953, allocations: 27.89 kB / 294.5 MB, free: 11.16 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.244e-05/0.01954, allocations: 11.94 kB / 294.6 MB, free: 11.15 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002003/0.01974, allocations: 311 kB / 294.9 MB, free: 10.85 MB / 282.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.01974, allocations: 0 / 294.9 MB, free: 10.85 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002949/0.02004, allocations: 151.7 kB / 295 MB, free: 10.7 MB / 282.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 8.724e-05/0.02013, allocations: 111.2 kB / 295.1 MB, free: 10.58 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005591/0.02069, allocations: 0.6401 MB / 295.8 MB, free: 9.883 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.02069, allocations: 4 kB / 295.8 MB, free: 9.879 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001352/0.02082, allocations: 107.8 kB / 295.9 MB, free: 9.77 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000402/0.02123, allocations: 141.8 kB / 296 MB, free: 9.633 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001279/0.0225, allocations: 0.8741 MB / 296.9 MB, free: 8.727 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.959e-05/0.02257, allocations: 113.8 kB / 297 MB, free: 8.594 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001581/0.02273, allocations: 60.25 kB / 297 MB, free: 8.531 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.374e-05/0.02282, allocations: 44.48 kB / 297.1 MB, free: 8.488 MB / 282.7 MB Notification: Performance of SimCode: time 7.62e-07/0.02282, allocations: 0 / 297.1 MB, free: 8.488 MB / 282.7 MB Notification: Performance of Templates: time 0.09797/0.1208, allocations: 9.398 MB / 306.5 MB, free: 43.28 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.sim & ./Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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.969677149085328]