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.0009132/0.0009132, allocations: 177.7 kB / 8.698 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.512/1.512, allocations: 205.3 MB / 214.4 MB, free: 1.656 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008967/0.0008969, allocations: 87.62 kB / 262.4 MB, free: 1.605 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.726e-05/1.737e-05, allocations: 4 kB / 315.5 MB, free: 22.71 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08389/0.08393, allocations: 47.59 MB / 363.1 MB, free: 7.066 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2979/0.3819, allocations: 81.47 MB / 444.5 MB, free: 14.2 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002138/0.3821, allocations: 68.28 kB / 444.6 MB, free: 14.16 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0269/0.4091, allocations: 10.24 MB / 454.8 MB, free: 5.762 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.4091, allocations: 0 / 454.8 MB, free: 5.762 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.145e-05/0.4092, allocations: 8 kB / 454.9 MB, free: 5.754 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.001534/0.4107, allocations: 0.7545 MB / 455.6 MB, free: 4.984 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.903e-05/0.4108, allocations: 8.031 kB / 455.6 MB, free: 4.977 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002217/0.411, allocations: 75.12 kB / 455.7 MB, free: 4.902 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007102/0.4117, allocations: 395.2 kB / 456.1 MB, free: 4.527 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.933e-05/0.4118, allocations: 46.83 kB / 456.1 MB, free: 4.477 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.468e-05/0.4119, allocations: 31.86 kB / 456.2 MB, free: 4.445 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005222/0.4124, allocations: 263 kB / 456.4 MB, free: 4.281 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006397/0.4131, allocations: 414 kB / 456.8 MB, free: 3.918 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.641e-05/0.4131, allocations: 0 / 456.8 MB, free: 3.918 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.257e-05/0.4132, allocations: 4 kB / 456.8 MB, free: 3.914 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.788e-06/0.4132, allocations: 8 kB / 456.8 MB, free: 3.906 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002299/0.4155, allocations: 1.271 MB / 458.1 MB, free: 2.863 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006679/0.4162, allocations: 418.3 kB / 458.5 MB, free: 2.531 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000216/0.4164, allocations: 147 kB / 458.6 MB, free: 2.441 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.118e-05/0.4164, allocations: 4 kB / 458.7 MB, free: 2.438 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.756e-05/0.4165, allocations: 45.81 kB / 458.7 MB, free: 2.391 MB / 330.7 MB Notification: Performance of pre-optimization done (n=38): time 1.733e-06/0.4165, allocations: 4 kB / 458.7 MB, free: 2.387 MB / 330.7 MB Notification: Performance of matching and sorting (n=38): time 0.0007611/0.4173, allocations: 357.2 kB / 459 MB, free: 2.113 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002127/0.4175, allocations: 448.6 kB / 459.5 MB, free: 1.574 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004334/0.4179, allocations: 360.9 kB / 459.8 MB, free: 1.293 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.367e-05/0.418, allocations: 25.7 kB / 459.9 MB, free: 1.262 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001573/0.4181, allocations: 255.7 kB / 460.1 MB, free: 1.086 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001052/0.4183, allocations: 120.8 kB / 460.2 MB, free: 0.9805 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.033e-05/0.4183, allocations: 0 / 460.2 MB, free: 0.9805 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000152/0.4184, allocations: 356 kB / 460.6 MB, free: 0.6445 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001845/0.4186, allocations: 105.3 kB / 460.7 MB, free: 0.5859 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00029/0.4189, allocations: 238.6 kB / 460.9 MB, free: 372 kB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002267/0.4192, allocations: 127.1 kB / 461 MB, free: 292 kB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.4192, allocations: 4 kB / 461 MB, free: 288 kB / 330.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0006804/0.4199, allocations: 389.8 kB / 461.4 MB, free: 15.98 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.855e-05/0.4199, allocations: 29.7 kB / 461.5 MB, free: 15.95 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.4199, allocations: 4 kB / 461.5 MB, free: 15.95 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002318/0.4202, allocations: 54.94 kB / 461.5 MB, free: 15.9 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004562/0.4207, allocations: 99.66 kB / 461.6 MB, free: 15.8 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002272/0.4229, allocations: 2.631 MB / 464.2 MB, free: 13.1 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004087/0.4234, allocations: 59.42 kB / 464.3 MB, free: 13.04 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.627e-05/0.4234, allocations: 11.98 kB / 464.3 MB, free: 13.03 MB / 346.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient2.flowPort.h:VARIABLE(flow=false unit = "J/kg" ) type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient1.flowPort.h:VARIABLE(flow=false unit = "J/kg" ) type: Real pipe.flowPort_a.h:VARIABLE(flow=false unit = "J/kg" ) type: Real 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.0002105/0.4236, allocations: 125 kB / 464.4 MB, free: 12.9 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.81e-05/0.4237, allocations: 47.44 kB / 464.5 MB, free: 12.86 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001158/0.4239, allocations: 57.86 kB / 464.5 MB, free: 12.82 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.738e-06/0.4239, allocations: 4 kB / 464.5 MB, free: 12.82 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.4239, allocations: 0 / 464.5 MB, free: 12.82 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000623/0.4245, allocations: 0.6644 MB / 465.2 MB, free: 12.12 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001328/0.4259, allocations: 0.9166 MB / 466.1 MB, free: 11.38 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.4259, allocations: 7.938 kB / 466.1 MB, free: 11.37 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004724/0.4263, allocations: 95.88 kB / 466.2 MB, free: 11.27 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.069e-06/0.4264, allocations: 0 / 466.2 MB, free: 11.27 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.733e-05/0.4264, allocations: 10.98 kB / 466.2 MB, free: 11.27 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.4264, allocations: 0 / 466.2 MB, free: 11.27 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.4264, allocations: 4 kB / 466.2 MB, free: 11.26 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007293/0.4272, allocations: 0.554 MB / 466.8 MB, free: 10.84 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002341/0.4274, allocations: 171.6 kB / 467 MB, free: 10.68 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.184e-05/0.4275, allocations: 3.984 kB / 467 MB, free: 10.68 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003284/0.4278, allocations: 27.97 kB / 467 MB, free: 10.65 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.888e-05/0.4279, allocations: 31.28 kB / 467 MB, free: 10.62 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.466e-05/0.4279, allocations: 15.8 kB / 467 MB, free: 10.61 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000329/0.4283, allocations: 280.2 kB / 467.3 MB, free: 10.41 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4283, allocations: 0 / 467.3 MB, free: 10.41 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005443/0.4288, allocations: 135.8 kB / 467.4 MB, free: 10.27 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.0002342/0.4291, allocations: 107.2 kB / 467.5 MB, free: 10.16 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0008585/0.4299, allocations: 0.5562 MB / 468.1 MB, free: 9.676 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.43, allocations: 0 / 468.1 MB, free: 9.676 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002099/0.4302, allocations: 152.5 kB / 468.3 MB, free: 9.574 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006037/0.4308, allocations: 111.4 kB / 468.4 MB, free: 9.492 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001477/0.4323, allocations: 0.6395 MB / 469 MB, free: 8.891 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005056/0.4328, allocations: 0.8508 MB / 469.9 MB, free: 8.012 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003177/0.4331, allocations: 56.23 kB / 469.9 MB, free: 7.953 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001203/0.4332, allocations: 39.44 kB / 469.9 MB, free: 7.918 MB / 346.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4333, allocations: 0 / 469.9 MB, free: 7.918 MB / 346.7 MB Notification: Performance of Templates: time 0.01302/0.4463, allocations: 6.963 MB / 476.9 MB, free: 0.9609 MB / 346.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