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.001315/0.001315, allocations: 109.4 kB / 17.98 MB, free: 5.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001354/0.001354, allocations: 201.8 kB / 18.92 MB, free: 4.469 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.457/1.457, allocations: 227.4 MB / 247.1 MB, free: 10.77 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001847/0.001847, allocations: 67.58 kB / 307.1 MB, free: 0.918 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09565/0.09751, allocations: 50.53 MB / 357.7 MB, free: 14.38 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.005181/0.1027, allocations: 3.785 MB / 361.5 MB, free: 10.57 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001904/0.1047, allocations: 1.032 MB / 362.5 MB, free: 9.535 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002064/0.1049, allocations: 11.94 kB / 362.5 MB, free: 9.523 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003483/0.1053, allocations: 79.44 kB / 362.6 MB, free: 9.445 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004142/0.1057, allocations: 178.6 kB / 362.8 MB, free: 9.27 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002872/0.106, allocations: 123.9 kB / 362.9 MB, free: 9.148 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007869/0.1068, allocations: 0.6964 MB / 363.6 MB, free: 8.449 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003295/0.1071, allocations: 207 kB / 363.8 MB, free: 8.242 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000316/0.1075, allocations: 274.9 kB / 364 MB, free: 7.973 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003511/0.1078, allocations: 302.7 kB / 364.3 MB, free: 7.676 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.043e-05/0.1079, allocations: 60 kB / 364.4 MB, free: 7.617 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.912e-05/0.108, allocations: 60 kB / 364.5 MB, free: 7.559 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001266/0.1082, allocations: 131.5 kB / 364.6 MB, free: 7.43 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003075/0.1085, allocations: 318.5 kB / 364.9 MB, free: 7.117 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005832/0.1091, allocations: 0.5416 MB / 365.4 MB, free: 6.574 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1091, allocations: 0 / 365.4 MB, free: 6.574 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.276e-06/0.1091, allocations: 0 / 365.4 MB, free: 6.574 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.345e-05/0.1091, allocations: 3.938 kB / 365.4 MB, free: 6.57 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.001687/0.1108, allocations: 0.9234 MB / 366.4 MB, free: 5.59 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.1109, allocations: 19.91 kB / 366.4 MB, free: 5.57 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001339/0.111, allocations: 68.19 kB / 366.4 MB, free: 5.504 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007077/0.1117, allocations: 442.7 kB / 366.9 MB, free: 5.031 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002233/0.112, allocations: 83.22 kB / 367 MB, free: 4.945 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.537e-05/0.112, allocations: 28.38 kB / 367 MB, free: 4.918 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009995/0.113, allocations: 0.5177 MB / 367.5 MB, free: 4.348 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.712e-05/0.1131, allocations: 0 / 367.5 MB, free: 4.348 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.482e-05/0.1131, allocations: 16 kB / 367.5 MB, free: 4.332 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.13e-05/0.1131, allocations: 8 kB / 367.5 MB, free: 4.324 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009848/0.1141, allocations: 383.7 kB / 367.9 MB, free: 3.945 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.002232/0.1164, allocations: 1.343 MB / 369.2 MB, free: 2.508 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009781/0.1174, allocations: 468 kB / 369.7 MB, free: 2.02 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004837/0.1179, allocations: 205.5 kB / 369.9 MB, free: 1.816 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.975e-05/0.1179, allocations: 11.98 kB / 369.9 MB, free: 1.805 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.655e-05/0.118, allocations: 46.5 kB / 370 MB, free: 1.75 MB / 302.1 MB Notification: Performance of pre-optimization done (n=37): time 1.704e-06/0.118, allocations: 0 / 370 MB, free: 1.75 MB / 302.1 MB Notification: Performance of matching and sorting (n=37): time 0.001903/0.1199, allocations: 0.7737 MB / 370.7 MB, free: 0.9258 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002357/0.1201, allocations: 441 kB / 371.2 MB, free: 400 kB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1566/0.2768, allocations: 480 kB / 371.6 MB, free: 21 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001155/0.2769, allocations: 32.58 kB / 371.7 MB, free: 20.96 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001782/0.2771, allocations: 241.7 kB / 371.9 MB, free: 20.88 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000108/0.2772, allocations: 133.1 kB / 372 MB, free: 20.86 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001447/0.2774, allocations: 79.8 kB / 372.1 MB, free: 20.84 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.037e-05/0.2775, allocations: 363.5 kB / 372.5 MB, free: 20.53 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004916/0.2779, allocations: 157.8 kB / 372.6 MB, free: 20.49 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005561/0.2785, allocations: 307.7 kB / 372.9 MB, free: 20.29 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008657/0.2794, allocations: 376.8 kB / 373.3 MB, free: 20.12 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.2794, allocations: 3.562 kB / 373.3 MB, free: 20.12 MB / 302.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001208/0.2806, allocations: 0.5084 MB / 373.8 MB, free: 19.89 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.54e-05/0.2807, allocations: 32.22 kB / 373.8 MB, free: 19.86 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.148e-06/0.2807, allocations: 4.922 kB / 373.8 MB, free: 19.86 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001808/0.2809, allocations: 53.98 kB / 373.9 MB, free: 19.84 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000479/0.2814, allocations: 93.84 kB / 374 MB, free: 19.83 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001917/0.2833, allocations: 2.962 MB / 376.9 MB, free: 16.92 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005219/0.2838, allocations: 64.39 kB / 377 MB, free: 16.9 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.334e-05/0.2839, allocations: 12.09 kB / 377 MB, free: 16.9 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.0002078/0.2841, allocations: 174.2 kB / 377.2 MB, free: 16.75 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.686e-05/0.2842, allocations: 55.34 kB / 377.2 MB, free: 16.72 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001099/0.2843, allocations: 60.42 kB / 377.3 MB, free: 16.68 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.143e-06/0.2843, allocations: 4.875 kB / 377.3 MB, free: 16.68 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.2843, allocations: 0 / 377.3 MB, free: 16.68 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001001/0.2853, allocations: 0.772 MB / 378.1 MB, free: 16.05 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001705/0.287, allocations: 1.071 MB / 379.1 MB, free: 15.44 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/0.2871, allocations: 4.547 kB / 379.2 MB, free: 15.43 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004889/0.2876, allocations: 89.42 kB / 379.2 MB, free: 15.43 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.891e-06/0.2876, allocations: 2 kB / 379.2 MB, free: 15.43 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.194e-05/0.2876, allocations: 11.28 kB / 379.3 MB, free: 15.43 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.2876, allocations: 5.281 kB / 379.3 MB, free: 15.42 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.726e-06/0.2876, allocations: 1.938 kB / 379.3 MB, free: 15.42 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001352/0.289, allocations: 0.7162 MB / 380 MB, free: 15.07 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001831/0.2892, allocations: 169.8 kB / 380.1 MB, free: 14.92 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.109e-05/0.2893, allocations: 6.469 kB / 380.1 MB, free: 14.92 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004117/0.2897, allocations: 46.17 kB / 380.2 MB, free: 14.9 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.613e-05/0.2898, allocations: 23.69 kB / 380.2 MB, free: 14.9 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.22e-05/0.2898, allocations: 7.812 kB / 380.2 MB, free: 14.9 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003743/0.2902, allocations: 341.1 kB / 380.6 MB, free: 14.74 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2902, allocations: 1.094 kB / 380.6 MB, free: 14.74 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004973/0.2907, allocations: 138.8 kB / 380.7 MB, free: 14.72 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.0001129/0.2908, allocations: 110 kB / 380.8 MB, free: 14.62 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001334/0.2922, allocations: 0.6848 MB / 381.5 MB, free: 14.21 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/0.2922, allocations: 5.156 kB / 381.5 MB, free: 14.21 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004481/0.2926, allocations: 201.9 kB / 381.7 MB, free: 14.15 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007557/0.2934, allocations: 150.4 kB / 381.8 MB, free: 14.1 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001602/0.295, allocations: 1.168 MB / 383 MB, free: 13.35 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002639/0.2953, allocations: 0.8362 MB / 383.8 MB, free: 12.64 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001548/0.2955, allocations: 48.61 kB / 383.9 MB, free: 12.63 MB / 302.1 MB Notification: Performance of SimCode: time 2.1e-07/0.2955, allocations: 0 / 383.9 MB, free: 12.63 MB / 302.1 MB Notification: Performance of Templates: time 0.01282/0.3083, allocations: 9.153 MB / 393 MB, free: 9.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.1.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