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.001464/0.001464, allocations: 109.2 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002015/0.002015, allocations: 209.7 kB / 18.79 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.395/1.395, allocations: 227.4 MB / 246.9 MB, free: 8.996 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001369/0.001369, allocations: 66.64 kB / 306.9 MB, free: 0.7969 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.1031, allocations: 50.53 MB / 357.4 MB, free: 14.26 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut): time 0.006927/0.11, allocations: 5.219 MB / 362.7 MB, free: 9.008 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002888/0.113, allocations: 1.367 MB / 364 MB, free: 7.633 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007032/0.1137, allocations: 15.88 kB / 364 MB, free: 7.617 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006005/0.1144, allocations: 135 kB / 364.2 MB, free: 7.484 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001049/0.1154, allocations: 293.7 kB / 364.5 MB, free: 7.195 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005708/0.116, allocations: 207.8 kB / 364.7 MB, free: 6.992 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001518/0.1176, allocations: 1.168 MB / 365.8 MB, free: 5.816 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004661/0.118, allocations: 303.1 kB / 366.1 MB, free: 5.504 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006322/0.1187, allocations: 438.3 kB / 366.6 MB, free: 5.074 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007315/0.1194, allocations: 0.5017 MB / 367.1 MB, free: 4.57 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001903/0.1196, allocations: 76 kB / 367.1 MB, free: 4.496 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002288/0.1199, allocations: 76 kB / 367.2 MB, free: 4.422 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001733/0.12, allocations: 207.2 kB / 367.4 MB, free: 4.219 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004913/0.1205, allocations: 0.5093 MB / 367.9 MB, free: 3.707 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007634/0.1213, allocations: 0.9352 MB / 368.9 MB, free: 2.77 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.1213, allocations: 0 / 368.9 MB, free: 2.77 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1213, allocations: 4 kB / 368.9 MB, free: 2.766 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.543e-05/0.1214, allocations: 0 / 368.9 MB, free: 2.766 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.002475/0.1238, allocations: 1.391 MB / 370.2 MB, free: 1.301 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/0.1239, allocations: 8.031 kB / 370.3 MB, free: 1.293 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002003/0.1241, allocations: 111.7 kB / 370.4 MB, free: 1.184 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008607/0.125, allocations: 0.5871 MB / 371 MB, free: 0.5547 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003038/0.1253, allocations: 174.9 kB / 371.1 MB, free: 376 kB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001063/0.1254, allocations: 60.38 kB / 371.2 MB, free: 316 kB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1601/0.2855, allocations: 0.8968 MB / 372.1 MB, free: 19.46 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.301e-05/0.2855, allocations: 1.062 kB / 372.1 MB, free: 19.46 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001251/0.2857, allocations: 30.48 kB / 372.1 MB, free: 19.46 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.901e-05/0.2857, allocations: 13.75 kB / 372.1 MB, free: 19.46 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001765/0.2875, allocations: 0.6523 MB / 372.8 MB, free: 19.46 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.003956/0.2915, allocations: 2.185 MB / 375 MB, free: 18.4 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001799/0.2933, allocations: 1.022 MB / 376 MB, free: 17.84 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008313/0.2941, allocations: 432.3 kB / 376.4 MB, free: 17.68 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.42e-05/0.2942, allocations: 14.22 kB / 376.4 MB, free: 17.67 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.979e-05/0.2942, allocations: 54.09 kB / 376.5 MB, free: 17.62 MB / 302.1 MB Notification: Performance of pre-optimization done (n=77): time 3.096e-06/0.2942, allocations: 0 / 376.5 MB, free: 17.62 MB / 302.1 MB Notification: Performance of matching and sorting (n=77): time 0.006683/0.3009, allocations: 1.871 MB / 378.3 MB, free: 16.79 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000218/0.3012, allocations: 0.8223 MB / 379.2 MB, free: 15.78 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00146/0.3026, allocations: 0.6686 MB / 379.8 MB, free: 15.48 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001328/0.3028, allocations: 44.48 kB / 379.9 MB, free: 15.44 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000353/0.3032, allocations: 355.3 kB / 380.2 MB, free: 15.18 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002743/0.3034, allocations: 265.9 kB / 380.5 MB, free: 14.98 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004143/0.3039, allocations: 146.2 kB / 380.6 MB, free: 14.91 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.744e-05/0.304, allocations: 333.6 kB / 381 MB, free: 14.59 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001214/0.3052, allocations: 296.5 kB / 381.2 MB, free: 14.5 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001491/0.3067, allocations: 0.5818 MB / 381.8 MB, free: 14.08 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002313/0.309, allocations: 0.7243 MB / 382.5 MB, free: 13.72 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.041e-06/0.3091, allocations: 0 / 382.5 MB, free: 13.72 MB / 302.1 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.004553/0.3136, allocations: 1.148 MB / 383.7 MB, free: 13.21 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.167e-05/0.3137, allocations: 89.28 kB / 383.8 MB, free: 13.12 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.348e-05/0.3137, allocations: 3.578 kB / 383.8 MB, free: 13.12 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001003/0.3148, allocations: 243.3 kB / 384 MB, free: 13.03 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001102/0.3159, allocations: 155.9 kB / 384.2 MB, free: 13.01 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009655/0.3255, allocations: 6.363 MB / 390.5 MB, free: 7.242 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001544/0.3271, allocations: 119.3 kB / 390.7 MB, free: 7.191 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001655/0.3273, allocations: 23.44 kB / 390.7 MB, free: 7.188 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.000638/0.328, allocations: 230.6 kB / 390.9 MB, free: 7 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003415/0.3283, allocations: 94.53 kB / 391 MB, free: 6.953 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002732/0.3286, allocations: 94.59 kB / 391.1 MB, free: 6.879 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-05/0.3286, allocations: 7.531 kB / 391.1 MB, free: 6.879 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.396e-05/0.3286, allocations: 0.9375 kB / 391.1 MB, free: 6.879 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004092/0.3327, allocations: 1.29 MB / 392.4 MB, free: 6.066 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006452/0.3392, allocations: 2.019 MB / 394.4 MB, free: 5.012 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.554e-06/0.3393, allocations: 0 / 394.4 MB, free: 5.012 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001187/0.3405, allocations: 156.4 kB / 394.6 MB, free: 4.973 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007564/0.3412, allocations: 202.9 kB / 394.8 MB, free: 4.867 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.331e-05/0.3413, allocations: 16.2 kB / 394.8 MB, free: 4.855 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007644/0.349, allocations: 4.905 MB / 399.7 MB, free: 224 kB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.349, allocations: 4.125 kB / 399.7 MB, free: 220 kB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004948/0.354, allocations: 1.493 MB / 401.2 MB, free: 15.42 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005353/0.3546, allocations: 246.4 kB / 401.4 MB, free: 15.2 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001382/0.3547, allocations: 20.19 kB / 401.4 MB, free: 15.18 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007219/0.3554, allocations: 65.81 kB / 401.5 MB, free: 15.15 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002254/0.3557, allocations: 63.47 kB / 401.6 MB, free: 15.11 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.908e-05/0.3557, allocations: 20.89 kB / 401.6 MB, free: 15.11 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0006367/0.3564, allocations: 476.9 kB / 402 MB, free: 14.84 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3564, allocations: 0 / 402 MB, free: 14.84 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009914/0.3574, allocations: 292.4 kB / 402.3 MB, free: 14.79 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.000185/0.3576, allocations: 127.4 kB / 402.5 MB, free: 14.68 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002541/0.3601, allocations: 1.391 MB / 403.8 MB, free: 13.66 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 7.654e-06/0.3602, allocations: 5.75 kB / 403.9 MB, free: 13.66 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001464/0.3616, allocations: 0.7987 MB / 404.7 MB, free: 13.09 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001081/0.3627, allocations: 228.1 kB / 404.9 MB, free: 12.97 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002915/0.3656, allocations: 1.979 MB / 406.9 MB, free: 11.6 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000475/0.3661, allocations: 0.9516 MB / 407.8 MB, free: 10.8 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002519/0.3664, allocations: 75.11 kB / 407.9 MB, free: 10.79 MB / 318.1 MB Notification: Performance of SimCode: time 7.72e-07/0.3664, allocations: 0 / 407.9 MB, free: 10.79 MB / 318.1 MB Notification: Performance of Templates: time 0.0265/0.3929, allocations: 23.44 MB / 431.3 MB, free: 3.465 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