Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009052/0.0009052, allocations: 72.08 kB / 21.69 MB, free: 2.859 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009313/0.0009313, allocations: 142.1 kB / 24.97 MB, free: 8.316 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9121/0.9121, allocations: 173.3 MB / 201.5 MB, free: 9.312 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.172e-06/1.172e-06, allocations: 0 / 268.1 MB, free: 6.723 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.554e-05/1.671e-05, allocations: 2.312 kB / 268.1 MB, free: 6.719 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.003218/0.003234, allocations: 3.752 MB / 271.8 MB, free: 2.945 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001232/0.004466, allocations: 0.985 MB / 272.8 MB, free: 1.953 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001555/0.004621, allocations: 7.938 kB / 272.8 MB, free: 1.945 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002572/0.004879, allocations: 115 kB / 272.9 MB, free: 1.832 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002845/0.005163, allocations: 210.1 kB / 273.1 MB, free: 1.625 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002057/0.005369, allocations: 147.7 kB / 273.3 MB, free: 1.48 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005368/0.005906, allocations: 0.7349 MB / 274 MB, free: 0.7422 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001902/0.006096, allocations: 139.2 kB / 274.1 MB, free: 0.6016 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003013/0.006397, allocations: 403.1 kB / 274.5 MB, free: 212 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002163/0.006614, allocations: 223.4 kB / 274.7 MB, free: 15.99 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.28e-05/0.006676, allocations: 63.94 kB / 274.8 MB, free: 15.93 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.801e-05/0.006734, allocations: 60 kB / 274.9 MB, free: 15.87 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.377e-05/0.006808, allocations: 135.5 kB / 275 MB, free: 15.73 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001548/0.006963, allocations: 231.5 kB / 275.2 MB, free: 15.51 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003788/0.007342, allocations: 470.3 kB / 275.7 MB, free: 15.05 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.007344, allocations: 0 / 275.7 MB, free: 15.05 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.007345, allocations: 7.938 kB / 275.7 MB, free: 15.04 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.312e-06/0.007351, allocations: 0 / 275.7 MB, free: 15.04 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.0009538/0.008305, allocations: 0.949 MB / 276.6 MB, free: 14.05 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.00834, allocations: 16.92 kB / 276.7 MB, free: 14.03 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001161/0.008456, allocations: 96.56 kB / 276.8 MB, free: 13.94 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004146/0.008871, allocations: 359.5 kB / 277.1 MB, free: 13.56 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.331e-05/0.008954, allocations: 114.7 kB / 277.2 MB, free: 13.43 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.942e-05/0.009004, allocations: 40.38 kB / 277.3 MB, free: 13.39 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005714/0.009575, allocations: 0.8262 MB / 278.1 MB, free: 12.39 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.009588, allocations: 4.188 kB / 278.1 MB, free: 12.39 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3e-05/0.009618, allocations: 20.12 kB / 278.1 MB, free: 12.37 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.005e-05/0.009628, allocations: 8 kB / 278.1 MB, free: 12.36 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002702/0.009898, allocations: 165.9 kB / 278.3 MB, free: 12.2 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001182/0.01108, allocations: 1 MB / 279.3 MB, free: 11.15 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003535/0.01143, allocations: 235.9 kB / 279.5 MB, free: 10.91 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001309/0.01156, allocations: 99.39 kB / 279.6 MB, free: 10.8 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.617e-05/0.01159, allocations: 4 kB / 279.6 MB, free: 10.8 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.638e-05/0.01162, allocations: 49.38 kB / 279.7 MB, free: 10.74 MB / 266.7 MB Notification: Performance of pre-optimization done (n=37): time 1.502e-06/0.01162, allocations: 0 / 279.7 MB, free: 10.74 MB / 266.7 MB Notification: Performance of matching and sorting (n=37): time 0.0006289/0.01225, allocations: 380.1 kB / 280 MB, free: 10.36 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001219/0.01237, allocations: 448.9 kB / 280.5 MB, free: 9.812 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003241/0.01269, allocations: 466.6 kB / 280.9 MB, free: 9.34 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.681e-05/0.01272, allocations: 33.7 kB / 281 MB, free: 9.301 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001403/0.01286, allocations: 307.2 kB / 281.3 MB, free: 8.992 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.848e-05/0.01293, allocations: 134.8 kB / 281.4 MB, free: 8.859 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.752e-05/0.01302, allocations: 83.34 kB / 281.5 MB, free: 8.77 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001341/0.01315, allocations: 0.5352 MB / 282 MB, free: 8.223 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001191/0.01327, allocations: 81.67 kB / 282.1 MB, free: 8.137 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000301/0.01357, allocations: 0.6385 MB / 282.7 MB, free: 7.328 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002378/0.01381, allocations: 200.5 kB / 282.9 MB, free: 7.117 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.01381, allocations: 4 kB / 282.9 MB, free: 7.113 MB / 266.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0003964/0.01421, allocations: 379.4 kB / 283.3 MB, free: 6.715 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.341e-05/0.01423, allocations: 33.7 kB / 283.3 MB, free: 6.676 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.01423, allocations: 4 kB / 283.3 MB, free: 6.672 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001148/0.01435, allocations: 39.36 kB / 283.4 MB, free: 6.625 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002049/0.01455, allocations: 83.88 kB / 283.4 MB, free: 6.543 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001528/0.01608, allocations: 3.574 MB / 287 MB, free: 2.727 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001857/0.01627, allocations: 51.84 kB / 287.1 MB, free: 2.676 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.759e-05/0.01629, allocations: 8 kB / 287.1 MB, free: 2.668 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.0001301/0.01642, allocations: 188.5 kB / 287.3 MB, free: 2.473 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.515e-05/0.01648, allocations: 63.67 kB / 287.3 MB, free: 2.41 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.451e-05/0.01654, allocations: 56.61 kB / 287.4 MB, free: 2.348 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.01654, allocations: 4 kB / 287.4 MB, free: 2.344 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.793e-06/0.01654, allocations: 0 / 287.4 MB, free: 2.344 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003643/0.01691, allocations: 0.5953 MB / 288 MB, free: 1.645 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007582/0.01766, allocations: 0.794 MB / 288.8 MB, free: 0.7969 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.01767, allocations: 7.938 kB / 288.8 MB, free: 0.7891 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002171/0.01788, allocations: 83.88 kB / 288.9 MB, free: 0.707 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.01789, allocations: 0 / 288.9 MB, free: 0.707 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.619e-05/0.0179, allocations: 8 kB / 288.9 MB, free: 0.6992 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.522e-06/0.0179, allocations: 0 / 288.9 MB, free: 0.6992 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.0179, allocations: 0 / 288.9 MB, free: 0.6992 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004489/0.01835, allocations: 497.2 kB / 289.4 MB, free: 196 kB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001102/0.01846, allocations: 91.55 kB / 289.4 MB, free: 104 kB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.708e-05/0.0185, allocations: 12 kB / 289.5 MB, free: 92 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001633/0.01866, allocations: 20.16 kB / 289.5 MB, free: 72 kB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.219e-05/0.01872, allocations: 35.95 kB / 289.5 MB, free: 36 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.137e-05/0.01873, allocations: 7.984 kB / 289.5 MB, free: 28 kB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002095/0.01894, allocations: 311 kB / 289.8 MB, free: 15.73 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01894, allocations: 0 / 289.8 MB, free: 15.73 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002723/0.01921, allocations: 151.7 kB / 290 MB, free: 15.58 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 8.934e-05/0.0193, allocations: 111.2 kB / 290.1 MB, free: 15.46 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005455/0.01984, allocations: 0.6323 MB / 290.7 MB, free: 14.78 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.01985, allocations: 4 kB / 290.7 MB, free: 14.77 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001315/0.01998, allocations: 111.5 kB / 290.8 MB, free: 14.66 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003921/0.02037, allocations: 138 kB / 291 MB, free: 14.53 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001257/0.02163, allocations: 0.8838 MB / 291.8 MB, free: 13.61 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.626e-05/0.02169, allocations: 117.8 kB / 292 MB, free: 13.48 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001456/0.02184, allocations: 64.23 kB / 292 MB, free: 13.41 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.449e-05/0.02192, allocations: 40.5 kB / 292.1 MB, free: 13.37 MB / 282.7 MB Notification: Performance of SimCode: time 9.92e-07/0.02192, allocations: 0 / 292.1 MB, free: 13.37 MB / 282.7 MB Notification: Performance of Templates: time 0.01012/0.03205, allocations: 9.407 MB / 301.5 MB, free: 4.191 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.sim & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.8027204629033804]