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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=4000,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=4000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001119/0.001119, allocations: 115.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001209/0.00121, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.376/1.376, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001173/0.001173, allocations: 59.78 kB / 308.4 MB, free: 15.91 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08337/0.08456, allocations: 50.53 MB / 358.9 MB, free: 13.36 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.004467/0.08906, allocations: 3.76 MB / 362.6 MB, free: 9.586 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00161/0.09069, allocations: 1.036 MB / 363.7 MB, free: 8.543 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001845/0.09089, allocations: 4 kB / 363.7 MB, free: 8.539 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000318/0.09124, allocations: 107.1 kB / 363.8 MB, free: 8.434 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003787/0.09163, allocations: 206.2 kB / 364 MB, free: 8.23 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002948/0.09193, allocations: 135.8 kB / 364.1 MB, free: 8.098 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000685/0.09263, allocations: 0.7003 MB / 364.8 MB, free: 7.395 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002899/0.09293, allocations: 210.7 kB / 365 MB, free: 7.184 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002574/0.0932, allocations: 271 kB / 365.3 MB, free: 6.918 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003783/0.09358, allocations: 306.6 kB / 365.6 MB, free: 6.617 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.033e-05/0.09367, allocations: 60 kB / 365.7 MB, free: 6.559 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.712e-05/0.09376, allocations: 64 kB / 365.7 MB, free: 6.496 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001116/0.09388, allocations: 131.5 kB / 365.8 MB, free: 6.367 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002718/0.09416, allocations: 318.5 kB / 366.2 MB, free: 6.055 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006201/0.09479, allocations: 0.724 MB / 366.9 MB, free: 5.328 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.778e-06/0.0948, allocations: 0 / 366.9 MB, free: 5.328 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.09481, allocations: 0 / 366.9 MB, free: 5.328 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.414e-05/0.09483, allocations: 0 / 366.9 MB, free: 5.328 MB / 302.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.001529/0.09636, allocations: 0.917 MB / 367.8 MB, free: 4.352 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/0.0964, allocations: 12.03 kB / 367.8 MB, free: 4.34 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001119/0.09652, allocations: 64.19 kB / 367.9 MB, free: 4.277 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007383/0.09727, allocations: 450.7 kB / 368.3 MB, free: 3.797 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.342e-05/0.09737, allocations: 59.27 kB / 368.4 MB, free: 3.734 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.122e-05/0.09744, allocations: 36.36 kB / 368.4 MB, free: 3.699 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008457/0.09829, allocations: 0.5021 MB / 368.9 MB, free: 3.141 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.539e-05/0.09832, allocations: 4 kB / 368.9 MB, free: 3.137 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.995e-05/0.09837, allocations: 16 kB / 368.9 MB, free: 3.121 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.128e-06/0.09838, allocations: 8 kB / 368.9 MB, free: 3.113 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008068/0.09919, allocations: 347.8 kB / 369.3 MB, free: 2.773 MB / 302.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.002013/0.1012, allocations: 1.343 MB / 370.6 MB, free: 1.336 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008316/0.1021, allocations: 456.7 kB / 371.1 MB, free: 0.8633 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003913/0.1025, allocations: 196.2 kB / 371.3 MB, free: 0.6719 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.133e-05/0.1025, allocations: 8 kB / 371.3 MB, free: 0.6641 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.927e-05/0.1026, allocations: 42.56 kB / 371.3 MB, free: 0.6133 MB / 302.1 MB Notification: Performance of pre-optimization done (n=37): time 1.633e-06/0.1026, allocations: 0 / 371.3 MB, free: 0.6133 MB / 302.1 MB Notification: Performance of matching and sorting (n=37): time 0.146/0.2486, allocations: 0.728 MB / 372 MB, free: 20.3 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.169e-05/0.2486, allocations: 450.5 kB / 372.5 MB, free: 19.77 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005637/0.2492, allocations: 480.2 kB / 372.9 MB, free: 19.65 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.247e-05/0.2493, allocations: 35.55 kB / 373 MB, free: 19.62 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001261/0.2494, allocations: 245.4 kB / 373.2 MB, free: 19.54 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.188e-05/0.2495, allocations: 129.1 kB / 373.3 MB, free: 19.52 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001305/0.2496, allocations: 78.78 kB / 373.4 MB, free: 19.5 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.983e-05/0.2497, allocations: 364.1 kB / 373.8 MB, free: 19.18 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003579/0.2501, allocations: 142.4 kB / 373.9 MB, free: 19.18 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004238/0.2505, allocations: 288.9 kB / 374.2 MB, free: 19.04 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006763/0.2512, allocations: 354.6 kB / 374.5 MB, free: 18.96 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.2512, allocations: 2.531 kB / 374.5 MB, free: 18.96 MB / 302.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.000933/0.2521, allocations: 0.4893 MB / 375 MB, free: 18.73 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.64e-05/0.2522, allocations: 39.83 kB / 375.1 MB, free: 18.7 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.2522, allocations: 1.781 kB / 375.1 MB, free: 18.7 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001466/0.2524, allocations: 47.58 kB / 375.1 MB, free: 18.68 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004276/0.2528, allocations: 86.48 kB / 375.2 MB, free: 18.67 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001745/0.2545, allocations: 2.965 MB / 378.2 MB, free: 15.76 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003922/0.255, allocations: 58.78 kB / 378.2 MB, free: 15.75 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.006e-05/0.255, allocations: 10.52 kB / 378.2 MB, free: 15.75 MB / 302.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.0001711/0.2552, allocations: 179.1 kB / 378.4 MB, free: 15.59 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.238e-05/0.2553, allocations: 59.66 kB / 378.5 MB, free: 15.56 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.653e-05/0.2554, allocations: 56.42 kB / 378.5 MB, free: 15.52 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.2554, allocations: 3.5 kB / 378.5 MB, free: 15.52 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.2554, allocations: 4.719 kB / 378.5 MB, free: 15.52 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007868/0.2562, allocations: 0.7352 MB / 379.3 MB, free: 14.9 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001442/0.2576, allocations: 1.049 MB / 380.3 MB, free: 14.3 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.2576, allocations: 1.375 kB / 380.3 MB, free: 14.3 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000445/0.2581, allocations: 92.64 kB / 380.4 MB, free: 14.29 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.2581, allocations: 1.562 kB / 380.4 MB, free: 14.29 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.631e-05/0.2581, allocations: 10.16 kB / 380.4 MB, free: 14.29 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.2581, allocations: 1.719 kB / 380.4 MB, free: 14.29 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.2581, allocations: 0.9844 kB / 380.4 MB, free: 14.29 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001143/0.2593, allocations: 0.6781 MB / 381.1 MB, free: 13.94 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001588/0.2595, allocations: 162.4 kB / 381.3 MB, free: 13.8 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.741e-05/0.2595, allocations: 12.59 kB / 381.3 MB, free: 13.79 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003604/0.2599, allocations: 28.8 kB / 381.3 MB, free: 13.79 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.625e-05/0.26, allocations: 23.31 kB / 381.3 MB, free: 13.78 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.319e-05/0.26, allocations: 12.47 kB / 381.3 MB, free: 13.78 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003288/0.2603, allocations: 340.6 kB / 381.7 MB, free: 13.61 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2604, allocations: 1.312 kB / 381.7 MB, free: 13.61 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004273/0.2608, allocations: 143.6 kB / 381.8 MB, free: 13.59 MB / 302.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.0001026/0.2609, allocations: 111.9 kB / 381.9 MB, free: 13.49 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001033/0.2619, allocations: 0.6543 MB / 382.6 MB, free: 13.09 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.262, allocations: 3.703 kB / 382.6 MB, free: 13.09 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003692/0.2623, allocations: 183.1 kB / 382.8 MB, free: 13.03 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006155/0.263, allocations: 152.1 kB / 382.9 MB, free: 12.98 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001338/0.2643, allocations: 0.9487 MB / 383.9 MB, free: 12.45 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002609/0.2646, allocations: 0.8306 MB / 384.7 MB, free: 11.74 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002325/0.2648, allocations: 66.7 kB / 384.7 MB, free: 11.73 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001148/0.2649, allocations: 48.03 kB / 384.8 MB, free: 11.71 MB / 302.1 MB Notification: Performance of SimCode: time 3e-07/0.2649, allocations: 0 / 384.8 MB, free: 11.71 MB / 302.1 MB Notification: Performance of Templates: time 0.01369/0.2786, allocations: 9.002 MB / 393.8 MB, free: 8.848 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.makefile (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=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/PumpDropOut/PumpDropOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches