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.001941/0.001941, allocations: 107.4 kB / 17.98 MB, free: 5.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002216/0.002216, allocations: 209.8 kB / 18.92 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.422/1.422, allocations: 227.4 MB / 247.1 MB, free: 10.77 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 60.94 kB / 307.1 MB, free: 0.9531 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.1087, allocations: 50.53 MB / 357.6 MB, free: 14.43 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut): time 0.006293/0.115, allocations: 5.223 MB / 362.9 MB, free: 9.176 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002585/0.1176, allocations: 1.351 MB / 364.2 MB, free: 7.816 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005617/0.1182, allocations: 11.94 kB / 364.2 MB, free: 7.805 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005171/0.1188, allocations: 135.1 kB / 364.3 MB, free: 7.672 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008689/0.1197, allocations: 293.7 kB / 364.6 MB, free: 7.383 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005197/0.1202, allocations: 215.7 kB / 364.8 MB, free: 7.172 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001475/0.1217, allocations: 1.211 MB / 366.1 MB, free: 5.953 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005141/0.1222, allocations: 346.4 kB / 366.4 MB, free: 5.605 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006311/0.1229, allocations: 478.3 kB / 366.9 MB, free: 5.137 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006604/0.1235, allocations: 0.5252 MB / 367.4 MB, free: 4.609 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002346/0.1238, allocations: 112 kB / 367.5 MB, free: 4.5 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002361/0.124, allocations: 108 kB / 367.6 MB, free: 4.395 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002128/0.1242, allocations: 243.1 kB / 367.8 MB, free: 4.156 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000625/0.1249, allocations: 0.5405 MB / 368.4 MB, free: 3.613 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008698/0.1257, allocations: 0.9469 MB / 369.3 MB, free: 2.664 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.1258, allocations: 0 / 369.3 MB, free: 2.664 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.1258, allocations: 0 / 369.3 MB, free: 2.664 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.423e-05/0.1258, allocations: 0 / 369.3 MB, free: 2.664 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.002727/0.1285, allocations: 1.387 MB / 370.7 MB, free: 1.203 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.1286, allocations: 12.03 kB / 370.7 MB, free: 1.191 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002134/0.1288, allocations: 115.7 kB / 370.8 MB, free: 1.078 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009069/0.1297, allocations: 0.5909 MB / 371.4 MB, free: 460 kB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003074/0.13, allocations: 170.9 kB / 371.6 MB, free: 272 kB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001032/0.1302, allocations: 56.38 kB / 371.7 MB, free: 216 kB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1547/0.2849, allocations: 0.8958 MB / 372.5 MB, free: 19.73 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.211e-05/0.2849, allocations: 3.438 kB / 372.5 MB, free: 19.73 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.202e-05/0.285, allocations: 28.84 kB / 372.6 MB, free: 19.73 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.802e-05/0.285, allocations: 14.34 kB / 372.6 MB, free: 19.73 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001503/0.2866, allocations: 0.6557 MB / 373.2 MB, free: 19.73 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.003374/0.2899, allocations: 2.182 MB / 375.4 MB, free: 18.64 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001606/0.2916, allocations: 1.017 MB / 376.4 MB, free: 18.07 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007955/0.2924, allocations: 429.1 kB / 376.9 MB, free: 17.91 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.442e-05/0.2924, allocations: 19.11 kB / 376.9 MB, free: 17.91 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.074e-05/0.2925, allocations: 51.12 kB / 376.9 MB, free: 17.86 MB / 302.1 MB Notification: Performance of pre-optimization done (n=77): time 2.615e-06/0.2925, allocations: 4 kB / 376.9 MB, free: 17.85 MB / 302.1 MB Notification: Performance of matching and sorting (n=77): time 0.005013/0.2975, allocations: 1.875 MB / 378.8 MB, free: 17.02 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001859/0.2977, allocations: 0.8228 MB / 379.6 MB, free: 16.01 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007511/0.2985, allocations: 0.6611 MB / 380.3 MB, free: 15.72 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 7.376e-05/0.2986, allocations: 45.48 kB / 380.3 MB, free: 15.68 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002011/0.2988, allocations: 351 kB / 380.7 MB, free: 15.42 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001566/0.2989, allocations: 266.1 kB / 380.9 MB, free: 15.22 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002274/0.2992, allocations: 151.1 kB / 381.1 MB, free: 15.14 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.022e-05/0.2992, allocations: 336.2 kB / 381.4 MB, free: 14.83 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006438/0.2999, allocations: 296.5 kB / 381.7 MB, free: 14.73 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008331/0.3007, allocations: 0.5879 MB / 382.3 MB, free: 14.32 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001313/0.302, allocations: 0.7237 MB / 383 MB, free: 13.95 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.3021, allocations: 0 / 383 MB, free: 13.95 MB / 302.1 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002599/0.3047, allocations: 1.148 MB / 384.2 MB, free: 13.45 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.387e-05/0.3047, allocations: 89.48 kB / 384.3 MB, free: 13.35 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.762e-06/0.3047, allocations: 0 / 384.3 MB, free: 13.35 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006548/0.3054, allocations: 240.8 kB / 384.5 MB, free: 13.26 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006891/0.3061, allocations: 153.2 kB / 384.6 MB, free: 13.25 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006391/0.3125, allocations: 6.929 MB / 391.6 MB, free: 6.965 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009464/0.3135, allocations: 117 kB / 391.7 MB, free: 6.914 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.829e-05/0.3135, allocations: 25.97 kB / 391.7 MB, free: 6.906 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.0003452/0.3139, allocations: 227.2 kB / 391.9 MB, free: 6.723 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001467/0.314, allocations: 91.62 kB / 392 MB, free: 6.68 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001721/0.3142, allocations: 98.72 kB / 392.1 MB, free: 6.602 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.112e-06/0.3142, allocations: 6.781 kB / 392.1 MB, free: 6.602 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.171e-05/0.3142, allocations: 4.844 kB / 392.1 MB, free: 6.602 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002407/0.3167, allocations: 1.292 MB / 393.4 MB, free: 5.789 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003584/0.3203, allocations: 2.015 MB / 395.4 MB, free: 4.68 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.3203, allocations: 0 / 395.4 MB, free: 4.68 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007402/0.321, allocations: 158.6 kB / 395.6 MB, free: 4.637 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004948/0.3215, allocations: 200 kB / 395.8 MB, free: 4.531 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.884e-05/0.3216, allocations: 12 kB / 395.8 MB, free: 4.523 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005233/0.3268, allocations: 5.362 MB / 401.2 MB, free: 15.46 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.3269, allocations: 0 / 401.2 MB, free: 15.46 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003463/0.3303, allocations: 1.48 MB / 402.6 MB, free: 14.65 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004587/0.3308, allocations: 252.5 kB / 402.9 MB, free: 14.42 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001267/0.3309, allocations: 24.16 kB / 402.9 MB, free: 14.4 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006954/0.3316, allocations: 57.09 kB / 403 MB, free: 14.38 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001898/0.3318, allocations: 67.03 kB / 403 MB, free: 14.34 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.604e-05/0.3319, allocations: 21.66 kB / 403.1 MB, free: 14.33 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0006137/0.3325, allocations: 485.8 kB / 403.5 MB, free: 14.05 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3325, allocations: 0 / 403.5 MB, free: 14.05 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009287/0.3335, allocations: 283.3 kB / 403.8 MB, free: 14.02 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.0001703/0.3336, allocations: 125.2 kB / 403.9 MB, free: 13.91 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002562/0.3362, allocations: 1.428 MB / 405.4 MB, free: 12.87 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.3362, allocations: 0 / 405.4 MB, free: 12.87 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001366/0.3376, allocations: 0.8017 MB / 406.2 MB, free: 12.29 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001013/0.3386, allocations: 248.6 kB / 406.4 MB, free: 12.15 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002919/0.3416, allocations: 1.967 MB / 408.4 MB, free: 10.64 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000498/0.3421, allocations: 0.952 MB / 409.3 MB, free: 9.668 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002317/0.3423, allocations: 75.42 kB / 409.4 MB, free: 9.598 MB / 318.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3423, allocations: 0 / 409.4 MB, free: 9.598 MB / 318.1 MB Notification: Performance of Templates: time 0.02555/0.3679, allocations: 23.45 MB / 432.8 MB, free: 2.234 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 -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