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: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001081/0.001081, allocations: 106.6 kB / 17.73 MB, free: 5.348 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.001099/0.001099, allocations: 191 kB / 18.67 MB, free: 4.414 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.273/1.273, allocations: 205.1 MB / 224.5 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.001129/0.001129, allocations: 47.94 kB / 328 MB, free: 3.824 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07825/0.07939, allocations: 46.62 MB / 374.6 MB, free: 5.094 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.00507/0.0845, allocations: 3.736 MB / 378.4 MB, free: 1.336 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001871/0.08639, allocations: 1.044 MB / 379.4 MB, free: 288 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004153/0.08684, allocations: 7.938 kB / 379.4 MB, free: 280 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004716/0.08735, allocations: 111 kB / 379.5 MB, free: 168 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.1552/0.2426, allocations: 197.2 kB / 379.7 MB, free: 9.367 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006067/0.2432, allocations: 137.7 kB / 379.9 MB, free: 9.367 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001113/0.2444, allocations: 0.7036 MB / 380.6 MB, free: 9.367 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003618/0.2448, allocations: 208.1 kB / 380.8 MB, free: 9.344 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003238/0.2451, allocations: 268.1 kB / 381 MB, free: 9.305 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000359/0.2455, allocations: 303.7 kB / 381.3 MB, free: 9.242 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.693e-05/0.2456, allocations: 58.91 kB / 381.4 MB, free: 9.242 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001454/0.2457, allocations: 62.38 kB / 381.4 MB, free: 9.242 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001206/0.2458, allocations: 133.5 kB / 381.6 MB, free: 9.219 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000296/0.2462, allocations: 328.6 kB / 381.9 MB, free: 9.133 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000906/0.2471, allocations: 0.7102 MB / 382.6 MB, free: 9.027 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.2471, allocations: 1.5 kB / 382.6 MB, free: 9.027 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2471, allocations: 3.094 kB / 382.6 MB, free: 9.027 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.796e-05/0.2471, allocations: 0 / 382.6 MB, free: 9.027 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.001474/0.2486, allocations: 0.9172 MB / 383.5 MB, free: 8.43 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.2486, allocations: 9.812 kB / 383.5 MB, free: 8.43 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001234/0.2488, allocations: 78.62 kB / 383.6 MB, free: 8.387 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001121/0.2489, allocations: 67.78 kB / 383.7 MB, free: 8.355 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006396/0.2495, allocations: 448.9 kB / 384.1 MB, free: 8.09 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.467e-05/0.2496, allocations: 61.47 kB / 384.2 MB, free: 8.059 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.528e-05/0.2497, allocations: 32.22 kB / 384.2 MB, free: 8.059 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007878/0.2505, allocations: 0.5149 MB / 384.7 MB, free: 7.871 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.768e-05/0.2505, allocations: 0 / 384.7 MB, free: 7.871 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.43e-05/0.2506, allocations: 20.88 kB / 384.7 MB, free: 7.871 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.179e-05/0.2506, allocations: 8.844 kB / 384.8 MB, free: 7.871 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008275/0.2514, allocations: 356.8 kB / 385.1 MB, free: 7.824 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.00208/0.2535, allocations: 1.356 MB / 386.5 MB, free: 6.988 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008842/0.2544, allocations: 454.5 kB / 386.9 MB, free: 6.754 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004076/0.2548, allocations: 196.4 kB / 387.1 MB, free: 6.68 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.921e-05/0.2549, allocations: 5.781 kB / 387.1 MB, free: 6.68 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.688e-05/0.2549, allocations: 44.84 kB / 387.1 MB, free: 6.633 MB / 318.1 MB Notification: Performance of pre-optimization done (n=37): time 2.064e-06/0.2549, allocations: 0 / 387.1 MB, free: 6.633 MB / 318.1 MB Notification: Performance of matching and sorting (n=37): time 0.001551/0.2565, allocations: 0.7401 MB / 387.9 MB, free: 6.211 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.783e-05/0.2566, allocations: 453.7 kB / 388.3 MB, free: 5.672 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005284/0.2571, allocations: 475.6 kB / 388.8 MB, free: 5.441 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.854e-05/0.2572, allocations: 39.73 kB / 388.8 MB, free: 5.402 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001549/0.2573, allocations: 247.2 kB / 389.1 MB, free: 5.203 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.472e-05/0.2574, allocations: 127.3 kB / 389.2 MB, free: 5.105 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001345/0.2576, allocations: 82.3 kB / 389.3 MB, free: 5.059 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.715e-05/0.2577, allocations: 356.8 kB / 389.6 MB, free: 4.727 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003761/0.258, allocations: 145.5 kB / 389.8 MB, free: 4.68 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004572/0.2585, allocations: 290.1 kB / 390 MB, free: 4.473 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006951/0.2592, allocations: 347 kB / 390.4 MB, free: 4.309 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.624e-06/0.2592, allocations: 0 / 390.4 MB, free: 4.309 MB / 318.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009382/0.2602, allocations: 0.4939 MB / 390.9 MB, free: 4.066 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.801e-05/0.2602, allocations: 32.19 kB / 390.9 MB, free: 4.035 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.2602, allocations: 1.125 kB / 390.9 MB, free: 4.035 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001558/0.2604, allocations: 59 kB / 391 MB, free: 4 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004074/0.2608, allocations: 83.75 kB / 391.1 MB, free: 3.996 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001813/0.2626, allocations: 2.965 MB / 394 MB, free: 1.074 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004469/0.2631, allocations: 59.12 kB / 394.1 MB, free: 1.047 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.986e-05/0.2631, allocations: 13.56 kB / 394.1 MB, free: 1.043 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.2633, allocations: 177.9 kB / 394.3 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.482e-05/0.2634, allocations: 55.59 kB / 394.3 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.744e-05/0.2635, allocations: 63.39 kB / 394.4 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-06/0.2635, allocations: 3.344 kB / 394.4 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.2635, allocations: 3.938 kB / 394.4 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007724/0.2643, allocations: 0.7405 MB / 395.1 MB, free: 188 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00173/0.266, allocations: 1.05 MB / 396.2 MB, free: 15.57 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.2661, allocations: 0 / 396.2 MB, free: 15.57 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004542/0.2665, allocations: 91.91 kB / 396.3 MB, free: 15.57 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.2665, allocations: 5.344 kB / 396.3 MB, free: 15.56 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.554e-05/0.2666, allocations: 7.125 kB / 396.3 MB, free: 15.56 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.2666, allocations: 1.891 kB / 396.3 MB, free: 15.56 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.2666, allocations: 1.281 kB / 396.3 MB, free: 15.56 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001274/0.2679, allocations: 0.6717 MB / 397 MB, free: 15.21 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000211/0.2681, allocations: 173 kB / 397.1 MB, free: 15.06 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.206e-05/0.2682, allocations: 10.12 kB / 397.1 MB, free: 15.06 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003649/0.2685, allocations: 30.41 kB / 397.2 MB, free: 15.05 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.594e-05/0.2686, allocations: 28.34 kB / 397.2 MB, free: 15.04 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.054e-05/0.2686, allocations: 7.203 kB / 397.2 MB, free: 15.04 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004163/0.2691, allocations: 344.2 kB / 397.5 MB, free: 14.88 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2691, allocations: 0.8438 kB / 397.5 MB, free: 14.88 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004688/0.2695, allocations: 139.9 kB / 397.7 MB, free: 14.86 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.001532/0.2711, allocations: 1.226 MB / 398.9 MB, free: 13.98 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001181/0.2723, allocations: 0.6475 MB / 399.5 MB, free: 13.57 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/0.2723, allocations: 2.188 kB / 399.5 MB, free: 13.57 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003836/0.2727, allocations: 191.5 kB / 399.7 MB, free: 13.51 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006507/0.2733, allocations: 148.9 kB / 399.9 MB, free: 13.45 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006621/0.28, allocations: 4.66 MB / 404.5 MB, free: 10.88 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000419/0.2804, allocations: 0.8327 MB / 405.4 MB, free: 10.17 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002974/0.2807, allocations: 70.41 kB / 405.4 MB, free: 10.15 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002538/0.281, allocations: 182 kB / 405.6 MB, free: 10.02 MB / 334.1 MB Notification: Performance of SimCode: time 6.62e-07/0.281, allocations: 0 / 405.6 MB, free: 10.02 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03825/0.3192, allocations: 14.29 MB / 419.9 MB, free: 404 kB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/11.73, allocations: 16.88 kB / 419.9 MB, free: 388 kB / 334.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut.fmu > 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