Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.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.ParallelPumpDropOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001485/0.001485, allocations: 114.8 kB / 18.41 MB, free: 4.562 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001758/0.001758, allocations: 208.5 kB / 19.36 MB, free: 3.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.37/1.37, allocations: 227.4 MB / 247.5 MB, free: 10.34 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00233/0.00233, allocations: 60.28 kB / 308.4 MB, free: 15.86 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1021/0.1045, allocations: 50.53 MB / 358.9 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut): time 0.006245/0.1107, allocations: 5.196 MB / 364.1 MB, free: 8.094 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002645/0.1134, allocations: 1.371 MB / 365.5 MB, free: 6.715 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000603/0.114, allocations: 8 kB / 365.5 MB, free: 6.707 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005495/0.1146, allocations: 170.5 kB / 365.6 MB, free: 6.539 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001046/0.1157, allocations: 329.1 kB / 366 MB, free: 6.215 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006137/0.1163, allocations: 247.6 kB / 366.2 MB, free: 5.973 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001574/0.1179, allocations: 1.222 MB / 367.4 MB, free: 4.746 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005498/0.1185, allocations: 346.1 kB / 367.8 MB, free: 4.395 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007088/0.1192, allocations: 478.3 kB / 368.2 MB, free: 3.926 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008143/0.12, allocations: 0.5213 MB / 368.8 MB, free: 3.402 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000255/0.1203, allocations: 112 kB / 368.9 MB, free: 3.293 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003034/0.1206, allocations: 108 kB / 369 MB, free: 3.188 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002428/0.1208, allocations: 231.2 kB / 369.2 MB, free: 2.961 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006914/0.1215, allocations: 0.5405 MB / 369.7 MB, free: 2.418 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00116/0.1227, allocations: 1.254 MB / 371 MB, free: 1.16 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.471e-06/0.1227, allocations: 0 / 371 MB, free: 1.16 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.634e-06/0.1227, allocations: 0 / 371 MB, free: 1.16 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.721e-05/0.1228, allocations: 0 / 371 MB, free: 1.16 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: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.1537/0.2765, allocations: 1.39 MB / 372.4 MB, free: 20.66 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.2766, allocations: 12.5 kB / 372.4 MB, free: 20.66 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001923/0.2768, allocations: 113.5 kB / 372.5 MB, free: 20.61 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009491/0.2777, allocations: 0.5973 MB / 373.1 MB, free: 20.2 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001711/0.2779, allocations: 150.2 kB / 373.3 MB, free: 20.08 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.872e-05/0.278, allocations: 65.03 kB / 373.3 MB, free: 20.06 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001319/0.2793, allocations: 0.8891 MB / 374.2 MB, free: 19.53 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.856e-05/0.2794, allocations: 4.594 kB / 374.2 MB, free: 19.52 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.896e-05/0.2794, allocations: 29.53 kB / 374.2 MB, free: 19.5 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.741e-05/0.2794, allocations: 14.44 kB / 374.3 MB, free: 19.5 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001351/0.2808, allocations: 0.6296 MB / 374.9 MB, free: 19.31 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.003072/0.2839, allocations: 2.165 MB / 377 MB, free: 18.09 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001459/0.2854, allocations: 1.01 MB / 378.1 MB, free: 17.52 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007441/0.2861, allocations: 413.7 kB / 378.5 MB, free: 17.37 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.496e-05/0.2862, allocations: 19.03 kB / 378.5 MB, free: 17.36 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.28e-05/0.2862, allocations: 54.83 kB / 378.5 MB, free: 17.31 MB / 302.1 MB Notification: Performance of pre-optimization done (n=77): time 2.184e-06/0.2862, allocations: 0 / 378.5 MB, free: 17.31 MB / 302.1 MB Notification: Performance of matching and sorting (n=77): time 0.004626/0.2909, allocations: 1.823 MB / 380.4 MB, free: 16.48 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001192/0.291, allocations: 0.8258 MB / 381.2 MB, free: 15.47 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006892/0.2917, allocations: 0.6735 MB / 381.9 MB, free: 15.17 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.823e-05/0.2917, allocations: 45.45 kB / 381.9 MB, free: 15.12 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001909/0.2919, allocations: 349.7 kB / 382.2 MB, free: 14.85 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001368/0.2921, allocations: 265.2 kB / 382.5 MB, free: 14.64 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002162/0.2923, allocations: 151.6 kB / 382.6 MB, free: 14.57 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.999e-05/0.2924, allocations: 333 kB / 383 MB, free: 14.25 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006224/0.293, allocations: 285.6 kB / 383.3 MB, free: 14.16 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007749/0.2938, allocations: 0.5575 MB / 383.8 MB, free: 13.75 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001235/0.295, allocations: 0.7058 MB / 384.5 MB, free: 13.38 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.295, allocations: 0 / 384.5 MB, free: 13.38 MB / 302.1 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002422/0.2975, allocations: 1.122 MB / 385.6 MB, free: 12.88 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.625e-05/0.2975, allocations: 84.97 kB / 385.7 MB, free: 12.79 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.774e-06/0.2975, allocations: 1.672 kB / 385.7 MB, free: 12.79 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006471/0.2982, allocations: 232.9 kB / 386 MB, free: 12.7 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006455/0.2988, allocations: 147 kB / 386.1 MB, free: 12.69 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006144/0.305, allocations: 6.929 MB / 393 MB, free: 6.402 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008658/0.3059, allocations: 108.2 kB / 393.1 MB, free: 6.352 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.705e-05/0.3059, allocations: 23.5 kB / 393.2 MB, free: 6.348 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (73): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(3,3), (1,3), (1,7), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003023/0.3062, allocations: 223.5 kB / 393.4 MB, free: 6.168 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000135/0.3064, allocations: 94.16 kB / 393.5 MB, free: 6.121 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001711/0.3066, allocations: 100.9 kB / 393.6 MB, free: 6.047 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.665e-06/0.3066, allocations: 8.594 kB / 393.6 MB, free: 6.047 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.417e-06/0.3066, allocations: 0 / 393.6 MB, free: 6.047 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002307/0.3089, allocations: 1.271 MB / 394.8 MB, free: 5.234 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0034/0.3123, allocations: 1.983 MB / 396.8 MB, free: 4.012 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.3123, allocations: 1.375 kB / 396.8 MB, free: 4.012 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006873/0.313, allocations: 145.8 kB / 397 MB, free: 3.977 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004876/0.3135, allocations: 206 kB / 397.2 MB, free: 3.867 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.926e-05/0.3136, allocations: 11.81 kB / 397.2 MB, free: 3.859 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005359/0.319, allocations: 5.344 MB / 402.5 MB, free: 14.8 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.247e-06/0.319, allocations: 5.25 kB / 402.5 MB, free: 14.8 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003364/0.3223, allocations: 1.444 MB / 404 MB, free: 14 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004167/0.3228, allocations: 243.1 kB / 404.2 MB, free: 13.78 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001208/0.3229, allocations: 27.47 kB / 404.2 MB, free: 13.76 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006355/0.3236, allocations: 50.67 kB / 404.3 MB, free: 13.73 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001657/0.3237, allocations: 64.41 kB / 404.3 MB, free: 13.7 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.585e-05/0.3238, allocations: 25.27 kB / 404.4 MB, free: 13.68 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0005262/0.3243, allocations: 474.3 kB / 404.8 MB, free: 13.42 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.3243, allocations: 0 / 404.8 MB, free: 13.42 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007815/0.3251, allocations: 288 kB / 405.1 MB, free: 13.38 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (pipe1.T,pipe2.T,pipe3.T,heatCapacitor1.T,heatCapacitor2.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 (65): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,3), (1,3), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001697/0.3253, allocations: 126.8 kB / 405.2 MB, free: 13.27 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00208/0.3274, allocations: 1.379 MB / 406.6 MB, free: 12.24 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.3274, allocations: 3.938 kB / 406.6 MB, free: 12.24 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001283/0.3287, allocations: 0.7804 MB / 407.4 MB, free: 11.68 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009442/0.3296, allocations: 237.1 kB / 407.6 MB, free: 11.46 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002603/0.3323, allocations: 1.666 MB / 409.3 MB, free: 9.789 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004809/0.3327, allocations: 0.9558 MB / 410.3 MB, free: 8.805 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003872/0.3331, allocations: 102.7 kB / 410.4 MB, free: 8.699 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001721/0.3333, allocations: 71.42 kB / 410.4 MB, free: 8.633 MB / 318.1 MB Notification: Performance of SimCode: time 3.6e-07/0.3333, allocations: 0 / 410.4 MB, free: 8.633 MB / 318.1 MB Notification: Performance of Templates: time 0.02874/0.3621, allocations: 18.7 MB / 429.1 MB, free: 6.211 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.makefile (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.sim & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/ParallelPumpDropOut/ParallelPumpDropOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches