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.001067/0.001067, allocations: 121.7 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001079/0.001079, allocations: 199.8 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.315/1.315, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0011/0.0011, allocations: 59.89 kB / 358.7 MB, free: 12.97 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2267/0.2278, allocations: 50.55 MB / 409.2 MB, free: 1.594 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.004726/0.2326, allocations: 3.765 MB / 413 MB, free: 13.81 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001639/0.2342, allocations: 1.032 MB / 414 MB, free: 12.77 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001774/0.2344, allocations: 7.938 kB / 414 MB, free: 12.77 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003067/0.2348, allocations: 115 kB / 414.1 MB, free: 12.65 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003686/0.2351, allocations: 198.3 kB / 414.3 MB, free: 12.46 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002736/0.2354, allocations: 135.8 kB / 414.5 MB, free: 12.32 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006747/0.2361, allocations: 0.7042 MB / 415.2 MB, free: 11.62 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002994/0.2364, allocations: 210.4 kB / 415.4 MB, free: 11.41 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002739/0.2367, allocations: 270.9 kB / 415.6 MB, free: 11.14 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003525/0.2371, allocations: 302.7 kB / 415.9 MB, free: 10.84 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.302e-05/0.2372, allocations: 64 kB / 416 MB, free: 10.78 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.967e-05/0.2373, allocations: 60 kB / 416.1 MB, free: 10.72 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001118/0.2374, allocations: 135.5 kB / 416.2 MB, free: 10.59 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002681/0.2376, allocations: 318.5 kB / 416.5 MB, free: 10.28 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006552/0.2383, allocations: 0.7138 MB / 417.2 MB, free: 9.562 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.2383, allocations: 0 / 417.2 MB, free: 9.562 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.2383, allocations: 0 / 417.2 MB, free: 9.562 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.257e-06/0.2383, allocations: 0 / 417.2 MB, free: 9.562 MB / 334.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.001607/0.24, allocations: 0.9169 MB / 418.1 MB, free: 8.59 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.24, allocations: 8.031 kB / 418.1 MB, free: 8.582 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001294/0.2401, allocations: 76.12 kB / 418.2 MB, free: 8.508 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007884/0.2409, allocations: 434.8 kB / 418.6 MB, free: 8.043 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.623e-05/0.241, allocations: 63.25 kB / 418.7 MB, free: 7.977 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.871e-05/0.2411, allocations: 36.38 kB / 418.7 MB, free: 7.941 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008393/0.242, allocations: 0.5099 MB / 419.2 MB, free: 7.375 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/0.242, allocations: 0 / 419.2 MB, free: 7.375 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.901e-05/0.242, allocations: 20 kB / 419.3 MB, free: 7.355 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.977e-06/0.242, allocations: 8 kB / 419.3 MB, free: 7.348 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008354/0.2429, allocations: 343.8 kB / 419.6 MB, free: 7.012 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.002077/0.245, allocations: 1.339 MB / 421 MB, free: 5.578 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008947/0.2459, allocations: 448.5 kB / 421.4 MB, free: 5.109 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004251/0.2463, allocations: 196.3 kB / 421.6 MB, free: 4.918 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.867e-05/0.2464, allocations: 11.98 kB / 421.6 MB, free: 4.906 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.536e-05/0.2464, allocations: 42.31 kB / 421.6 MB, free: 4.855 MB / 334.1 MB Notification: Performance of pre-optimization done (n=37): time 1.673e-06/0.2464, allocations: 0 / 421.6 MB, free: 4.855 MB / 334.1 MB Notification: Performance of matching and sorting (n=37): time 0.001592/0.248, allocations: 0.7433 MB / 422.4 MB, free: 4.062 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001715/0.2482, allocations: 444.9 kB / 422.8 MB, free: 3.523 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005073/0.2487, allocations: 482 kB / 423.3 MB, free: 3.039 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.032e-05/0.2487, allocations: 33.7 kB / 423.3 MB, free: 3 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001709/0.2489, allocations: 244.5 kB / 423.6 MB, free: 2.758 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.422e-05/0.249, allocations: 130 kB / 423.7 MB, free: 2.629 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001375/0.2492, allocations: 81.66 kB / 423.8 MB, free: 2.543 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001296/0.2493, allocations: 358.8 kB / 424.1 MB, free: 2.184 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003805/0.2497, allocations: 147.9 kB / 424.3 MB, free: 2.039 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004894/0.2502, allocations: 294.4 kB / 424.5 MB, free: 1.699 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007766/0.251, allocations: 350.6 kB / 424.9 MB, free: 1.344 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.251, allocations: 0 / 424.9 MB, free: 1.344 MB / 334.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001022/0.252, allocations: 499.8 kB / 425.4 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.225e-05/0.2521, allocations: 36.52 kB / 425.4 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.2521, allocations: 0 / 425.4 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001659/0.2522, allocations: 53.64 kB / 425.5 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004349/0.2527, allocations: 87.88 kB / 425.5 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002355/0.255, allocations: 2.965 MB / 428.5 MB, free: 13.41 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004137/0.2555, allocations: 59.61 kB / 428.6 MB, free: 13.35 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.996e-05/0.2555, allocations: 12 kB / 428.6 MB, free: 13.34 MB / 350.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.0002022/0.2557, allocations: 177.7 kB / 428.8 MB, free: 13.16 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.799e-05/0.2558, allocations: 51.67 kB / 428.8 MB, free: 13.11 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.83e-05/0.2559, allocations: 56.92 kB / 428.9 MB, free: 13.05 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.2559, allocations: 7.984 kB / 428.9 MB, free: 13.04 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.2559, allocations: 3.938 kB / 428.9 MB, free: 13.04 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001011/0.257, allocations: 0.7437 MB / 429.6 MB, free: 12.19 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001635/0.2586, allocations: 1.036 MB / 430.7 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.2586, allocations: 3.938 kB / 430.7 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004616/0.2591, allocations: 95.86 kB / 430.8 MB, free: 10.99 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.2591, allocations: 0 / 430.8 MB, free: 10.99 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.597e-05/0.2591, allocations: 8 kB / 430.8 MB, free: 10.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.2591, allocations: 0 / 430.8 MB, free: 10.98 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.2591, allocations: 0 / 430.8 MB, free: 10.98 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001303/0.2605, allocations: 0.676 MB / 431.4 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002003/0.2607, allocations: 184.3 kB / 431.6 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.27e-05/0.2607, allocations: 8 kB / 431.6 MB, free: 10.08 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003906/0.2611, allocations: 31.91 kB / 431.7 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.355e-05/0.2612, allocations: 23.97 kB / 431.7 MB, free: 10.03 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.197e-05/0.2612, allocations: 12 kB / 431.7 MB, free: 10.02 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003577/0.2616, allocations: 338.9 kB / 432 MB, free: 9.688 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2616, allocations: 0 / 432 MB, free: 9.688 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004228/0.262, allocations: 139.8 kB / 432.2 MB, free: 9.551 MB / 350.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.0001299/0.2622, allocations: 119.2 kB / 432.3 MB, free: 9.426 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001186/0.2634, allocations: 0.6371 MB / 432.9 MB, free: 8.75 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.2634, allocations: 8.062 kB / 432.9 MB, free: 8.742 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004178/0.2638, allocations: 183.8 kB / 433.1 MB, free: 8.562 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000649/0.2645, allocations: 144.2 kB / 433.2 MB, free: 8.418 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001532/0.266, allocations: 0.9579 MB / 434.2 MB, free: 7.434 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003667/0.2664, allocations: 0.8314 MB / 435 MB, free: 6.574 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002416/0.2666, allocations: 72.52 kB / 435.1 MB, free: 6.5 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001309/0.2668, allocations: 43.44 kB / 435.1 MB, free: 6.457 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2668, allocations: 0 / 435.1 MB, free: 6.457 MB / 350.1 MB Notification: Performance of Templates: time 0.01519/0.282, allocations: 9.335 MB / 444.5 MB, free: 13.27 MB / 366.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","/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