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.001069/0.001069, allocations: 96.23 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001357/0.001357, allocations: 205.4 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.319/1.319, allocations: 227.2 MB / 245.9 MB, free: 10.36 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0001968/0.0001969, allocations: 4 kB / 306.6 MB, free: 1.434 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09475/0.09496, allocations: 51.49 MB / 358.1 MB, free: 13.94 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.00332/0.09833, allocations: 3.009 MB / 361.1 MB, free: 10.92 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001461/0.09982, allocations: 0.9471 MB / 362 MB, free: 9.965 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001741/0.1, allocations: 7.938 kB / 362 MB, free: 9.957 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001989/0.1002, allocations: 67.52 kB / 362.1 MB, free: 9.891 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003792/0.1006, allocations: 219.4 kB / 362.3 MB, free: 9.676 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002341/0.1008, allocations: 95.83 kB / 362.4 MB, free: 9.582 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006107/0.1015, allocations: 495.1 kB / 362.9 MB, free: 9.098 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000271/0.1017, allocations: 162.8 kB / 363 MB, free: 8.934 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002138/0.102, allocations: 219.2 kB / 363.3 MB, free: 8.719 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002735/0.1023, allocations: 262.9 kB / 363.5 MB, free: 8.461 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.245e-05/0.1023, allocations: 32 kB / 363.5 MB, free: 8.43 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.621e-05/0.1024, allocations: 32 kB / 363.6 MB, free: 8.398 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.236e-05/0.1025, allocations: 99.58 kB / 363.7 MB, free: 8.301 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001202/0.1026, allocations: 133.5 kB / 363.8 MB, free: 8.164 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004405/0.1031, allocations: 0.5027 MB / 364.3 MB, free: 7.66 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.1031, allocations: 0 / 364.3 MB, free: 7.66 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.1031, allocations: 3.938 kB / 364.3 MB, free: 7.656 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.125e-06/0.1031, allocations: 0 / 364.3 MB, free: 7.656 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.001377/0.1045, allocations: 0.826 MB / 365.1 MB, free: 6.777 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/0.1046, allocations: 12.03 kB / 365.1 MB, free: 6.766 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001172/0.1047, allocations: 71.25 kB / 365.2 MB, free: 6.695 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006231/0.1053, allocations: 405.8 kB / 365.6 MB, free: 6.258 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001949/0.1055, allocations: 94.62 kB / 365.7 MB, free: 6.16 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.663e-05/0.1056, allocations: 32 kB / 365.7 MB, free: 6.129 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008698/0.1065, allocations: 0.5215 MB / 366.3 MB, free: 5.555 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.442e-05/0.1065, allocations: 3.938 kB / 366.3 MB, free: 5.551 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.261e-05/0.1065, allocations: 16 kB / 366.3 MB, free: 5.535 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.888e-06/0.1065, allocations: 8 kB / 366.3 MB, free: 5.527 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009369/0.1075, allocations: 395.8 kB / 366.7 MB, free: 5.141 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.00208/0.1096, allocations: 1.316 MB / 368 MB, free: 3.73 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001051/0.1106, allocations: 0.5163 MB / 368.5 MB, free: 3.184 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.035e-05/0.1107, allocations: 15.97 kB / 368.5 MB, free: 3.168 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.133e-05/0.1107, allocations: 42.5 kB / 368.6 MB, free: 3.117 MB / 302.1 MB Notification: Performance of pre-optimization done (n=37): time 1.773e-06/0.1107, allocations: 0 / 368.6 MB, free: 3.117 MB / 302.1 MB Notification: Performance of matching and sorting (n=37): time 0.001735/0.1125, allocations: 0.8032 MB / 369.4 MB, free: 2.266 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001563/0.1126, allocations: 445 kB / 369.8 MB, free: 1.727 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004804/0.1131, allocations: 453.9 kB / 370.2 MB, free: 1.27 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.323e-05/0.1132, allocations: 37.7 kB / 370.3 MB, free: 1.227 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001805/0.1134, allocations: 236.5 kB / 370.5 MB, free: 0.9922 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001039/0.1135, allocations: 138 kB / 370.6 MB, free: 0.8555 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.998e-05/0.1135, allocations: 8 kB / 370.7 MB, free: 0.8477 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001389/0.1137, allocations: 354.8 kB / 371 MB, free: 0.4922 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004171/0.1141, allocations: 167.8 kB / 371.2 MB, free: 336 kB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1684/0.2825, allocations: 311 kB / 371.5 MB, free: 19.25 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009529/0.2835, allocations: 209.9 kB / 371.7 MB, free: 19.21 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.991e-06/0.2835, allocations: 0 / 371.7 MB, free: 19.21 MB / 302.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001509/0.285, allocations: 0.5332 MB / 372.2 MB, free: 19.12 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.971e-05/0.2851, allocations: 32.55 kB / 372.2 MB, free: 19.09 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.2851, allocations: 0 / 372.2 MB, free: 19.09 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002142/0.2853, allocations: 52.39 kB / 372.3 MB, free: 19.08 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004725/0.2858, allocations: 97.06 kB / 372.4 MB, free: 19.08 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001892/0.2877, allocations: 2.764 MB / 375.1 MB, free: 16.58 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005584/0.2883, allocations: 73.77 kB / 375.2 MB, free: 16.58 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.433e-05/0.2883, allocations: 13.14 kB / 375.2 MB, free: 16.58 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {3 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002238/0.2886, allocations: 170.5 kB / 375.4 MB, free: 16.46 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.198e-05/0.2887, allocations: 58.02 kB / 375.5 MB, free: 16.45 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001411/0.2888, allocations: 54.33 kB / 375.5 MB, free: 16.44 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.2888, allocations: 9.141 kB / 375.5 MB, free: 16.43 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.2888, allocations: 2.906 kB / 375.5 MB, free: 16.43 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001082/0.2899, allocations: 0.7825 MB / 376.3 MB, free: 15.9 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002015/0.292, allocations: 1.075 MB / 377.4 MB, free: 15.55 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.292, allocations: 7.891 kB / 377.4 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005297/0.2925, allocations: 102.1 kB / 377.5 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.2925, allocations: 1.125 kB / 377.5 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.666e-05/0.2926, allocations: 11.08 kB / 377.5 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.2926, allocations: 5.094 kB / 377.5 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.2926, allocations: 1.031 kB / 377.5 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001492/0.2941, allocations: 0.7371 MB / 378.2 MB, free: 15.3 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001826/0.2943, allocations: 167.6 kB / 378.4 MB, free: 15.16 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.421e-05/0.2943, allocations: 8.734 kB / 378.4 MB, free: 15.16 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003971/0.2947, allocations: 48.06 kB / 378.5 MB, free: 15.14 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.524e-05/0.2948, allocations: 24.61 kB / 378.5 MB, free: 15.14 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.262e-05/0.2949, allocations: 6.906 kB / 378.5 MB, free: 15.14 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003697/0.2952, allocations: 317.2 kB / 378.8 MB, free: 14.98 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2952, allocations: 0 / 378.8 MB, free: 14.98 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005056/0.2957, allocations: 140.4 kB / 378.9 MB, free: 14.96 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001303/0.2959, allocations: 110.2 kB / 379 MB, free: 14.86 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001281/0.2972, allocations: 0.6896 MB / 379.7 MB, free: 14.46 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.2972, allocations: 2.094 kB / 379.7 MB, free: 14.46 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004585/0.2977, allocations: 210.3 kB / 379.9 MB, free: 14.39 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000565/0.2982, allocations: 130.8 kB / 380.1 MB, free: 14.35 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001611/0.2999, allocations: 1.146 MB / 381.2 MB, free: 13.67 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002988/0.3002, allocations: 0.8505 MB / 382.1 MB, free: 12.96 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002555/0.3004, allocations: 60.72 kB / 382.1 MB, free: 12.94 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000107/0.3005, allocations: 38.14 kB / 382.2 MB, free: 12.93 MB / 302.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3005, allocations: 0 / 382.2 MB, free: 12.93 MB / 302.1 MB Notification: Performance of Templates: time 0.01287/0.3134, allocations: 7.576 MB / 389.7 MB, free: 10.85 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/PumpDropOut/PumpDropOut.csv","../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches