Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001386/0.001386, allocations: 109.4 kB / 18.4 MB, free: 4.703 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.001393/0.001393, allocations: 193.2 kB / 19.33 MB, free: 3.781 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.382/1.382, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001327/0.001327, allocations: 59.92 kB / 329.2 MB, free: 3.309 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08932/0.09066, allocations: 46.61 MB / 375.8 MB, free: 4.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.005566/0.09628, allocations: 3.741 MB / 379.5 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1758/0.2722, allocations: 1.037 MB / 380.6 MB, free: 9.707 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004167/0.2726, allocations: 9.094 kB / 380.6 MB, free: 9.707 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003803/0.273, allocations: 108.7 kB / 380.7 MB, free: 9.707 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004418/0.2735, allocations: 203 kB / 380.9 MB, free: 9.707 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003225/0.2738, allocations: 139.5 kB / 381 MB, free: 9.707 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006849/0.2745, allocations: 0.7029 MB / 381.7 MB, free: 9.551 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003078/0.2748, allocations: 209.2 kB / 381.9 MB, free: 9.527 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002837/0.2751, allocations: 269.7 kB / 382.2 MB, free: 9.48 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003385/0.2755, allocations: 302.6 kB / 382.5 MB, free: 9.414 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001045/0.2756, allocations: 59.59 kB / 382.6 MB, free: 9.414 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00016/0.2757, allocations: 60.22 kB / 382.6 MB, free: 9.414 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001311/0.2759, allocations: 134.7 kB / 382.7 MB, free: 9.391 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003172/0.2762, allocations: 319.1 kB / 383.1 MB, free: 9.301 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008896/0.2771, allocations: 0.7163 MB / 383.8 MB, free: 9.195 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.2771, allocations: 1.094 kB / 383.8 MB, free: 9.195 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.2771, allocations: 4.5 kB / 383.8 MB, free: 9.191 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.5e-05/0.2772, allocations: 0.5312 kB / 383.8 MB, free: 9.191 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.001418/0.2786, allocations: 0.9221 MB / 384.7 MB, free: 8.586 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.2786, allocations: 9.672 kB / 384.7 MB, free: 8.586 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001141/0.2787, allocations: 68.19 kB / 384.8 MB, free: 8.555 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006652/0.2794, allocations: 438.7 kB / 385.2 MB, free: 8.285 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.803e-05/0.2795, allocations: 62.39 kB / 385.3 MB, free: 8.25 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.081e-05/0.2796, allocations: 36 kB / 385.3 MB, free: 8.246 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000805/0.2804, allocations: 0.5021 MB / 385.8 MB, free: 7.973 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.575e-05/0.2804, allocations: 0 / 385.8 MB, free: 7.973 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.27e-05/0.2805, allocations: 16.47 kB / 385.8 MB, free: 7.961 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.193e-05/0.2805, allocations: 9.125 kB / 385.8 MB, free: 7.961 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007897/0.2813, allocations: 356.3 kB / 386.2 MB, free: 7.852 MB / 318.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.002017/0.2833, allocations: 1.335 MB / 387.5 MB, free: 7.004 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008582/0.2842, allocations: 452.2 kB / 388 MB, free: 6.77 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004207/0.2846, allocations: 198.6 kB / 388.1 MB, free: 6.695 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.008e-05/0.2847, allocations: 5.297 kB / 388.2 MB, free: 6.695 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.368e-05/0.2847, allocations: 40.56 kB / 388.2 MB, free: 6.652 MB / 318.1 MB Notification: Performance of pre-optimization done (n=37): time 1.533e-06/0.2847, allocations: 0 / 388.2 MB, free: 6.652 MB / 318.1 MB Notification: Performance of matching and sorting (n=37): time 0.001526/0.2862, allocations: 0.7398 MB / 388.9 MB, free: 6.23 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.36e-05/0.2863, allocations: 445.5 kB / 389.4 MB, free: 5.699 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005192/0.2869, allocations: 488.8 kB / 389.8 MB, free: 5.457 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.393e-05/0.2869, allocations: 33.05 kB / 389.9 MB, free: 5.422 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001893/0.2871, allocations: 243.7 kB / 390.1 MB, free: 5.227 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.23e-05/0.2872, allocations: 127.8 kB / 390.2 MB, free: 5.129 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001319/0.2874, allocations: 81.8 kB / 390.3 MB, free: 5.082 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.316e-05/0.2874, allocations: 365 kB / 390.7 MB, free: 4.742 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003561/0.2878, allocations: 140.8 kB / 390.8 MB, free: 4.699 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000452/0.2883, allocations: 299 kB / 391.1 MB, free: 4.484 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006877/0.289, allocations: 346.4 kB / 391.4 MB, free: 4.32 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.289, allocations: 3.938 kB / 391.4 MB, free: 4.316 MB / 318.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009564/0.2899, allocations: 0.4908 MB / 391.9 MB, free: 4.078 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.113e-05/0.29, allocations: 32.88 kB / 392 MB, free: 4.047 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.29, allocations: 1.688 kB / 392 MB, free: 4.047 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001661/0.2902, allocations: 47.95 kB / 392 MB, free: 4.023 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004317/0.2906, allocations: 91.38 kB / 392.1 MB, free: 4.012 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001763/0.2924, allocations: 2.965 MB / 395.1 MB, free: 1.094 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004438/0.2928, allocations: 52.12 kB / 395.1 MB, free: 1.074 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.891e-05/0.2929, allocations: 12.97 kB / 395.1 MB, free: 1.07 MB / 318.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.0001975/0.2931, allocations: 169.5 kB / 395.3 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.56e-05/0.2932, allocations: 63.03 kB / 395.4 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.677e-05/0.2933, allocations: 57.38 kB / 395.4 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.2933, allocations: 3.562 kB / 395.4 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.2933, allocations: 5.125 kB / 395.4 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000766/0.2941, allocations: 0.7423 MB / 396.2 MB, free: 220 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001648/0.2957, allocations: 1.039 MB / 397.2 MB, free: 15.61 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.2957, allocations: 0.9688 kB / 397.2 MB, free: 15.61 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004689/0.2962, allocations: 92.05 kB / 397.3 MB, free: 15.6 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.948e-06/0.2962, allocations: 6.25 kB / 397.3 MB, free: 15.59 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.786e-05/0.2963, allocations: 10.69 kB / 397.3 MB, free: 15.59 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.2963, allocations: 2.25 kB / 397.3 MB, free: 15.59 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.2963, allocations: 0 / 397.3 MB, free: 15.59 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001284/0.2976, allocations: 0.6733 MB / 398 MB, free: 15.24 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002043/0.2978, allocations: 168.2 kB / 398.2 MB, free: 15.09 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.304e-05/0.2979, allocations: 12.5 kB / 398.2 MB, free: 15.09 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000359/0.2982, allocations: 26.08 kB / 398.2 MB, free: 15.08 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.194e-05/0.2983, allocations: 32.38 kB / 398.2 MB, free: 15.07 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.302e-05/0.2983, allocations: 13.14 kB / 398.2 MB, free: 15.07 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004005/0.2987, allocations: 340.5 kB / 398.6 MB, free: 14.9 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.2988, allocations: 0 / 398.6 MB, free: 14.9 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004767/0.2992, allocations: 147.6 kB / 398.7 MB, free: 14.88 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.0001545/0.2994, allocations: 112.2 kB / 398.8 MB, free: 14.77 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001219/0.3006, allocations: 0.6512 MB / 399.5 MB, free: 14.37 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 6.713e-06/0.3006, allocations: 1.406 kB / 399.5 MB, free: 14.37 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003897/0.301, allocations: 179.7 kB / 399.7 MB, free: 14.32 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006982/0.3018, allocations: 150.5 kB / 399.8 MB, free: 14.25 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001636/0.3034, allocations: 0.9844 MB / 400.8 MB, free: 13.66 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000401/0.3038, allocations: 0.8358 MB / 401.6 MB, free: 12.96 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000168/0.304, allocations: 48.45 kB / 401.7 MB, free: 12.95 MB / 334.1 MB Notification: Performance of SimCode: time 5.01e-07/0.304, allocations: 3.938 kB / 401.7 MB, free: 12.94 MB / 334.1 MB Notification: Performance of Templates: time 0.01372/0.3177, allocations: 9.257 MB / 410.9 MB, free: 8.895 MB / 334.1 MB make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.makefile (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.sim & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/PumpDropOut/PumpDropOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches