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.001391/0.001391, allocations: 88.73 kB / 21.5 MB, free: 2.988 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.001656/0.001656, allocations: 165.1 kB / 24.91 MB, free: 8.715 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.9699/0.9699, allocations: 177 MB / 205.2 MB, free: 5.059 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.783e-06/1.783e-06, allocations: 0 / 273.4 MB, free: 1.113 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.122e-05/2.3e-05, allocations: 4.984 kB / 273.4 MB, free: 1.109 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.004882/0.004905, allocations: 3.734 MB / 277.1 MB, free: 13.35 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001294/0.006199, allocations: 1.047 MB / 278.1 MB, free: 12.3 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001448/0.006344, allocations: 7.938 kB / 278.2 MB, free: 12.29 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002365/0.00658, allocations: 115 kB / 278.3 MB, free: 12.18 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002792/0.006859, allocations: 222 kB / 278.5 MB, free: 11.96 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001971/0.007056, allocations: 139.7 kB / 278.6 MB, free: 11.82 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004896/0.007546, allocations: 0.7349 MB / 279.4 MB, free: 11.09 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001746/0.007721, allocations: 141.1 kB / 279.5 MB, free: 10.94 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002849/0.008006, allocations: 407.1 kB / 279.9 MB, free: 10.54 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002059/0.008211, allocations: 227.3 kB / 280.1 MB, free: 10.32 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.763e-05/0.008269, allocations: 60 kB / 280.2 MB, free: 10.26 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.355e-05/0.008323, allocations: 60 kB / 280.2 MB, free: 10.2 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.522e-05/0.008398, allocations: 135.5 kB / 280.4 MB, free: 10.07 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001546/0.008552, allocations: 227.4 kB / 280.6 MB, free: 9.848 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003596/0.008912, allocations: 478.2 kB / 281.1 MB, free: 9.379 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.008915, allocations: 0 / 281.1 MB, free: 9.379 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.008916, allocations: 0 / 281.1 MB, free: 9.379 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.59e-06/0.008921, allocations: 0 / 281.1 MB, free: 9.379 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.001015/0.009937, allocations: 0.8047 MB / 281.9 MB, free: 8.543 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.886e-05/0.009966, allocations: 11.98 kB / 281.9 MB, free: 8.531 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.695e-05/0.01004, allocations: 76.88 kB / 281.9 MB, free: 8.457 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002873/0.01033, allocations: 291.7 kB / 282.2 MB, free: 8.145 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.433e-05/0.0104, allocations: 110.7 kB / 282.3 MB, free: 8.02 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.353e-05/0.01045, allocations: 40.38 kB / 282.4 MB, free: 7.98 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004284/0.01088, allocations: 0.7664 MB / 283.1 MB, free: 7.059 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.01089, allocations: 192 / 283.1 MB, free: 7.059 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.506e-05/0.01091, allocations: 24.12 kB / 283.2 MB, free: 7.035 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.01092, allocations: 8 kB / 283.2 MB, free: 7.027 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001599/0.01108, allocations: 110.9 kB / 283.3 MB, free: 6.922 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009108/0.01199, allocations: 0.6928 MB / 284 MB, free: 6.207 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002357/0.01223, allocations: 170.7 kB / 284.1 MB, free: 6.027 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.692e-05/0.0123, allocations: 76.53 kB / 284.2 MB, free: 5.949 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.47e-05/0.01233, allocations: 15.92 kB / 284.2 MB, free: 5.934 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.136e-05/0.01235, allocations: 46.56 kB / 284.3 MB, free: 5.879 MB / 266.7 MB Notification: Performance of pre-optimization done (n=37): time 1.463e-06/0.01235, allocations: 0 / 284.3 MB, free: 5.879 MB / 266.7 MB Notification: Performance of matching and sorting (n=37): time 0.0004203/0.01277, allocations: 272.5 kB / 284.5 MB, free: 5.602 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001113/0.01288, allocations: 445 kB / 285 MB, free: 5.062 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002005/0.01308, allocations: 363.3 kB / 285.3 MB, free: 4.695 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.442e-05/0.01311, allocations: 37.7 kB / 285.4 MB, free: 4.652 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.009e-05/0.01319, allocations: 201.4 kB / 285.6 MB, free: 4.453 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.056e-05/0.01325, allocations: 134.8 kB / 285.7 MB, free: 4.32 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.903e-05/0.01333, allocations: 77.66 kB / 285.8 MB, free: 4.238 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.696e-05/0.01341, allocations: 362.7 kB / 286.1 MB, free: 3.875 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.179e-05/0.01348, allocations: 65.67 kB / 286.2 MB, free: 3.805 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000224/0.01371, allocations: 0.5681 MB / 286.8 MB, free: 3.086 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001505/0.01386, allocations: 162.8 kB / 286.9 MB, free: 2.914 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.01386, allocations: 0 / 286.9 MB, free: 2.914 MB / 266.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0002473/0.01411, allocations: 282.3 kB / 287.2 MB, free: 2.613 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.482e-05/0.01413, allocations: 33.7 kB / 287.2 MB, free: 2.574 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.01414, allocations: 0 / 287.2 MB, free: 2.574 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.276e-05/0.01422, allocations: 41.66 kB / 287.3 MB, free: 2.527 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001829/0.0144, allocations: 75.95 kB / 287.3 MB, free: 2.453 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09742/0.1118, allocations: 2.4 MB / 289.7 MB, free: 24.49 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003401/0.1122, allocations: 44.89 kB / 289.8 MB, free: 24.49 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.087e-05/0.1122, allocations: 8.234 kB / 289.8 MB, free: 24.49 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.0001429/0.1123, allocations: 134 kB / 289.9 MB, free: 24.38 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.2e-05/0.1124, allocations: 49.14 kB / 290 MB, free: 24.38 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.217e-05/0.1124, allocations: 60.02 kB / 290 MB, free: 24.37 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.1125, allocations: 3.281 kB / 290 MB, free: 24.37 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.1125, allocations: 0 / 290 MB, free: 24.37 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002693/0.1127, allocations: 0.5343 MB / 290.6 MB, free: 23.84 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006933/0.1134, allocations: 0.5392 MB / 291.1 MB, free: 23.62 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/0.1134, allocations: 4.141 kB / 291.1 MB, free: 23.62 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002459/0.1137, allocations: 86.73 kB / 291.2 MB, free: 23.62 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/0.1137, allocations: 1.344 kB / 291.2 MB, free: 23.62 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.878e-05/0.1137, allocations: 9.953 kB / 291.2 MB, free: 23.62 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.1137, allocations: 1.344 kB / 291.2 MB, free: 23.62 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1137, allocations: 1.094 kB / 291.2 MB, free: 23.62 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003485/0.114, allocations: 349 kB / 291.6 MB, free: 23.48 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001025/0.1141, allocations: 59.19 kB / 291.6 MB, free: 23.48 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.762e-05/0.1142, allocations: 11.38 kB / 291.6 MB, free: 23.48 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001594/0.1143, allocations: 19.91 kB / 291.6 MB, free: 23.48 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.295e-05/0.1144, allocations: 31.39 kB / 291.7 MB, free: 23.48 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.244e-05/0.1144, allocations: 12.19 kB / 291.7 MB, free: 23.48 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001484/0.1146, allocations: 160.7 kB / 291.8 MB, free: 23.46 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1146, allocations: 1 kB / 291.8 MB, free: 23.46 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003458/0.1149, allocations: 144.8 kB / 292 MB, free: 23.46 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.0001156/0.115, allocations: 89.28 kB / 292.1 MB, free: 23.39 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004515/0.1155, allocations: 0.4942 MB / 292.6 MB, free: 23.06 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.044e-05/0.1155, allocations: 5.375 kB / 292.6 MB, free: 23.06 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001202/0.1156, allocations: 95.62 kB / 292.7 MB, free: 23.05 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003786/0.116, allocations: 146.1 kB / 292.8 MB, free: 23.05 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001303/0.1173, allocations: 0.8615 MB / 293.7 MB, free: 22.64 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.936e-05/0.1174, allocations: 115 kB / 293.8 MB, free: 22.57 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001928/0.1176, allocations: 63.17 kB / 293.8 MB, free: 22.55 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003473/0.1179, allocations: 231.7 kB / 294.1 MB, free: 22.5 MB / 266.7 MB Notification: Performance of SimCode: time 8.92e-07/0.1179, allocations: 0 / 294.1 MB, free: 22.5 MB / 266.7 MB Notification: Performance of Templates: time 0.01197/0.1299, allocations: 9.953 MB / 304 MB, free: 19.33 MB / 266.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.895664324052632]