Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002701/0.002701, allocations: 91.61 kB / 20.96 MB, free: 3.465 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003109/0.003109, allocations: 169.3 kB / 24.28 MB, free: 152 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.582/1.582, allocations: 177.1 MB / 204.6 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 272.3 MB, free: 1.863 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.51e-05/2.643e-05, allocations: 2.312 kB / 272.3 MB, free: 1.859 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.005647/0.005674, allocations: 3.75 MB / 276 MB, free: 14.09 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00181/0.007484, allocations: 1.012 MB / 277.1 MB, free: 13.07 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001839/0.007668, allocations: 7.938 kB / 277.1 MB, free: 13.07 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003248/0.007993, allocations: 107.1 kB / 277.2 MB, free: 12.96 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004621/0.008455, allocations: 222.1 kB / 277.4 MB, free: 12.74 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002975/0.008753, allocations: 139.7 kB / 277.5 MB, free: 12.61 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001117/0.009869, allocations: 0.735 MB / 278.3 MB, free: 11.87 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002641/0.01013, allocations: 135.2 kB / 278.4 MB, free: 11.73 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000521/0.01065, allocations: 403.1 kB / 278.8 MB, free: 11.34 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003719/0.01103, allocations: 231.3 kB / 279 MB, free: 11.11 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001102/0.01114, allocations: 60 kB / 279.1 MB, free: 11.05 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001248/0.01126, allocations: 60 kB / 279.1 MB, free: 10.99 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001569/0.01142, allocations: 131.5 kB / 279.3 MB, free: 10.86 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003054/0.01172, allocations: 231.5 kB / 279.5 MB, free: 10.64 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009636/0.01269, allocations: 0.7398 MB / 280.2 MB, free: 9.895 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.01269, allocations: 0 / 280.2 MB, free: 9.895 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.021e-06/0.01269, allocations: 0 / 280.2 MB, free: 9.895 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.794e-06/0.0127, allocations: 4 kB / 280.2 MB, free: 9.891 MB / 266.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.0018/0.0145, allocations: 0.9799 MB / 281.2 MB, free: 8.867 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.01454, allocations: 8.031 kB / 281.2 MB, free: 8.859 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001791/0.01472, allocations: 96.56 kB / 281.3 MB, free: 8.766 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007332/0.01545, allocations: 391.3 kB / 281.7 MB, free: 8.355 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001418/0.01559, allocations: 110.7 kB / 281.8 MB, free: 8.227 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.236e-05/0.01567, allocations: 44.33 kB / 281.8 MB, free: 8.184 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001228/0.0169, allocations: 0.9116 MB / 282.8 MB, free: 7.109 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.566e-05/0.01692, allocations: 192 / 282.8 MB, free: 7.109 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.302e-05/0.01697, allocations: 24.11 kB / 282.8 MB, free: 7.086 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.116e-05/0.01698, allocations: 12 kB / 282.8 MB, free: 7.074 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008114/0.01779, allocations: 319.8 kB / 283.1 MB, free: 6.762 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002334/0.02013, allocations: 1.149 MB / 284.2 MB, free: 5.57 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008704/0.021, allocations: 351.4 kB / 284.6 MB, free: 5.211 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006101/0.02161, allocations: 168.1 kB / 284.8 MB, free: 5.043 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.002e-05/0.02166, allocations: 12 kB / 284.8 MB, free: 5.031 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.349e-05/0.0217, allocations: 45.33 kB / 284.8 MB, free: 4.977 MB / 266.7 MB Notification: Performance of pre-optimization done (n=37): time 1.553e-06/0.0217, allocations: 0 / 284.8 MB, free: 4.977 MB / 266.7 MB Notification: Performance of matching and sorting (n=37): time 0.00154/0.02324, allocations: 0.5557 MB / 285.4 MB, free: 4.406 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003039/0.02355, allocations: 448.9 kB / 285.8 MB, free: 3.863 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007032/0.02425, allocations: 0.5573 MB / 286.4 MB, free: 3.289 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.629e-05/0.0243, allocations: 37.7 kB / 286.4 MB, free: 3.246 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002882/0.02459, allocations: 323.2 kB / 286.7 MB, free: 2.922 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001453/0.02473, allocations: 142.8 kB / 286.9 MB, free: 2.781 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000176/0.02491, allocations: 91.34 kB / 286.9 MB, free: 2.684 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003537/0.02526, allocations: 0.5586 MB / 287.5 MB, free: 2.113 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003645/0.02562, allocations: 157.6 kB / 287.7 MB, free: 1.953 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008176/0.02644, allocations: 0.7205 MB / 288.4 MB, free: 1.062 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007168/0.02716, allocations: 344.7 kB / 288.7 MB, free: 0.7109 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.02716, allocations: 0 / 288.7 MB, free: 0.7109 MB / 266.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001038/0.0282, allocations: 0.4996 MB / 289.2 MB, free: 188 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.19e-05/0.02824, allocations: 33.7 kB / 289.2 MB, free: 148 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.02825, allocations: 3.938 kB / 289.2 MB, free: 144 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001815/0.02843, allocations: 67.31 kB / 289.3 MB, free: 68 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004237/0.02885, allocations: 79.94 kB / 289.4 MB, free: 15.98 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00372/0.03257, allocations: 3.761 MB / 293.2 MB, free: 11.98 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004074/0.03298, allocations: 43.77 kB / 293.2 MB, free: 11.94 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.374e-05/0.03301, allocations: 8 kB / 293.2 MB, free: 11.93 MB / 282.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 () * 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.0002815/0.03329, allocations: 228.4 kB / 293.4 MB, free: 11.7 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001187/0.03341, allocations: 59.72 kB / 293.5 MB, free: 11.64 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001169/0.03353, allocations: 52.62 kB / 293.5 MB, free: 11.59 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.03353, allocations: 4.188 kB / 293.5 MB, free: 11.58 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.03354, allocations: 4 kB / 293.5 MB, free: 11.58 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001023/0.03456, allocations: 0.7113 MB / 294.3 MB, free: 10.76 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001841/0.0364, allocations: 0.993 MB / 295.2 MB, free: 9.715 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.0364, allocations: 0 / 295.2 MB, free: 9.715 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004436/0.03685, allocations: 87.89 kB / 295.3 MB, free: 9.629 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.001e-06/0.03685, allocations: 4 kB / 295.3 MB, free: 9.625 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.447e-05/0.03688, allocations: 4 kB / 295.3 MB, free: 9.621 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/0.03688, allocations: 4 kB / 295.3 MB, free: 9.617 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.03688, allocations: 0 / 295.3 MB, free: 9.617 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001319/0.0382, allocations: 0.7003 MB / 296 MB, free: 8.895 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002082/0.03841, allocations: 91.55 kB / 296.1 MB, free: 8.805 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.014e-05/0.03848, allocations: 16.03 kB / 296.2 MB, free: 8.789 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003455/0.03883, allocations: 19.98 kB / 296.2 MB, free: 8.77 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.677e-05/0.03891, allocations: 23.95 kB / 296.2 MB, free: 8.746 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.524e-05/0.03895, allocations: 15.98 kB / 296.2 MB, free: 8.73 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0004485/0.0394, allocations: 375 kB / 296.6 MB, free: 8.371 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0394, allocations: 0 / 296.6 MB, free: 8.371 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004862/0.03988, allocations: 151.7 kB / 296.7 MB, free: 8.223 MB / 282.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 () * 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.0001522/0.04004, allocations: 111.2 kB / 296.8 MB, free: 8.102 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001288/0.04132, allocations: 0.7729 MB / 297.6 MB, free: 7.273 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.04133, allocations: 0 / 297.6 MB, free: 7.273 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003896/0.04172, allocations: 179.8 kB / 297.8 MB, free: 7.094 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006617/0.04238, allocations: 145.9 kB / 297.9 MB, free: 6.953 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001939/0.04432, allocations: 0.916 MB / 298.8 MB, free: 6.008 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00026/0.04458, allocations: 230.1 kB / 299.1 MB, free: 5.758 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002364/0.04481, allocations: 60.25 kB / 299.1 MB, free: 5.695 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001348/0.04495, allocations: 44.48 kB / 299.2 MB, free: 5.652 MB / 282.7 MB Notification: Performance of SimCode: time 4.41e-07/0.04495, allocations: 0 / 299.2 MB, free: 5.652 MB / 282.7 MB Notification: Performance of Templates: time 0.1134/0.1584, allocations: 9.384 MB / 308.6 MB, free: 40.86 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.sim & ./Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/PumpDropOut/PumpDropOut.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.852515215054154]