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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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_3.2.3_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_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000965/0.000965, allocations: 172.9 kB / 14.1 MB, free: 1.223 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.411/1.411, allocations: 205.2 MB / 219.8 MB, free: 14.2 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000939/0.000939, allocations: 82.7 kB / 268 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.23e-05/2.232e-05, allocations: 4 kB / 322.4 MB, free: 17.36 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07972/0.07976, allocations: 47.58 MB / 370 MB, free: 1.715 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3126/0.3925, allocations: 81.9 MB / 451.9 MB, free: 11.39 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002329/0.3927, allocations: 67.69 kB / 452 MB, free: 11.36 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02694/0.4197, allocations: 10.35 MB / 462.3 MB, free: 2.5 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.4197, allocations: 4 kB / 462.3 MB, free: 2.496 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.657e-05/0.4198, allocations: 8 kB / 462.3 MB, free: 2.488 MB / 330.7 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.001171/0.421, allocations: 0.7536 MB / 463.1 MB, free: 1.684 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/0.421, allocations: 12.03 kB / 463.1 MB, free: 1.672 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001595/0.4212, allocations: 75.23 kB / 463.2 MB, free: 1.598 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005708/0.4218, allocations: 385.8 kB / 463.6 MB, free: 1.18 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001018/0.4219, allocations: 62.78 kB / 463.6 MB, free: 1.113 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.361e-05/0.4219, allocations: 35.91 kB / 463.7 MB, free: 1.078 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006655/0.4226, allocations: 466.9 kB / 464.1 MB, free: 0.5625 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.487e-05/0.4226, allocations: 4 kB / 464.1 MB, free: 0.5586 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.12e-05/0.4227, allocations: 16 kB / 464.1 MB, free: 0.543 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.263e-05/0.4227, allocations: 8 kB / 464.1 MB, free: 0.5352 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004975/0.4232, allocations: 283.1 kB / 464.4 MB, free: 264 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002236/0.4255, allocations: 1.35 MB / 465.8 MB, free: 14.83 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007372/0.4262, allocations: 437.4 kB / 466.2 MB, free: 14.38 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000244/0.4265, allocations: 156.9 kB / 466.3 MB, free: 14.22 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.684e-05/0.4265, allocations: 11.98 kB / 466.4 MB, free: 14.21 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.886e-05/0.4266, allocations: 46.48 kB / 466.4 MB, free: 14.15 MB / 346.7 MB Notification: Performance of pre-optimization done (n=38): time 2.935e-06/0.4266, allocations: 0 / 466.4 MB, free: 14.15 MB / 346.7 MB Notification: Performance of matching and sorting (n=38): time 0.0007911/0.4274, allocations: 399.3 kB / 466.8 MB, free: 13.75 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001642/0.4275, allocations: 452.9 kB / 467.2 MB, free: 13.2 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004576/0.428, allocations: 411.9 kB / 467.6 MB, free: 12.79 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.848e-05/0.4281, allocations: 37.7 kB / 467.7 MB, free: 12.75 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001691/0.4282, allocations: 240.5 kB / 467.9 MB, free: 12.51 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001016/0.4283, allocations: 134 kB / 468 MB, free: 12.38 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.215e-05/0.4284, allocations: 12 kB / 468.1 MB, free: 12.37 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001291/0.4285, allocations: 358.8 kB / 468.4 MB, free: 12.01 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001988/0.4287, allocations: 112 kB / 468.5 MB, free: 11.9 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002969/0.429, allocations: 259 kB / 468.8 MB, free: 11.59 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002547/0.4293, allocations: 156.8 kB / 468.9 MB, free: 11.44 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.4293, allocations: 0 / 468.9 MB, free: 11.44 MB / 346.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0007344/0.4301, allocations: 464.1 kB / 469.4 MB, free: 10.96 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.883e-05/0.4301, allocations: 33.69 kB / 469.4 MB, free: 10.93 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.4301, allocations: 0 / 469.4 MB, free: 10.93 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002457/0.4304, allocations: 57.69 kB / 469.5 MB, free: 10.86 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004493/0.4308, allocations: 95.88 kB / 469.6 MB, free: 10.77 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002176/0.433, allocations: 2.732 MB / 472.3 MB, free: 7.766 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004532/0.4335, allocations: 71.61 kB / 472.4 MB, free: 7.695 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.166e-05/0.4336, allocations: 8 kB / 472.4 MB, free: 7.688 MB / 346.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {3 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001314/0.4337, allocations: 132.9 kB / 472.5 MB, free: 7.551 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.036e-05/0.4338, allocations: 55.44 kB / 472.5 MB, free: 7.496 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001462/0.4339, allocations: 57.05 kB / 472.6 MB, free: 7.441 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/0.434, allocations: 8 kB / 472.6 MB, free: 7.434 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.434, allocations: 3.953 kB / 472.6 MB, free: 7.43 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006225/0.4346, allocations: 0.6839 MB / 473.3 MB, free: 6.641 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001341/0.4359, allocations: 0.9928 MB / 474.3 MB, free: 5.586 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.436, allocations: 0 / 474.3 MB, free: 5.586 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004643/0.4364, allocations: 103.9 kB / 474.4 MB, free: 5.484 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.253e-06/0.4365, allocations: 7.953 kB / 474.4 MB, free: 5.477 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.487e-05/0.4365, allocations: 4 kB / 474.4 MB, free: 5.473 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.4365, allocations: 4 kB / 474.4 MB, free: 5.469 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.4365, allocations: 0 / 474.4 MB, free: 5.469 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008064/0.4373, allocations: 0.5772 MB / 475 MB, free: 4.871 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001965/0.4375, allocations: 176.3 kB / 475.2 MB, free: 4.68 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.633e-05/0.4376, allocations: 19.94 kB / 475.2 MB, free: 4.66 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003164/0.4379, allocations: 32.05 kB / 475.2 MB, free: 4.629 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.033e-05/0.438, allocations: 28.19 kB / 475.2 MB, free: 4.602 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.401e-05/0.438, allocations: 12 kB / 475.3 MB, free: 4.59 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003655/0.4384, allocations: 329.6 kB / 475.6 MB, free: 4.27 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4384, allocations: 0 / 475.6 MB, free: 4.27 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004761/0.4389, allocations: 151.8 kB / 475.7 MB, free: 4.121 MB / 346.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002186/0.4391, allocations: 128 kB / 475.8 MB, free: 3.984 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0009155/0.44, allocations: 0.5822 MB / 476.4 MB, free: 3.363 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.4401, allocations: 4 kB / 476.4 MB, free: 3.359 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002337/0.4403, allocations: 152.2 kB / 476.6 MB, free: 3.211 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005728/0.4409, allocations: 128.7 kB / 476.7 MB, free: 3.09 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001233/0.4421, allocations: 0.6654 MB / 477.4 MB, free: 2.402 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000376/0.4425, allocations: 0.8434 MB / 478.2 MB, free: 1.527 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002475/0.4428, allocations: 60.38 kB / 478.3 MB, free: 1.465 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001164/0.4429, allocations: 43.42 kB / 478.3 MB, free: 1.426 MB / 346.7 MB Notification: Performance of SimCode: time 4.91e-07/0.4429, allocations: 4 kB / 478.3 MB, free: 1.422 MB / 346.7 MB Notification: Performance of Templates: time 0.01346/0.4564, allocations: 7.978 MB / 486.3 MB, free: 9.438 MB / 362.7 MB make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.makefile (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 & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/PumpDropOut/PumpDropOut.csv","../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches