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.00177/0.00177, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00213/0.00213, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.458/1.458, allocations: 227.4 MB / 246.8 MB, free: 10.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001876/0.001876, allocations: 67.55 kB / 307 MB, free: 0.5391 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09004/0.09193, allocations: 50.53 MB / 357.5 MB, free: 14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.004822/0.09678, allocations: 3.752 MB / 361.3 MB, free: 10.23 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001495/0.09829, allocations: 1.04 MB / 362.3 MB, free: 9.18 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001743/0.09848, allocations: 11.94 kB / 362.3 MB, free: 9.168 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002859/0.09878, allocations: 107.1 kB / 362.4 MB, free: 9.062 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003496/0.09914, allocations: 198.3 kB / 362.6 MB, free: 8.867 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002531/0.0994, allocations: 143.8 kB / 362.8 MB, free: 8.727 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006703/0.1001, allocations: 0.6963 MB / 363.5 MB, free: 8.031 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002876/0.1004, allocations: 207 kB / 363.7 MB, free: 7.824 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002585/0.1006, allocations: 267 kB / 363.9 MB, free: 7.562 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003246/0.101, allocations: 306.6 kB / 364.2 MB, free: 7.262 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.645e-05/0.1011, allocations: 60 kB / 364.3 MB, free: 7.203 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001052/0.1012, allocations: 60 kB / 364.3 MB, free: 7.145 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001125/0.1013, allocations: 127.6 kB / 364.5 MB, free: 7.02 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002896/0.1016, allocations: 326.5 kB / 364.8 MB, free: 6.699 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006719/0.1023, allocations: 0.7085 MB / 365.5 MB, free: 5.988 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.1023, allocations: 4 kB / 365.5 MB, free: 5.984 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.163e-06/0.1023, allocations: 0 / 365.5 MB, free: 5.984 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.274e-06/0.1023, allocations: 0 / 365.5 MB, free: 5.984 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.00152/0.1038, allocations: 0.9131 MB / 366.4 MB, free: 5.012 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.075e-05/0.1039, allocations: 8.031 kB / 366.4 MB, free: 5.004 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001229/0.104, allocations: 68.19 kB / 366.5 MB, free: 4.938 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006803/0.1047, allocations: 442.7 kB / 366.9 MB, free: 4.465 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002104/0.1049, allocations: 83.23 kB / 367 MB, free: 4.379 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.302e-05/0.105, allocations: 36.38 kB / 367 MB, free: 4.344 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009279/0.1059, allocations: 0.5216 MB / 367.6 MB, free: 3.766 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.1059, allocations: 0 / 367.6 MB, free: 3.766 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.617e-05/0.106, allocations: 20 kB / 367.6 MB, free: 3.746 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.273e-05/0.106, allocations: 11.98 kB / 367.6 MB, free: 3.734 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009927/0.107, allocations: 371.8 kB / 367.9 MB, free: 3.371 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.002346/0.1094, allocations: 1.355 MB / 369.3 MB, free: 1.922 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001039/0.1104, allocations: 474.3 kB / 369.8 MB, free: 1.43 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005022/0.1109, allocations: 204.8 kB / 370 MB, free: 1.227 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.401e-05/0.111, allocations: 11.98 kB / 370 MB, free: 1.215 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.517e-05/0.111, allocations: 38.56 kB / 370 MB, free: 1.168 MB / 302.1 MB Notification: Performance of pre-optimization done (n=37): time 1.914e-06/0.111, allocations: 3.938 kB / 370 MB, free: 1.164 MB / 302.1 MB Notification: Performance of matching and sorting (n=37): time 0.001897/0.1129, allocations: 0.7737 MB / 370.8 MB, free: 348 kB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1371/0.2501, allocations: 452.9 kB / 371.2 MB, free: 20.29 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006143/0.2507, allocations: 473.7 kB / 371.7 MB, free: 20.17 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 9.323e-05/0.2508, allocations: 35.48 kB / 371.7 MB, free: 20.14 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001387/0.251, allocations: 243.4 kB / 372 MB, free: 20.05 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.924e-05/0.2511, allocations: 129.7 kB / 372.1 MB, free: 20.04 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001305/0.2512, allocations: 79.66 kB / 372.2 MB, free: 20.02 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.293e-05/0.2513, allocations: 361 kB / 372.5 MB, free: 19.7 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004523/0.2518, allocations: 154.5 kB / 372.7 MB, free: 19.7 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005026/0.2523, allocations: 307.2 kB / 373 MB, free: 19.56 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008263/0.2531, allocations: 380 kB / 373.4 MB, free: 19.5 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.2531, allocations: 0.5625 kB / 373.4 MB, free: 19.5 MB / 302.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001083/0.2542, allocations: 0.5081 MB / 373.9 MB, free: 19.27 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.586e-05/0.2542, allocations: 34.58 kB / 373.9 MB, free: 19.24 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.2543, allocations: 0 / 373.9 MB, free: 19.24 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001712/0.2544, allocations: 55.17 kB / 373.9 MB, free: 19.21 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000447/0.2549, allocations: 93.86 kB / 374 MB, free: 19.21 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001757/0.2567, allocations: 2.953 MB / 377 MB, free: 16.31 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004404/0.2571, allocations: 65.33 kB / 377.1 MB, free: 16.29 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.907e-05/0.2571, allocations: 14.06 kB / 377.1 MB, free: 16.29 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.0001712/0.2573, allocations: 173 kB / 377.2 MB, free: 16.14 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.344e-05/0.2574, allocations: 58.84 kB / 377.3 MB, free: 16.11 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.245e-05/0.2575, allocations: 57.09 kB / 377.4 MB, free: 16.07 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.858e-06/0.2575, allocations: 3.438 kB / 377.4 MB, free: 16.07 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.2575, allocations: 1.938 kB / 377.4 MB, free: 16.07 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009402/0.2585, allocations: 0.7709 MB / 378.1 MB, free: 15.45 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001568/0.2601, allocations: 1.074 MB / 379.2 MB, free: 14.84 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.2601, allocations: 0.75 kB / 379.2 MB, free: 14.84 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004579/0.2605, allocations: 91.11 kB / 379.3 MB, free: 14.84 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.2605, allocations: 5.344 kB / 379.3 MB, free: 14.83 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.31e-05/0.2606, allocations: 12.22 kB / 379.3 MB, free: 14.82 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.806e-06/0.2606, allocations: 3.703 kB / 379.3 MB, free: 14.82 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.2606, allocations: 0 / 379.3 MB, free: 14.82 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0013/0.2619, allocations: 0.7235 MB / 380 MB, free: 14.47 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001425/0.262, allocations: 168.5 kB / 380.2 MB, free: 14.32 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.842e-05/0.2621, allocations: 8.047 kB / 380.2 MB, free: 14.32 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000414/0.2625, allocations: 36.06 kB / 380.2 MB, free: 14.31 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.806e-05/0.2626, allocations: 28.41 kB / 380.3 MB, free: 14.3 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.908e-05/0.2627, allocations: 7.281 kB / 380.3 MB, free: 14.3 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003267/0.263, allocations: 344.6 kB / 380.6 MB, free: 14.14 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.263, allocations: 0 / 380.6 MB, free: 14.14 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004223/0.2634, allocations: 143.8 kB / 380.8 MB, free: 14.11 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.0001073/0.2635, allocations: 108 kB / 380.9 MB, free: 14.02 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001231/0.2648, allocations: 0.69 MB / 381.6 MB, free: 13.61 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.2648, allocations: 1.125 kB / 381.6 MB, free: 13.61 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004382/0.2652, allocations: 200 kB / 381.7 MB, free: 13.55 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006984/0.2659, allocations: 139 kB / 381.9 MB, free: 13.5 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001367/0.2673, allocations: 0.9742 MB / 382.9 MB, free: 12.95 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002412/0.2676, allocations: 0.8314 MB / 383.7 MB, free: 12.24 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002587/0.2678, allocations: 68.81 kB / 383.8 MB, free: 12.23 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001073/0.268, allocations: 42.73 kB / 383.8 MB, free: 12.22 MB / 302.1 MB Notification: Performance of SimCode: time 2.51e-07/0.268, allocations: 0 / 383.8 MB, free: 12.22 MB / 302.1 MB Notification: Performance of Templates: time 0.01445/0.2824, allocations: 9.049 MB / 392.8 MB, free: 9.277 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.1.0/Modelica/Thermal/FluidHeatFlow/Examples/PumpDropOut/PumpDropOut.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches