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.001024/0.001024, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.001141/0.001141, allocations: 160.5 kB / 24.55 MB, free: 16 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 0.9844/0.9844, allocations: 177 MB / 204.8 MB, free: 5.566 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.553e-06/1.553e-06, allocations: 3.938 kB / 272.9 MB, free: 1.453 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.634e-05/2.789e-05, allocations: 5.266 kB / 272.9 MB, free: 1.449 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.0104/0.01042, allocations: 3.774 MB / 276.7 MB, free: 13.65 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001716/0.01214, allocations: 1.016 MB / 277.7 MB, free: 12.63 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002331/0.01237, allocations: 11.88 kB / 277.7 MB, free: 12.62 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003116/0.01269, allocations: 111.1 kB / 277.8 MB, free: 12.51 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003894/0.01307, allocations: 214.1 kB / 278 MB, free: 12.3 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003343/0.01642, allocations: 143.7 kB / 278.2 MB, free: 12.16 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007738/0.01719, allocations: 0.7388 MB / 278.9 MB, free: 11.41 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002388/0.01743, allocations: 139.2 kB / 279 MB, free: 11.27 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004408/0.01787, allocations: 399.2 kB / 279.4 MB, free: 10.88 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002881/0.01816, allocations: 227.4 kB / 279.7 MB, free: 10.66 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.587e-05/0.01825, allocations: 60 kB / 279.7 MB, free: 10.6 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.638e-05/0.01833, allocations: 60 kB / 279.8 MB, free: 10.54 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.987e-05/0.01842, allocations: 131.5 kB / 279.9 MB, free: 10.41 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002074/0.01863, allocations: 223.5 kB / 280.1 MB, free: 10.2 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003592/0.02222, allocations: 482.2 kB / 280.6 MB, free: 9.723 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/0.02223, allocations: 8 kB / 280.6 MB, free: 9.715 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.913e-06/0.02223, allocations: 0 / 280.6 MB, free: 9.715 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.206e-05/0.02225, allocations: 0 / 280.6 MB, free: 9.715 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.001258/0.02351, allocations: 0.9373 MB / 281.5 MB, free: 8.734 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.02355, allocations: 15.98 kB / 281.5 MB, free: 8.719 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001501/0.0237, allocations: 100.5 kB / 281.6 MB, free: 8.621 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004927/0.0242, allocations: 354.4 kB / 282 MB, free: 8.246 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001229/0.02432, allocations: 110.7 kB / 282.1 MB, free: 8.121 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.594e-05/0.02439, allocations: 40.38 kB / 282.1 MB, free: 8.082 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003769/0.02815, allocations: 0.8224 MB / 283 MB, free: 7.086 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/0.02817, allocations: 4.188 kB / 283 MB, free: 7.082 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.14e-05/0.02821, allocations: 24.12 kB / 283 MB, free: 7.059 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.508e-05/0.02823, allocations: 8 kB / 283 MB, free: 7.051 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003598/0.02859, allocations: 161.9 kB / 283.2 MB, free: 6.898 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00161/0.0302, allocations: 0.9961 MB / 284.2 MB, free: 5.855 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004528/0.03065, allocations: 233.4 kB / 284.4 MB, free: 5.613 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001583/0.03081, allocations: 95.39 kB / 284.5 MB, free: 5.516 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.312e-05/0.03084, allocations: 15.92 kB / 284.5 MB, free: 5.5 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.966e-05/0.03087, allocations: 41.39 kB / 284.5 MB, free: 5.449 MB / 266.7 MB Notification: Performance of pre-optimization done (n=37): time 1.904e-06/0.03087, allocations: 0 / 284.5 MB, free: 5.449 MB / 266.7 MB Notification: Performance of matching and sorting (n=37): time 0.002038/0.03291, allocations: 385.1 kB / 284.9 MB, free: 5.059 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00017/0.03308, allocations: 441 kB / 285.3 MB, free: 4.523 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004808/0.03356, allocations: 462.7 kB / 285.8 MB, free: 4.055 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.686e-05/0.0336, allocations: 37.69 kB / 285.8 MB, free: 4.012 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002066/0.03381, allocations: 307.2 kB / 286.1 MB, free: 3.707 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001069/0.03391, allocations: 134.8 kB / 286.3 MB, free: 3.574 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000136/0.03405, allocations: 83.34 kB / 286.3 MB, free: 3.484 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001901/0.03424, allocations: 0.5352 MB / 286.9 MB, free: 2.938 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001805/0.03442, allocations: 85.66 kB / 287 MB, free: 2.848 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004243/0.03485, allocations: 0.6268 MB / 287.6 MB, free: 2.051 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003481/0.03519, allocations: 200.8 kB / 287.8 MB, free: 1.84 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.0352, allocations: 4 kB / 287.8 MB, free: 1.836 MB / 266.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0006173/0.03581, allocations: 379.6 kB / 288.2 MB, free: 1.438 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.209e-05/0.03586, allocations: 29.7 kB / 288.2 MB, free: 1.402 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.513e-06/0.03586, allocations: 0 / 288.2 MB, free: 1.402 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001662/0.03603, allocations: 51.34 kB / 288.2 MB, free: 1.344 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003326/0.03636, allocations: 75.89 kB / 288.3 MB, free: 1.27 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002231/0.03859, allocations: 3.585 MB / 291.9 MB, free: 13.44 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002175/0.03881, allocations: 39.83 kB / 291.9 MB, free: 13.4 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.169e-05/0.03883, allocations: 16.06 kB / 291.9 MB, free: 13.38 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.0001656/0.039, allocations: 184.5 kB / 292.1 MB, free: 13.19 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.086e-05/0.03907, allocations: 67.7 kB / 292.2 MB, free: 13.12 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.75e-05/0.03913, allocations: 52.62 kB / 292.2 MB, free: 13.07 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.03913, allocations: 4 kB / 292.2 MB, free: 13.07 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.03913, allocations: 0 / 292.2 MB, free: 13.07 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003721/0.0395, allocations: 0.602 MB / 292.9 MB, free: 12.36 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008328/0.04034, allocations: 0.7938 MB / 293.6 MB, free: 11.52 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.04034, allocations: 0 / 293.6 MB, free: 11.52 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002304/0.04057, allocations: 83.89 kB / 293.7 MB, free: 11.43 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.04057, allocations: 4 kB / 293.7 MB, free: 11.43 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.946e-05/0.04059, allocations: 7.984 kB / 293.7 MB, free: 11.42 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.0406, allocations: 7.938 kB / 293.7 MB, free: 11.41 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.0406, allocations: 0 / 293.7 MB, free: 11.41 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004566/0.04105, allocations: 497.2 kB / 294.2 MB, free: 10.91 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001166/0.04117, allocations: 91.58 kB / 294.3 MB, free: 10.82 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.847e-05/0.04121, allocations: 12 kB / 294.3 MB, free: 10.8 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001575/0.04137, allocations: 23.92 kB / 294.4 MB, free: 10.78 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.02e-05/0.04143, allocations: 27.95 kB / 294.4 MB, free: 10.75 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.396e-05/0.04144, allocations: 15.98 kB / 294.4 MB, free: 10.74 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002006/0.04164, allocations: 303 kB / 294.7 MB, free: 10.45 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.04164, allocations: 0 / 294.7 MB, free: 10.45 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003204/0.04196, allocations: 147.8 kB / 294.8 MB, free: 10.3 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.0001129/0.04207, allocations: 115.2 kB / 295 MB, free: 10.18 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0006187/0.04269, allocations: 0.6325 MB / 295.6 MB, free: 9.488 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.0427, allocations: 0 / 295.6 MB, free: 9.488 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001357/0.04283, allocations: 115.5 kB / 295.7 MB, free: 9.371 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004182/0.04325, allocations: 141.9 kB / 295.8 MB, free: 9.234 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001386/0.04464, allocations: 0.8819 MB / 296.7 MB, free: 8.32 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.834e-05/0.04471, allocations: 109.8 kB / 296.8 MB, free: 8.191 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001603/0.04488, allocations: 64.23 kB / 296.9 MB, free: 8.125 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.696e-05/0.04496, allocations: 40.5 kB / 296.9 MB, free: 8.086 MB / 282.7 MB Notification: Performance of SimCode: time 8.82e-07/0.04496, allocations: 4 kB / 296.9 MB, free: 8.082 MB / 282.7 MB Notification: Performance of Templates: time 0.1192/0.1642, allocations: 9.9 MB / 306.8 MB, free: 40.19 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.9717644420452416]