Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009346/0.0009346, allocations: 88.25 kB / 22.22 MB, free: 2.281 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009064/0.0009064, allocations: 169.2 kB / 25.61 MB, free: 8.91 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9451/0.9451, allocations: 177 MB / 205.9 MB, free: 4.441 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 274.1 MB, free: 4.273 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.422e-05/1.584e-05, allocations: 2.312 kB / 274.1 MB, free: 4.27 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.004593/0.004609, allocations: 3.727 MB / 277.8 MB, free: 0.5352 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001609/0.006218, allocations: 1.009 MB / 278.8 MB, free: 15.53 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002256/0.006443, allocations: 8 kB / 278.8 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003057/0.006749, allocations: 114.9 kB / 279 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003917/0.007141, allocations: 218.1 kB / 279.2 MB, free: 15.19 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002541/0.007395, allocations: 143.7 kB / 279.3 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007043/0.008099, allocations: 0.7384 MB / 280 MB, free: 14.31 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002465/0.008346, allocations: 131.2 kB / 280.2 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004305/0.008776, allocations: 415 kB / 280.6 MB, free: 13.77 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000302/0.009078, allocations: 219.4 kB / 280.8 MB, free: 13.56 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.765e-05/0.009166, allocations: 60 kB / 280.9 MB, free: 13.5 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.423e-05/0.00926, allocations: 60 kB / 280.9 MB, free: 13.44 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001086/0.009369, allocations: 135.5 kB / 281 MB, free: 13.31 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002282/0.009597, allocations: 223.5 kB / 281.3 MB, free: 13.09 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005271/0.01012, allocations: 474.2 kB / 281.7 MB, free: 12.62 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.01013, allocations: 4 kB / 281.7 MB, free: 12.62 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.22e-07/0.01013, allocations: 0 / 281.7 MB, free: 12.62 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.693e-06/0.01013, allocations: 0 / 281.7 MB, free: 12.62 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.001212/0.01134, allocations: 0.9528 MB / 282.7 MB, free: 11.62 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.302e-05/0.01138, allocations: 8.031 kB / 282.7 MB, free: 11.62 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001394/0.01152, allocations: 96.56 kB / 282.8 MB, free: 11.52 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004402/0.01196, allocations: 346.4 kB / 283.1 MB, free: 11.16 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001033/0.01206, allocations: 114.6 kB / 283.2 MB, free: 11.03 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.632e-05/0.01213, allocations: 44.36 kB / 283.3 MB, free: 10.98 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006609/0.01279, allocations: 0.799 MB / 284.1 MB, free: 10.01 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/0.0128, allocations: 4.188 kB / 284.1 MB, free: 10.01 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.223e-05/0.01284, allocations: 20.12 kB / 284.1 MB, free: 9.988 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.159e-05/0.01286, allocations: 8 kB / 284.1 MB, free: 9.98 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002776/0.01313, allocations: 134.8 kB / 284.2 MB, free: 9.852 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00153/0.01466, allocations: 0.9264 MB / 285.2 MB, free: 8.887 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003965/0.01506, allocations: 205.8 kB / 285.4 MB, free: 8.672 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001379/0.0152, allocations: 87.36 kB / 285.5 MB, free: 8.582 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.887e-05/0.01523, allocations: 8 kB / 285.5 MB, free: 8.574 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.94e-05/0.01526, allocations: 42.05 kB / 285.5 MB, free: 8.523 MB / 266.7 MB Notification: Performance of pre-optimization done (n=37): time 1.904e-06/0.01526, allocations: 0 / 285.5 MB, free: 8.523 MB / 266.7 MB Notification: Performance of matching and sorting (n=37): time 0.000732/0.01599, allocations: 349.6 kB / 285.8 MB, free: 8.168 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001515/0.01614, allocations: 445 kB / 286.3 MB, free: 7.629 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003909/0.01653, allocations: 450.5 kB / 286.7 MB, free: 7.172 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.48e-05/0.01657, allocations: 37.64 kB / 286.8 MB, free: 7.129 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002059/0.01677, allocations: 315.1 kB / 287.1 MB, free: 6.816 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001041/0.01688, allocations: 134.8 kB / 287.2 MB, free: 6.684 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001313/0.01701, allocations: 83.31 kB / 287.3 MB, free: 6.594 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001849/0.01719, allocations: 0.5351 MB / 287.8 MB, free: 6.047 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001183/0.01731, allocations: 69.67 kB / 287.9 MB, free: 5.973 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003689/0.01768, allocations: 0.6227 MB / 288.5 MB, free: 5.18 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002603/0.01794, allocations: 172.8 kB / 288.7 MB, free: 4.996 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.01794, allocations: 7.938 kB / 288.7 MB, free: 4.988 MB / 266.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004892/0.01843, allocations: 343.6 kB / 289 MB, free: 4.625 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.942e-05/0.01846, allocations: 33.7 kB / 289 MB, free: 4.586 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.01847, allocations: 0 / 289 MB, free: 4.586 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001157/0.01858, allocations: 47.3 kB / 289.1 MB, free: 4.531 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003289/0.01891, allocations: 83.88 kB / 289.2 MB, free: 4.449 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001489/0.0204, allocations: 3.524 MB / 292.7 MB, free: 0.6992 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001807/0.02058, allocations: 39.83 kB / 292.7 MB, free: 0.6602 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.88e-05/0.0206, allocations: 16.06 kB / 292.8 MB, free: 0.6445 MB / 266.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.0001392/0.02074, allocations: 180.5 kB / 292.9 MB, free: 468 kB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.916e-05/0.02081, allocations: 67.61 kB / 293 MB, free: 400 kB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.696e-05/0.02087, allocations: 60.55 kB / 293.1 MB, free: 336 kB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.02087, allocations: 4 kB / 293.1 MB, free: 332 kB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-06/0.02087, allocations: 0 / 293.1 MB, free: 332 kB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003334/0.0212, allocations: 0.571 MB / 293.6 MB, free: 15.65 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006461/0.02185, allocations: 0.7083 MB / 294.3 MB, free: 14.9 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.02185, allocations: 7.938 kB / 294.3 MB, free: 14.89 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002113/0.02206, allocations: 83.89 kB / 294.4 MB, free: 14.81 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.02207, allocations: 0 / 294.4 MB, free: 14.81 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.585e-05/0.02208, allocations: 11.98 kB / 294.4 MB, free: 14.8 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/0.02208, allocations: 0 / 294.4 MB, free: 14.8 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.02208, allocations: 0 / 294.4 MB, free: 14.8 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003589/0.02244, allocations: 453.3 kB / 294.9 MB, free: 14.33 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001074/0.02255, allocations: 99.52 kB / 295 MB, free: 14.23 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.673e-05/0.02259, allocations: 12 kB / 295 MB, free: 14.22 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001634/0.02275, allocations: 23.92 kB / 295 MB, free: 14.2 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.362e-05/0.02279, allocations: 31.89 kB / 295 MB, free: 14.17 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.34e-05/0.02281, allocations: 11.98 kB / 295.1 MB, free: 14.16 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001514/0.02296, allocations: 287 kB / 295.3 MB, free: 13.88 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02296, allocations: 0 / 295.3 MB, free: 13.88 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002672/0.02323, allocations: 147.8 kB / 295.5 MB, free: 13.73 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 9.268e-05/0.02332, allocations: 107.2 kB / 295.6 MB, free: 13.61 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004843/0.0238, allocations: 0.6174 MB / 296.2 MB, free: 12.94 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.02381, allocations: 4 kB / 296.2 MB, free: 12.94 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001056/0.02391, allocations: 99.81 kB / 296.3 MB, free: 12.84 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003791/0.02429, allocations: 144.5 kB / 296.4 MB, free: 12.7 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001122/0.02541, allocations: 0.858 MB / 297.3 MB, free: 11.81 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.989e-05/0.02548, allocations: 117.6 kB / 297.4 MB, free: 11.67 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.000146/0.02563, allocations: 64.23 kB / 297.5 MB, free: 11.6 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003423/0.02597, allocations: 270 kB / 297.7 MB, free: 11.34 MB / 282.7 MB Notification: Performance of SimCode: time 7.31e-07/0.02597, allocations: 0 / 297.7 MB, free: 11.34 MB / 282.7 MB Notification: Performance of Templates: time 0.01109/0.03706, allocations: 10.3 MB / 308 MB, free: 1.277 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.sim & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.9829180422239006]