Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.01015/0.01015, allocations: 106.9 kB / 21.98 MB, free: 5.223 MB / 14.72 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.0021/0.0021, allocations: 212.6 kB / 25.29 MB, free: 3.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.519/1.519, allocations: 230.6 MB / 259 MB, free: 8.035 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00199/0.00199, allocations: 68.06 kB / 379.8 MB, free: 2.641 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2648/0.2668, allocations: 53.37 MB / 433.2 MB, free: 6.941 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.005579/0.2723, allocations: 3.805 MB / 437 MB, free: 3.129 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002086/0.2744, allocations: 1.044 MB / 438 MB, free: 2.078 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000245/0.2747, allocations: 7.938 kB / 438 MB, free: 2.07 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000369/0.275, allocations: 111 kB / 438.1 MB, free: 1.961 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004488/0.2755, allocations: 206.3 kB / 438.3 MB, free: 1.758 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003318/0.2758, allocations: 135.8 kB / 438.5 MB, free: 1.625 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008674/0.2767, allocations: 0.7042 MB / 439.2 MB, free: 0.918 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002812/0.277, allocations: 151 kB / 439.3 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003271/0.2773, allocations: 263.1 kB / 439.6 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004185/0.2777, allocations: 314.6 kB / 439.9 MB, free: 208 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.852e-05/0.2778, allocations: 56 kB / 439.9 MB, free: 152 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001004/0.2779, allocations: 64 kB / 440 MB, free: 88 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001491/0.2781, allocations: 127.7 kB / 440.1 MB, free: 15.96 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003341/0.2784, allocations: 330.4 kB / 440.4 MB, free: 15.64 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008548/0.2792, allocations: 0.7211 MB / 441.2 MB, free: 14.92 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.2793, allocations: 0 / 441.2 MB, free: 14.92 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.2793, allocations: 0 / 441.2 MB, free: 14.92 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.197e-06/0.2793, allocations: 0 / 441.2 MB, free: 14.92 MB / 350.1 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.001731/0.281, allocations: 0.8608 MB / 442 MB, free: 14.02 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.281, allocations: 12.03 kB / 442 MB, free: 14.01 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001479/0.2812, allocations: 72.52 kB / 442.1 MB, free: 13.94 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008221/0.282, allocations: 381.3 kB / 442.5 MB, free: 13.54 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001196/0.2821, allocations: 55.27 kB / 442.5 MB, free: 13.48 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.837e-05/0.2822, allocations: 36.38 kB / 442.6 MB, free: 13.44 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009469/0.2831, allocations: 0.5099 MB / 443.1 MB, free: 12.88 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.937e-05/0.2832, allocations: 0 / 443.1 MB, free: 12.88 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.415e-05/0.2832, allocations: 16 kB / 443.1 MB, free: 12.86 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.135e-05/0.2832, allocations: 12 kB / 443.1 MB, free: 12.85 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008937/0.2841, allocations: 343.8 kB / 443.4 MB, free: 12.52 MB / 350.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002344/0.2865, allocations: 1.305 MB / 444.7 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009174/0.2874, allocations: 360.4 kB / 445.1 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004304/0.2878, allocations: 176.8 kB / 445.3 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.594e-05/0.2878, allocations: 11.98 kB / 445.3 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.396e-05/0.2879, allocations: 50.31 kB / 445.3 MB, free: 10.51 MB / 350.1 MB Notification: Performance of pre-optimization done (n=37): time 1.593e-06/0.2879, allocations: 0 / 445.3 MB, free: 10.51 MB / 350.1 MB Notification: Performance of matching and sorting (n=37): time 0.001672/0.2896, allocations: 0.5849 MB / 445.9 MB, free: 9.914 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002948/0.2899, allocations: 445 kB / 446.3 MB, free: 9.375 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006294/0.2905, allocations: 485.9 kB / 446.8 MB, free: 8.887 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.662e-05/0.2905, allocations: 37.7 kB / 446.9 MB, free: 8.844 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002234/0.2908, allocations: 240.6 kB / 447.1 MB, free: 8.605 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001271/0.2909, allocations: 138.8 kB / 447.2 MB, free: 8.469 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001585/0.2911, allocations: 77.61 kB / 447.3 MB, free: 8.387 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001846/0.2912, allocations: 366.8 kB / 447.7 MB, free: 8.02 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004011/0.2916, allocations: 147.8 kB / 447.8 MB, free: 7.875 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005368/0.2922, allocations: 289.1 kB / 448.1 MB, free: 7.543 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008001/0.293, allocations: 354.6 kB / 448.4 MB, free: 7.184 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.293, allocations: 0 / 448.4 MB, free: 7.184 MB / 350.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001037/0.294, allocations: 496.1 kB / 448.9 MB, free: 6.68 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.689e-05/0.2941, allocations: 41.72 kB / 449 MB, free: 6.633 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.2941, allocations: 0 / 449 MB, free: 6.633 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001849/0.2943, allocations: 45.7 kB / 449 MB, free: 6.582 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004298/0.2947, allocations: 87.88 kB / 449.1 MB, free: 6.496 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002701/0.2974, allocations: 2.758 MB / 451.8 MB, free: 3.512 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000447/0.2978, allocations: 55.78 kB / 451.9 MB, free: 3.457 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.92e-05/0.2979, allocations: 16.02 kB / 451.9 MB, free: 3.441 MB / 350.1 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.0002548/0.2981, allocations: 169.8 kB / 452.1 MB, free: 3.266 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.761e-05/0.2982, allocations: 59.62 kB / 452.1 MB, free: 3.207 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001169/0.2983, allocations: 60.92 kB / 452.2 MB, free: 3.145 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.2983, allocations: 4 kB / 452.2 MB, free: 3.141 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.626e-06/0.2983, allocations: 3.938 kB / 452.2 MB, free: 3.137 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001044/0.2994, allocations: 0.7322 MB / 452.9 MB, free: 2.301 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001788/0.3012, allocations: 1.024 MB / 454 MB, free: 1.219 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.3012, allocations: 3.938 kB / 454 MB, free: 1.215 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004658/0.3016, allocations: 91.88 kB / 454.1 MB, free: 1.125 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.3017, allocations: 0 / 454.1 MB, free: 1.125 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.679e-05/0.3017, allocations: 8 kB / 454.1 MB, free: 1.117 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.3017, allocations: 3.984 kB / 454.1 MB, free: 1.113 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3017, allocations: 0 / 454.1 MB, free: 1.113 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001331/0.303, allocations: 0.6723 MB / 454.7 MB, free: 432 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002001/0.3032, allocations: 95.52 kB / 454.8 MB, free: 336 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.261e-05/0.3033, allocations: 12 kB / 454.8 MB, free: 324 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003747/0.3037, allocations: 35.91 kB / 454.9 MB, free: 288 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.78e-05/0.3037, allocations: 23.95 kB / 454.9 MB, free: 264 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.402e-05/0.3038, allocations: 12 kB / 454.9 MB, free: 252 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000434/0.3042, allocations: 338.9 kB / 455.3 MB, free: 15.92 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3042, allocations: 0 / 455.3 MB, free: 15.92 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004793/0.3047, allocations: 143.8 kB / 455.4 MB, free: 15.78 MB / 366.1 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.0001543/0.3048, allocations: 119 kB / 455.5 MB, free: 15.65 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001293/0.3061, allocations: 0.6338 MB / 456.1 MB, free: 14.98 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.3061, allocations: 0 / 456.1 MB, free: 14.98 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004211/0.3066, allocations: 179.6 kB / 456.3 MB, free: 14.8 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008057/0.3074, allocations: 149.8 kB / 456.5 MB, free: 14.66 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001896/0.3093, allocations: 0.9923 MB / 457.5 MB, free: 13.63 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005268/0.3098, allocations: 0.8315 MB / 458.3 MB, free: 12.77 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001595/0.3099, allocations: 55.41 kB / 458.3 MB, free: 12.71 MB / 366.1 MB Notification: Performance of SimCode: time 4.4e-07/0.3099, allocations: 0 / 458.3 MB, free: 12.71 MB / 366.1 MB Notification: Performance of Templates: time 0.01452/0.3245, allocations: 9.236 MB / 467.6 MB, free: 3.551 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.sim & ./Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/PumpDropOut/PumpDropOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 8.33586762403138]