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.001894/0.001894, allocations: 103.5 kB / 20.97 MB, free: 3.453 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.00192/0.00192, allocations: 156.8 kB / 24.27 MB, free: 156 kB / 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 1.535/1.535, allocations: 177 MB / 204.4 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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.283e-06/1.283e-06, allocations: 0 / 272.2 MB, free: 1.816 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.701e-05/2.829e-05, allocations: 6.312 kB / 272.2 MB, free: 1.809 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.006145/0.006173, allocations: 3.742 MB / 275.9 MB, free: 14.05 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002243/0.008416, allocations: 1.008 MB / 276.9 MB, free: 13.03 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003453/0.008762, allocations: 11.94 kB / 276.9 MB, free: 13.02 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003708/0.009132, allocations: 107 kB / 277 MB, free: 12.91 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005035/0.009636, allocations: 222.1 kB / 277.3 MB, free: 12.7 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003371/0.009973, allocations: 139.7 kB / 277.4 MB, free: 12.56 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009087/0.01088, allocations: 0.7309 MB / 278.1 MB, free: 11.83 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002762/0.01116, allocations: 139.2 kB / 278.3 MB, free: 11.69 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006431/0.0118, allocations: 415 kB / 278.7 MB, free: 11.28 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003654/0.01217, allocations: 219.4 kB / 278.9 MB, free: 11.07 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001083/0.01227, allocations: 60 kB / 278.9 MB, free: 11.01 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001233/0.0124, allocations: 60 kB / 279 MB, free: 10.95 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00015/0.01255, allocations: 139.5 kB / 279.1 MB, free: 10.81 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000313/0.01286, allocations: 227.5 kB / 279.4 MB, free: 10.59 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009303/0.01379, allocations: 0.7399 MB / 280.1 MB, free: 9.848 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.01379, allocations: 0 / 280.1 MB, free: 9.848 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.173e-06/0.0138, allocations: 0 / 280.1 MB, free: 9.848 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.736e-06/0.0138, allocations: 4 kB / 280.1 MB, free: 9.844 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.00184/0.01564, allocations: 0.976 MB / 281.1 MB, free: 8.824 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.01569, allocations: 15.98 kB / 281.1 MB, free: 8.809 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001915/0.01588, allocations: 104.5 kB / 281.2 MB, free: 8.707 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007492/0.01663, allocations: 387.4 kB / 281.6 MB, free: 8.301 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001407/0.01677, allocations: 106.7 kB / 281.7 MB, free: 8.176 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.458e-05/0.01685, allocations: 48.33 kB / 281.7 MB, free: 8.129 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001489/0.01834, allocations: 0.9115 MB / 282.6 MB, free: 7.051 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.672e-05/0.01836, allocations: 192 / 282.6 MB, free: 7.051 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.062e-05/0.01841, allocations: 20.12 kB / 282.7 MB, free: 7.031 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.115e-05/0.01842, allocations: 12 kB / 282.7 MB, free: 7.02 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008346/0.01925, allocations: 315.8 kB / 283 MB, free: 6.711 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002477/0.02173, allocations: 1.161 MB / 284.1 MB, free: 5.508 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008881/0.02262, allocations: 355.5 kB / 284.5 MB, free: 5.145 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003958/0.02302, allocations: 171.4 kB / 284.7 MB, free: 4.973 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.74e-05/0.02306, allocations: 8 kB / 284.7 MB, free: 4.965 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.075e-05/0.0231, allocations: 41.39 kB / 284.7 MB, free: 4.914 MB / 266.7 MB Notification: Performance of pre-optimization done (n=37): time 1.452e-06/0.02311, allocations: 0.5625 kB / 284.7 MB, free: 4.914 MB / 266.7 MB Notification: Performance of matching and sorting (n=37): time 0.001573/0.02468, allocations: 0.5634 MB / 285.3 MB, free: 4.336 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003125/0.02499, allocations: 448.9 kB / 285.7 MB, free: 3.793 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007217/0.02571, allocations: 0.5534 MB / 286.3 MB, free: 3.227 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.856e-05/0.02576, allocations: 37.7 kB / 286.3 MB, free: 3.184 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002996/0.02606, allocations: 323.2 kB / 286.6 MB, free: 2.859 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001547/0.02622, allocations: 142.8 kB / 286.7 MB, free: 2.719 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001717/0.02639, allocations: 95.34 kB / 286.8 MB, free: 2.617 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003516/0.02674, allocations: 0.5586 MB / 287.4 MB, free: 2.047 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003691/0.02711, allocations: 153.6 kB / 287.5 MB, free: 1.891 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008428/0.02795, allocations: 0.7205 MB / 288.3 MB, free: 1 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007598/0.02871, allocations: 336.8 kB / 288.6 MB, free: 0.6562 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.02871, allocations: 4 kB / 288.6 MB, free: 0.6523 MB / 266.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001331/0.03004, allocations: 0.5034 MB / 289.1 MB, free: 124 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.238e-05/0.03009, allocations: 29.7 kB / 289.1 MB, free: 88 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.03009, allocations: 3.938 kB / 289.1 MB, free: 84 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001949/0.03029, allocations: 63.28 kB / 289.2 MB, free: 12 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004444/0.03073, allocations: 75.95 kB / 289.3 MB, free: 15.94 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003653/0.03439, allocations: 3.757 MB / 293 MB, free: 11.94 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004303/0.03482, allocations: 47.77 kB / 293.1 MB, free: 11.89 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.349e-05/0.03485, allocations: 8.125 kB / 293.1 MB, free: 11.88 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.0002984/0.03515, allocations: 228.5 kB / 293.3 MB, free: 11.65 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001235/0.03527, allocations: 59.72 kB / 293.4 MB, free: 11.59 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001273/0.0354, allocations: 52.61 kB / 293.4 MB, free: 11.54 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.0354, allocations: 4 kB / 293.4 MB, free: 11.53 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.03541, allocations: 4 kB / 293.4 MB, free: 11.53 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001068/0.03648, allocations: 0.7152 MB / 294.1 MB, free: 10.71 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001852/0.03833, allocations: 0.9893 MB / 295.1 MB, free: 9.664 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.03833, allocations: 0 / 295.1 MB, free: 9.664 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004571/0.03879, allocations: 87.88 kB / 295.2 MB, free: 9.578 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.166e-06/0.0388, allocations: 7.984 kB / 295.2 MB, free: 9.57 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.617e-05/0.03882, allocations: 4 kB / 295.2 MB, free: 9.566 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.03883, allocations: 0 / 295.2 MB, free: 9.566 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/0.03883, allocations: 4 kB / 295.2 MB, free: 9.562 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001567/0.0404, allocations: 0.7004 MB / 295.9 MB, free: 8.84 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002141/0.04061, allocations: 91.55 kB / 296 MB, free: 8.75 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.423e-05/0.04068, allocations: 12 kB / 296 MB, free: 8.738 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003625/0.04105, allocations: 15.98 kB / 296 MB, free: 8.723 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.509e-05/0.04113, allocations: 23.95 kB / 296.1 MB, free: 8.699 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.758e-05/0.04117, allocations: 15.94 kB / 296.1 MB, free: 8.684 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0004681/0.04164, allocations: 383.1 kB / 296.5 MB, free: 8.312 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.04164, allocations: 0 / 296.5 MB, free: 8.312 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004954/0.04213, allocations: 151.7 kB / 296.6 MB, free: 8.164 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 0.0001521/0.04229, allocations: 107.2 kB / 296.7 MB, free: 8.047 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001374/0.04366, allocations: 0.7692 MB / 297.5 MB, free: 7.223 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/0.04366, allocations: 4 kB / 297.5 MB, free: 7.219 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004065/0.04407, allocations: 175.5 kB / 297.7 MB, free: 7.043 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000711/0.04478, allocations: 157.1 kB / 297.8 MB, free: 6.895 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001775/0.04656, allocations: 0.901 MB / 298.7 MB, free: 5.961 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002664/0.04682, allocations: 238.1 kB / 298.9 MB, free: 5.703 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002439/0.04707, allocations: 56.25 kB / 299 MB, free: 5.645 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000137/0.0472, allocations: 44.48 kB / 299 MB, free: 5.602 MB / 282.7 MB Notification: Performance of SimCode: time 5.81e-07/0.04721, allocations: 4 kB / 299 MB, free: 5.598 MB / 282.7 MB Notification: Performance of Templates: time 0.1167/0.1639, allocations: 9.391 MB / 308.4 MB, free: 40.89 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 4.794843278010376]