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.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.001089/0.001089, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001604/0.002693, allocations: 453.8 kB / 10.46 MB, free: 236 kB / 10.45 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.0009968/0.0009968, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009949/0.001992, allocations: 483.5 kB / 11.83 MB, free: 2.336 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.887/0.887, allocations: 158.6 MB / 171.2 MB, free: 2.504 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1333/1.02, allocations: 49.5 MB / 220.7 MB, free: 1.359 MB / 218.7 MB " [Timeout remaining time 179] 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.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_3.2.3_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_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 222 MB, free: 84 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.284e-05/2.449e-05, allocations: 5.406 kB / 222 MB, free: 80 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.00554/0.005565, allocations: 3.781 MB / 225.8 MB, free: 12.27 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.00201/0.007575, allocations: 1.071 MB / 226.8 MB, free: 11.19 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000227/0.007802, allocations: 11.94 kB / 226.8 MB, free: 11.18 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002691/0.008071, allocations: 119 kB / 227 MB, free: 11.06 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003875/0.008459, allocations: 214.1 kB / 227.2 MB, free: 10.85 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002748/0.008734, allocations: 135.7 kB / 227.3 MB, free: 10.71 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007788/0.009512, allocations: 0.741 MB / 228 MB, free: 9.973 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002412/0.009754, allocations: 141.1 kB / 228.2 MB, free: 9.832 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005928/0.01035, allocations: 0.4901 MB / 228.7 MB, free: 9.344 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003052/0.01065, allocations: 219.4 kB / 228.9 MB, free: 9.129 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 9.017e-05/0.01074, allocations: 60 kB / 228.9 MB, free: 9.07 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.614e-05/0.01084, allocations: 64 kB / 229 MB, free: 9.008 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 8.493e-05/0.01092, allocations: 95.62 kB / 229.1 MB, free: 8.914 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001885/0.01111, allocations: 183.7 kB / 229.3 MB, free: 8.734 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004547/0.01157, allocations: 430.4 kB / 229.7 MB, free: 8.312 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.212e-05/0.01158, allocations: 0 / 229.7 MB, free: 8.312 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.01158, allocations: 0 / 229.7 MB, free: 8.312 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.219e-05/0.01159, allocations: 0 / 229.7 MB, free: 8.312 MB / 234.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.00117/0.01276, allocations: 0.9293 MB / 230.6 MB, free: 7.352 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.442e-05/0.0128, allocations: 12.03 kB / 230.6 MB, free: 7.34 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001164/0.01291, allocations: 76.86 kB / 230.7 MB, free: 7.266 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000387/0.0133, allocations: 283.7 kB / 231 MB, free: 6.961 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.981e-05/0.0134, allocations: 110.7 kB / 231.1 MB, free: 6.836 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.245e-05/0.01346, allocations: 44.38 kB / 231.1 MB, free: 6.793 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00048/0.01394, allocations: 0.7702 MB / 231.9 MB, free: 5.871 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.01395, allocations: 192 / 231.9 MB, free: 5.871 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.01e-05/0.01398, allocations: 20.12 kB / 231.9 MB, free: 5.852 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.207e-06/0.01399, allocations: 8 kB / 231.9 MB, free: 5.844 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001586/0.01415, allocations: 118.9 kB / 232.1 MB, free: 5.727 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009243/0.01508, allocations: 0.6851 MB / 232.7 MB, free: 5.016 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002457/0.01532, allocations: 190.4 kB / 232.9 MB, free: 4.82 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.864e-05/0.0154, allocations: 72.52 kB / 233 MB, free: 4.746 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.928e-05/0.01543, allocations: 12 kB / 233 MB, free: 4.734 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.466e-05/0.01545, allocations: 42.55 kB / 233 MB, free: 4.684 MB / 234.7 MB Notification: Performance of pre-optimization done (n=37): time 1.513e-06/0.01546, allocations: 0 / 233 MB, free: 4.684 MB / 234.7 MB Notification: Performance of matching and sorting (n=37): time 0.0004266/0.01588, allocations: 278.7 kB / 233.3 MB, free: 4.398 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.431e-05/0.01591, allocations: 55.41 kB / 233.4 MB, free: 4.332 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002173/0.01612, allocations: 367.2 kB / 233.7 MB, free: 3.961 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.726e-05/0.01615, allocations: 37.7 kB / 233.8 MB, free: 3.918 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.789e-05/0.01624, allocations: 197.4 kB / 234 MB, free: 3.719 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.801e-05/0.01631, allocations: 134.8 kB / 234.1 MB, free: 3.586 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.185e-05/0.01639, allocations: 85.61 kB / 234.2 MB, free: 3.496 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 9.089e-05/0.01648, allocations: 358.7 kB / 234.5 MB, free: 3.137 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.908e-05/0.01655, allocations: 69.69 kB / 234.6 MB, free: 3.062 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002311/0.01678, allocations: 0.5681 MB / 235.2 MB, free: 2.344 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001606/0.01694, allocations: 168.4 kB / 235.3 MB, free: 2.164 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.01694, allocations: 0 / 235.3 MB, free: 2.164 MB / 234.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0002422/0.01718, allocations: 274.3 kB / 235.6 MB, free: 1.871 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.882e-05/0.01721, allocations: 37.7 kB / 235.6 MB, free: 1.828 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.638e-06/0.01722, allocations: 3.938 kB / 235.6 MB, free: 1.824 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.798e-05/0.0173, allocations: 29.7 kB / 235.7 MB, free: 1.789 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002593/0.01755, allocations: 107.9 kB / 235.8 MB, free: 1.684 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00119/0.01875, allocations: 2.411 MB / 238.2 MB, free: 15.1 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001659/0.01891, allocations: 47.77 kB / 238.2 MB, free: 15.05 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.423e-05/0.01893, allocations: 4 kB / 238.2 MB, free: 15.05 MB / 250.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.000101/0.01903, allocations: 137.8 kB / 238.4 MB, free: 14.91 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.129e-05/0.01908, allocations: 47.89 kB / 238.4 MB, free: 14.86 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.775e-05/0.01913, allocations: 56.62 kB / 238.5 MB, free: 14.8 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.01913, allocations: 4 kB / 238.5 MB, free: 14.8 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.01913, allocations: 4 kB / 238.5 MB, free: 14.8 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002527/0.01938, allocations: 0.5357 MB / 239 MB, free: 14.16 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005213/0.01991, allocations: 0.5468 MB / 239.6 MB, free: 13.57 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.01991, allocations: 0 / 239.6 MB, free: 13.57 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002563/0.02016, allocations: 115.8 kB / 239.7 MB, free: 13.46 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.229e-05/0.02025, allocations: 47.64 kB / 239.7 MB, free: 13.41 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.02025, allocations: 4 kB / 239.7 MB, free: 13.41 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.44e-05/0.02026, allocations: 7.984 kB / 239.7 MB, free: 13.4 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.806e-06/0.02027, allocations: 4 kB / 239.7 MB, free: 13.4 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.02027, allocations: 3.938 kB / 239.7 MB, free: 13.39 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002791/0.02055, allocations: 344.8 kB / 240.1 MB, free: 13.04 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.314e-05/0.02058, allocations: 8 kB / 240.1 MB, free: 13.04 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001475/0.02073, allocations: 32 kB / 240.1 MB, free: 13 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.342e-05/0.02077, allocations: 23.95 kB / 240.1 MB, free: 12.98 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.12e-05/0.02078, allocations: 8 kB / 240.1 MB, free: 12.97 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001158/0.0209, allocations: 156.7 kB / 240.3 MB, free: 12.82 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0209, allocations: 0 / 240.3 MB, free: 12.82 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002527/0.02115, allocations: 151.8 kB / 240.4 MB, free: 12.67 MB / 250.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 9.438e-05/0.02124, allocations: 88.34 kB / 240.5 MB, free: 12.57 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003983/0.02164, allocations: 0.5058 MB / 241 MB, free: 12.02 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.303e-05/0.02165, allocations: 8 kB / 241 MB, free: 12.02 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001142/0.02177, allocations: 108.8 kB / 241.2 MB, free: 11.91 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00072/0.02249, allocations: 1.418 MB / 242.6 MB, free: 10.21 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005987/0.02848, allocations: 0.8515 MB / 243.4 MB, free: 9.324 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.655e-05/0.02854, allocations: 113.9 kB / 243.5 MB, free: 9.191 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001606/0.0287, allocations: 64.34 kB / 243.6 MB, free: 9.129 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000343/0.02905, allocations: 245.2 kB / 243.8 MB, free: 8.891 MB / 250.7 MB Notification: Performance of SimCode: time 1.262e-06/0.02905, allocations: 0 / 243.8 MB, free: 8.891 MB / 250.7 MB Notification: Performance of Templates: time 0.01328/0.04233, allocations: 11.32 MB / 255.2 MB, free: 13.59 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.makefile [Timeout 660] (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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.918945630080998]