Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001049/0.001049, allocations: 116.3 kB / 17.07 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001096/0.001096, allocations: 198.8 kB / 18.01 MB, free: 5.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.334/1.334, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009861/0.0009861, allocations: 47.92 kB / 351.3 MB, free: 3.25 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.261/0.262, allocations: 49.43 MB / 400.7 MB, free: 8.734 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.005429/0.2675, allocations: 3.757 MB / 404.5 MB, free: 5.102 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002003/0.2695, allocations: 0.9851 MB / 405.5 MB, free: 4.109 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004382/0.27, allocations: 11.94 kB / 405.5 MB, free: 4.098 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004392/0.2705, allocations: 123 kB / 405.6 MB, free: 3.977 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000603/0.2711, allocations: 206.3 kB / 405.8 MB, free: 3.773 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003702/0.2715, allocations: 135.8 kB / 405.9 MB, free: 3.641 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009053/0.2724, allocations: 0.7079 MB / 406.6 MB, free: 2.934 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000342/0.2727, allocations: 204.2 kB / 406.8 MB, free: 2.727 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003843/0.2731, allocations: 266.9 kB / 407.1 MB, free: 2.465 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004263/0.2736, allocations: 310.7 kB / 407.4 MB, free: 2.16 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001308/0.2737, allocations: 60 kB / 407.5 MB, free: 2.102 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001367/0.2738, allocations: 60 kB / 407.5 MB, free: 2.043 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001123/0.274, allocations: 127.5 kB / 407.6 MB, free: 1.918 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003627/0.2743, allocations: 322.5 kB / 407.9 MB, free: 1.602 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006893/0.275, allocations: 0.716 MB / 408.7 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.275, allocations: 8 kB / 408.7 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.2751, allocations: 0 / 408.7 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.468e-05/0.2751, allocations: 0 / 408.7 MB, free: 0.8789 MB / 318.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.001707/0.2768, allocations: 0.9131 MB / 409.6 MB, free: 15.91 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.2768, allocations: 12.03 kB / 409.6 MB, free: 15.89 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001164/0.277, allocations: 64.19 kB / 409.7 MB, free: 15.83 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007091/0.2777, allocations: 438.8 kB / 410.1 MB, free: 15.37 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.5e-05/0.2778, allocations: 67.25 kB / 410.2 MB, free: 15.3 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.113e-05/0.2779, allocations: 28.38 kB / 410.2 MB, free: 15.27 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008624/0.2787, allocations: 0.506 MB / 410.7 MB, free: 14.71 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.685e-05/0.2788, allocations: 0 / 410.7 MB, free: 14.71 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.37e-05/0.2788, allocations: 19.94 kB / 410.7 MB, free: 14.69 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-06/0.2788, allocations: 8 kB / 410.7 MB, free: 14.68 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008464/0.2797, allocations: 355.8 kB / 411.1 MB, free: 14.33 MB / 334.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.002078/0.2818, allocations: 1.343 MB / 412.4 MB, free: 12.89 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000915/0.2827, allocations: 459.4 kB / 412.9 MB, free: 12.41 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004201/0.2831, allocations: 193.4 kB / 413 MB, free: 12.22 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.056e-05/0.2832, allocations: 11.98 kB / 413.1 MB, free: 12.21 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.799e-05/0.2832, allocations: 34.56 kB / 413.1 MB, free: 12.17 MB / 334.1 MB Notification: Performance of pre-optimization done (n=37): time 1.623e-06/0.2832, allocations: 4 kB / 413.1 MB, free: 12.16 MB / 334.1 MB Notification: Performance of matching and sorting (n=37): time 0.001644/0.2849, allocations: 0.7429 MB / 413.8 MB, free: 11.37 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000164/0.285, allocations: 456.9 kB / 414.3 MB, free: 10.82 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004996/0.2855, allocations: 482 kB / 414.8 MB, free: 10.34 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.159e-05/0.2856, allocations: 37.7 kB / 414.8 MB, free: 10.29 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001752/0.2858, allocations: 236.5 kB / 415 MB, free: 10.06 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.663e-05/0.2859, allocations: 134.1 kB / 415.2 MB, free: 9.926 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001266/0.286, allocations: 77.59 kB / 415.2 MB, free: 9.844 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001355/0.2862, allocations: 362.8 kB / 415.6 MB, free: 9.48 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003922/0.2866, allocations: 151.8 kB / 415.7 MB, free: 9.332 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004882/0.2871, allocations: 288.9 kB / 416 MB, free: 9 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000776/0.2878, allocations: 355 kB / 416.4 MB, free: 8.641 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.2879, allocations: 0 / 416.4 MB, free: 8.641 MB / 334.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001029/0.2889, allocations: 495.7 kB / 416.8 MB, free: 8.137 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.075e-05/0.2889, allocations: 29.7 kB / 416.9 MB, free: 8.102 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.289, allocations: 4 kB / 416.9 MB, free: 8.098 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001864/0.2891, allocations: 49.72 kB / 416.9 MB, free: 8.043 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004213/0.2896, allocations: 87.88 kB / 417 MB, free: 7.957 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002543/0.2921, allocations: 2.968 MB / 420 MB, free: 4.711 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004213/0.2926, allocations: 51.7 kB / 420 MB, free: 4.66 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.295e-05/0.2926, allocations: 11.98 kB / 420 MB, free: 4.648 MB / 334.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.0002135/0.2928, allocations: 177.7 kB / 420.2 MB, free: 4.465 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.609e-05/0.2929, allocations: 59.28 kB / 420.3 MB, free: 4.406 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001014/0.293, allocations: 56.94 kB / 420.3 MB, free: 4.352 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.293, allocations: 3.984 kB / 420.3 MB, free: 4.348 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.2931, allocations: 7.938 kB / 420.3 MB, free: 4.34 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009513/0.294, allocations: 0.7346 MB / 421.1 MB, free: 3.5 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001637/0.2957, allocations: 1.046 MB / 422.1 MB, free: 2.391 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.177e-06/0.2957, allocations: 3.938 kB / 422.1 MB, free: 2.387 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004495/0.2961, allocations: 92.11 kB / 422.2 MB, free: 2.297 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.2961, allocations: 0 / 422.2 MB, free: 2.297 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.866e-05/0.2962, allocations: 8 kB / 422.2 MB, free: 2.289 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.185e-06/0.2962, allocations: 4 kB / 422.2 MB, free: 2.285 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.2962, allocations: 0 / 422.2 MB, free: 2.285 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001289/0.2975, allocations: 0.6834 MB / 422.9 MB, free: 1.578 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002006/0.2977, allocations: 168.3 kB / 423.1 MB, free: 1.395 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.52e-05/0.2978, allocations: 12 kB / 423.1 MB, free: 1.383 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003951/0.2982, allocations: 31.91 kB / 423.1 MB, free: 1.352 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001056/0.2983, allocations: 28.03 kB / 423.1 MB, free: 1.324 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.222e-05/0.2983, allocations: 11.98 kB / 423.2 MB, free: 1.312 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003714/0.2987, allocations: 338.9 kB / 423.5 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2987, allocations: 0 / 423.5 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004455/0.2992, allocations: 143.8 kB / 423.6 MB, free: 0.8438 MB / 334.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.0001203/0.2993, allocations: 107.7 kB / 423.7 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001223/0.3005, allocations: 0.6448 MB / 424.4 MB, free: 48 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.3005, allocations: 0 / 424.4 MB, free: 48 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004362/0.301, allocations: 184.2 kB / 424.6 MB, free: 15.87 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006888/0.3017, allocations: 153.7 kB / 424.7 MB, free: 15.71 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001714/0.3034, allocations: 0.9577 MB / 425.7 MB, free: 14.73 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003926/0.3038, allocations: 0.8315 MB / 426.5 MB, free: 13.87 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002791/0.3041, allocations: 64.53 kB / 426.6 MB, free: 13.8 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001225/0.3042, allocations: 51.44 kB / 426.6 MB, free: 13.75 MB / 350.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3042, allocations: 0 / 426.6 MB, free: 13.75 MB / 350.1 MB Notification: Performance of Templates: time 0.01605/0.3203, allocations: 9.068 MB / 435.7 MB, free: 4.836 MB / 350.1 MB make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.makefile (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.sim & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches