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.0009644/0.0009645, allocations: 95.95 kB / 18 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001371/0.001371, allocations: 200.1 kB / 18.93 MB, free: 4.852 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.453/1.453, allocations: 227.7 MB / 247.5 MB, free: 11.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000251/0.0002509, allocations: 4 kB / 308.4 MB, free: 0.8086 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.1006, allocations: 51.53 MB / 359.9 MB, free: 13.28 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.004104/0.1048, allocations: 3.401 MB / 363.3 MB, free: 9.863 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00203/0.1069, allocations: 0.9659 MB / 364.3 MB, free: 8.891 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003884/0.1073, allocations: 7.938 kB / 364.3 MB, free: 8.883 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003951/0.1077, allocations: 87.44 kB / 364.4 MB, free: 8.797 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005933/0.1083, allocations: 182.6 kB / 364.5 MB, free: 8.617 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004223/0.1087, allocations: 115.8 kB / 364.7 MB, free: 8.504 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000879/0.1096, allocations: 0.6691 MB / 365.3 MB, free: 7.832 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003345/0.11, allocations: 195.8 kB / 365.5 MB, free: 7.637 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003777/0.1104, allocations: 235 kB / 365.7 MB, free: 7.406 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004319/0.1108, allocations: 286.6 kB / 366 MB, free: 7.125 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001468/0.111, allocations: 40 kB / 366.1 MB, free: 7.086 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001294/0.1111, allocations: 36 kB / 366.1 MB, free: 7.051 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001116/0.1112, allocations: 99.59 kB / 366.2 MB, free: 6.953 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003598/0.1116, allocations: 320.2 kB / 366.5 MB, free: 6.633 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005027/0.1121, allocations: 0.5258 MB / 367 MB, free: 6.105 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.1121, allocations: 0 / 367 MB, free: 6.105 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1121, allocations: 0 / 367 MB, free: 6.105 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.848e-05/0.1121, allocations: 0 / 367 MB, free: 6.105 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.001545/0.1137, allocations: 0.8276 MB / 367.9 MB, free: 5.219 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.1137, allocations: 8.031 kB / 367.9 MB, free: 5.211 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001559/0.1139, allocations: 68.19 kB / 367.9 MB, free: 5.145 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007201/0.1146, allocations: 454.8 kB / 368.4 MB, free: 4.66 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002135/0.1149, allocations: 83.23 kB / 368.5 MB, free: 4.574 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.506e-05/0.1149, allocations: 36.31 kB / 368.5 MB, free: 4.539 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009576/0.1159, allocations: 0.5255 MB / 369 MB, free: 3.961 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.531e-05/0.1159, allocations: 0 / 369 MB, free: 3.961 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.484e-05/0.116, allocations: 20 kB / 369 MB, free: 3.941 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.014e-05/0.116, allocations: 8 kB / 369.1 MB, free: 3.934 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001014/0.117, allocations: 399.8 kB / 369.4 MB, free: 3.539 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.002162/0.1192, allocations: 1.362 MB / 370.8 MB, free: 2.082 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009748/0.1202, allocations: 492.7 kB / 371.3 MB, free: 1.57 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004987/0.1207, allocations: 212.8 kB / 371.5 MB, free: 1.359 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.554e-05/0.1207, allocations: 11.98 kB / 371.5 MB, free: 1.348 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.945e-05/0.1208, allocations: 38.56 kB / 371.5 MB, free: 1.301 MB / 302.1 MB Notification: Performance of pre-optimization done (n=37): time 1.643e-06/0.1208, allocations: 0 / 371.5 MB, free: 1.301 MB / 302.1 MB Notification: Performance of matching and sorting (n=37): time 0.001844/0.1226, allocations: 0.8094 MB / 372.4 MB, free: 452 kB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1868/0.3095, allocations: 449.5 kB / 372.8 MB, free: 19.41 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009026/0.3104, allocations: 476 kB / 373.3 MB, free: 19.29 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000118/0.3105, allocations: 35.77 kB / 373.3 MB, free: 19.26 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002131/0.3108, allocations: 242.3 kB / 373.5 MB, free: 19.18 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001608/0.3109, allocations: 129.2 kB / 373.7 MB, free: 19.15 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.631e-05/0.311, allocations: 33.31 kB / 373.7 MB, free: 19.14 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001182/0.3111, allocations: 363 kB / 374 MB, free: 18.82 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00051/0.3117, allocations: 168.1 kB / 374.2 MB, free: 18.82 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005742/0.3122, allocations: 312.6 kB / 374.5 MB, free: 18.68 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001023/0.3133, allocations: 398 kB / 374.9 MB, free: 18.63 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.3133, allocations: 0 / 374.9 MB, free: 18.63 MB / 302.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001373/0.3147, allocations: 0.5343 MB / 375.4 MB, free: 18.52 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.022e-05/0.3147, allocations: 32.17 kB / 375.5 MB, free: 18.48 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.3147, allocations: 5.031 kB / 375.5 MB, free: 18.48 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001964/0.3149, allocations: 52.62 kB / 375.5 MB, free: 18.47 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004861/0.3154, allocations: 96.92 kB / 375.6 MB, free: 18.47 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00199/0.3174, allocations: 2.741 MB / 378.4 MB, free: 15.95 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005421/0.318, allocations: 73.94 kB / 378.4 MB, free: 15.93 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.78e-05/0.318, allocations: 16.23 kB / 378.4 MB, free: 15.93 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.0002487/0.3183, allocations: 181.4 kB / 378.6 MB, free: 15.8 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001036/0.3184, allocations: 52.31 kB / 378.7 MB, free: 15.78 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001084/0.3185, allocations: 56.17 kB / 378.7 MB, free: 15.74 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.3185, allocations: 4.125 kB / 378.7 MB, free: 15.74 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.3185, allocations: 1.547 kB / 378.7 MB, free: 15.74 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001032/0.3196, allocations: 0.7864 MB / 379.5 MB, free: 15.11 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001881/0.3215, allocations: 1.099 MB / 380.6 MB, free: 14.5 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.3215, allocations: 0.875 kB / 380.6 MB, free: 14.5 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004846/0.322, allocations: 104.2 kB / 380.7 MB, free: 14.49 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.79e-06/0.322, allocations: 6.062 kB / 380.7 MB, free: 14.49 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.739e-05/0.322, allocations: 14.97 kB / 380.7 MB, free: 14.48 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.322, allocations: 1.703 kB / 380.7 MB, free: 14.48 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.322, allocations: 3.062 kB / 380.7 MB, free: 14.48 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001474/0.3235, allocations: 0.7382 MB / 381.5 MB, free: 14.13 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001999/0.3237, allocations: 173 kB / 381.7 MB, free: 13.98 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.281e-05/0.3238, allocations: 15 kB / 381.7 MB, free: 13.97 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004479/0.3243, allocations: 42.69 kB / 381.7 MB, free: 13.96 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.011e-05/0.3244, allocations: 24.55 kB / 381.7 MB, free: 13.96 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.118e-05/0.3244, allocations: 7.641 kB / 381.7 MB, free: 13.96 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004255/0.3248, allocations: 341.1 kB / 382.1 MB, free: 13.79 MB / 302.1 MB Notification: Performance of sort global known variables: time 3e-07/0.3248, allocations: 4 kB / 382.1 MB, free: 13.79 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005288/0.3254, allocations: 139.1 kB / 382.2 MB, free: 13.77 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.0001315/0.3255, allocations: 108.5 kB / 382.3 MB, free: 13.67 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001333/0.3269, allocations: 0.6971 MB / 383 MB, free: 13.26 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.3269, allocations: 0 / 383 MB, free: 13.26 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004759/0.3274, allocations: 213.9 kB / 383.2 MB, free: 13.2 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007627/0.3281, allocations: 131.6 kB / 383.4 MB, free: 13.16 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001699/0.3298, allocations: 1.243 MB / 384.6 MB, free: 12.38 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003084/0.3302, allocations: 0.8345 MB / 385.4 MB, free: 11.67 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001652/0.3303, allocations: 48.06 kB / 385.5 MB, free: 11.66 MB / 302.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3303, allocations: 0 / 385.5 MB, free: 11.66 MB / 302.1 MB Notification: Performance of Templates: time 0.01535/0.3457, allocations: 9.093 MB / 394.6 MB, free: 8.289 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 -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