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.001319/0.001319, allocations: 80.41 kB / 22.21 MB, free: 2.285 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.001513/0.001513, allocations: 166 kB / 25.61 MB, free: 8.871 MB / 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 0.9585/0.9585, allocations: 177.1 MB / 206.1 MB, free: 4.496 MB / 186.7 MB " [Timeout remaining time 179] 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.462e-06/1.462e-06, allocations: 0 / 274.2 MB, free: 4.449 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.494e-05/1.64e-05, allocations: 7.641 kB / 274.2 MB, free: 4.445 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.007107/0.007123, allocations: 3.724 MB / 277.9 MB, free: 0.7148 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00449/0.01161, allocations: 1.011 MB / 278.9 MB, free: 15.7 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001947/0.01181, allocations: 11.94 kB / 278.9 MB, free: 15.69 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000274/0.01208, allocations: 111 kB / 279 MB, free: 15.58 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003662/0.01245, allocations: 222.1 kB / 279.2 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000245/0.01269, allocations: 139.7 kB / 279.4 MB, free: 15.23 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006432/0.01334, allocations: 0.7273 MB / 280.1 MB, free: 14.5 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00322/0.01656, allocations: 135.2 kB / 280.2 MB, free: 14.36 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004125/0.01697, allocations: 415 kB / 280.6 MB, free: 13.95 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002685/0.01724, allocations: 223.4 kB / 280.9 MB, free: 13.73 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.213e-05/0.01731, allocations: 56 kB / 280.9 MB, free: 13.68 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.929e-05/0.01739, allocations: 60 kB / 281 MB, free: 13.62 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.884e-05/0.01749, allocations: 139.5 kB / 281.1 MB, free: 13.48 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001997/0.01769, allocations: 227.5 kB / 281.3 MB, free: 13.26 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004647/0.01815, allocations: 466.3 kB / 281.8 MB, free: 12.8 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.365e-06/0.01815, allocations: 0 / 281.8 MB, free: 12.8 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.62e-07/0.01815, allocations: 0 / 281.8 MB, free: 12.8 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.119e-06/0.01816, allocations: 0 / 281.8 MB, free: 12.8 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.001073/0.01923, allocations: 0.9567 MB / 282.8 MB, free: 11.8 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.969e-05/0.01926, allocations: 8.031 kB / 282.8 MB, free: 11.8 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00314/0.0224, allocations: 96.56 kB / 282.9 MB, free: 11.7 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004018/0.0228, allocations: 342.4 kB / 283.2 MB, free: 11.34 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.252e-05/0.0229, allocations: 114.7 kB / 283.3 MB, free: 11.21 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.867e-05/0.02296, allocations: 40.36 kB / 283.3 MB, free: 11.17 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006134/0.02357, allocations: 0.8067 MB / 284.1 MB, free: 10.2 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.02358, allocations: 192 / 284.1 MB, free: 10.2 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.42e-05/0.02362, allocations: 20.12 kB / 284.2 MB, free: 10.18 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.02362, allocations: 8 kB / 284.2 MB, free: 10.17 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002281/0.02385, allocations: 126.9 kB / 284.3 MB, free: 10.04 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001358/0.02521, allocations: 0.9419 MB / 285.2 MB, free: 9.062 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00336/0.02857, allocations: 207.7 kB / 285.4 MB, free: 8.844 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001151/0.02868, allocations: 75.39 kB / 285.5 MB, free: 8.766 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.795e-05/0.02871, allocations: 12 kB / 285.5 MB, free: 8.754 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.816e-05/0.02874, allocations: 41.39 kB / 285.6 MB, free: 8.703 MB / 266.7 MB Notification: Performance of pre-optimization done (n=37): time 1.523e-06/0.02874, allocations: 0 / 285.6 MB, free: 8.703 MB / 266.7 MB Notification: Performance of matching and sorting (n=37): time 0.0006521/0.02939, allocations: 356.8 kB / 285.9 MB, free: 8.34 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001447/0.02954, allocations: 452.9 kB / 286.4 MB, free: 7.793 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000339/0.02988, allocations: 434.5 kB / 286.8 MB, free: 7.352 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.323e-05/0.02991, allocations: 37.7 kB / 286.8 MB, free: 7.309 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001775/0.03009, allocations: 315.1 kB / 287.1 MB, free: 6.996 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.622e-05/0.03018, allocations: 130.8 kB / 287.3 MB, free: 6.867 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001236/0.0303, allocations: 87.31 kB / 287.3 MB, free: 6.773 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001759/0.03047, allocations: 0.5351 MB / 287.9 MB, free: 6.227 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000108/0.03058, allocations: 73.66 kB / 287.9 MB, free: 6.148 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003281/0.03091, allocations: 0.6305 MB / 288.6 MB, free: 5.348 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002275/0.03114, allocations: 172.8 kB / 288.7 MB, free: 5.164 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.03114, allocations: 3.938 kB / 288.8 MB, free: 5.16 MB / 266.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001789/0.03293, allocations: 339.6 kB / 289.1 MB, free: 4.801 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.166e-05/0.03296, allocations: 33.7 kB / 289.1 MB, free: 4.762 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.03297, allocations: 0 / 289.1 MB, free: 4.762 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001143/0.03308, allocations: 47.34 kB / 289.2 MB, free: 4.707 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002765/0.03336, allocations: 75.89 kB / 289.2 MB, free: 4.633 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001927/0.03529, allocations: 3.544 MB / 292.8 MB, free: 0.8633 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002463/0.03553, allocations: 39.83 kB / 292.8 MB, free: 0.8242 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.446e-05/0.03556, allocations: 8 kB / 292.8 MB, free: 0.8164 MB / 266.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.0001599/0.03572, allocations: 184.5 kB / 293 MB, free: 0.625 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.344e-05/0.03581, allocations: 63.67 kB / 293.1 MB, free: 0.5625 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.512e-05/0.03588, allocations: 56.56 kB / 293.1 MB, free: 0.5039 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.03589, allocations: 4 kB / 293.1 MB, free: 0.5 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.03589, allocations: 3.938 kB / 293.1 MB, free: 0.4961 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004356/0.03633, allocations: 0.5787 MB / 293.7 MB, free: 15.81 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007702/0.0371, allocations: 0.7059 MB / 294.4 MB, free: 15.07 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.0371, allocations: 3.938 kB / 294.4 MB, free: 15.06 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002215/0.03732, allocations: 83.88 kB / 294.5 MB, free: 14.98 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.03733, allocations: 0 / 294.5 MB, free: 14.98 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.949e-05/0.03735, allocations: 12 kB / 294.5 MB, free: 14.97 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.03735, allocations: 0 / 294.5 MB, free: 14.97 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.03735, allocations: 4 kB / 294.5 MB, free: 14.96 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004014/0.03775, allocations: 453 kB / 295 MB, free: 14.5 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001127/0.03786, allocations: 99.48 kB / 295.1 MB, free: 14.4 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.614e-05/0.0379, allocations: 8 kB / 295.1 MB, free: 14.39 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000165/0.03806, allocations: 23.98 kB / 295.1 MB, free: 14.37 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.676e-05/0.03811, allocations: 27.94 kB / 295.1 MB, free: 14.34 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.334e-05/0.03812, allocations: 8 kB / 295.1 MB, free: 14.34 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001557/0.03828, allocations: 279 kB / 295.4 MB, free: 14.07 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.03828, allocations: 0 / 295.4 MB, free: 14.07 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002885/0.03857, allocations: 151.8 kB / 295.5 MB, free: 13.92 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.0001107/0.03868, allocations: 122.9 kB / 295.7 MB, free: 13.79 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004997/0.03918, allocations: 0.6166 MB / 296.3 MB, free: 13.12 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.03918, allocations: 0 / 296.3 MB, free: 13.12 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001118/0.03929, allocations: 103.5 kB / 296.4 MB, free: 13.01 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004007/0.03969, allocations: 153.8 kB / 296.5 MB, free: 12.86 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001257/0.04095, allocations: 0.8604 MB / 297.4 MB, free: 11.97 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.142e-05/0.04103, allocations: 121.5 kB / 297.5 MB, free: 11.83 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001755/0.04121, allocations: 64.17 kB / 297.6 MB, free: 11.76 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003608/0.04157, allocations: 278 kB / 297.8 MB, free: 11.49 MB / 282.7 MB Notification: Performance of SimCode: time 8.31e-07/0.04157, allocations: 0 / 297.8 MB, free: 11.49 MB / 282.7 MB Notification: Performance of Templates: time 0.01228/0.05385, allocations: 10.28 MB / 308.1 MB, free: 1.461 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9433800778351724]