Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.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.001112/0.001112, allocations: 71.77 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.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.0009729/0.0009729, allocations: 167.5 kB / 24.99 MB, free: 8.355 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.9791/0.9791, allocations: 177.1 MB / 205.3 MB, free: 5.254 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.TestOpenTank,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|openTank.H|openTank.m",fileNamePrefix="Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|openTank.H|openTank.m",fileNamePrefix="Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 273 MB, free: 1.707 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.897e-05/2.036e-05, allocations: 6.312 kB / 273 MB, free: 1.699 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.003099/0.003119, allocations: 2.893 MB / 275.9 MB, free: 14.79 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001856/0.004975, allocations: 1.375 MB / 277.3 MB, free: 13.41 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001854/0.00516, allocations: 7.938 kB / 277.3 MB, free: 13.4 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004445/0.005605, allocations: 171.1 kB / 277.5 MB, free: 13.23 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004301/0.006035, allocations: 258.4 kB / 277.7 MB, free: 12.98 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002245/0.006259, allocations: 155.3 kB / 277.9 MB, free: 12.82 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003842/0.006644, allocations: 479.8 kB / 278.4 MB, free: 12.36 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001392/0.006783, allocations: 60.33 kB / 278.4 MB, free: 12.29 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002085/0.006991, allocations: 259.4 kB / 278.7 MB, free: 12.04 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001886/0.00718, allocations: 179.6 kB / 278.8 MB, free: 11.86 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.686e-05/0.007217, allocations: 28 kB / 278.9 MB, free: 11.84 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001055/0.007322, allocations: 71.92 kB / 278.9 MB, free: 11.77 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.141e-05/0.007404, allocations: 95.59 kB / 279 MB, free: 11.67 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001095/0.007513, allocations: 127.7 kB / 279.2 MB, free: 11.55 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003659/0.007879, allocations: 346.7 kB / 279.5 MB, free: 11.21 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.007883, allocations: 0 / 279.5 MB, free: 11.21 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.007885, allocations: 0 / 279.5 MB, free: 11.21 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.169e-06/0.00789, allocations: 0 / 279.5 MB, free: 11.21 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: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.0007562/0.008646, allocations: 0.7522 MB / 280.3 MB, free: 10.42 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.287e-05/0.008679, allocations: 8.031 kB / 280.3 MB, free: 10.41 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.897e-05/0.008768, allocations: 64.66 kB / 280.3 MB, free: 10.35 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003131/0.009081, allocations: 287.2 kB / 280.6 MB, free: 10.04 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.487e-05/0.009106, allocations: 16.88 kB / 280.6 MB, free: 10.02 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.474e-05/0.009141, allocations: 20.38 kB / 280.6 MB, free: 10 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004028/0.009543, allocations: 0.5852 MB / 281.2 MB, free: 9.289 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/0.009558, allocations: 7.938 kB / 281.2 MB, free: 9.281 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.064e-05/0.009579, allocations: 12 kB / 281.2 MB, free: 9.27 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.386e-06/0.009587, allocations: 4 kB / 281.2 MB, free: 9.266 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001441/0.009732, allocations: 94.8 kB / 281.3 MB, free: 9.176 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000843/0.01057, allocations: 0.6841 MB / 282 MB, free: 8.449 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002104/0.01078, allocations: 135.6 kB / 282.2 MB, free: 8.305 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.874e-05/0.01085, allocations: 51.67 kB / 282.2 MB, free: 8.25 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.246e-05/0.01088, allocations: 7.984 kB / 282.2 MB, free: 8.242 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001852/0.01106, allocations: 160.4 kB / 282.4 MB, free: 8.059 MB / 266.7 MB Notification: Performance of pre-optimization done (n=23): time 1.553e-06/0.01106, allocations: 0 / 282.4 MB, free: 8.059 MB / 266.7 MB Notification: Performance of matching and sorting (n=23): time 0.000498/0.01156, allocations: 275.5 kB / 282.6 MB, free: 7.781 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.681e-05/0.01166, allocations: 324.4 kB / 283 MB, free: 7.391 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003058/0.01196, allocations: 422.8 kB / 283.4 MB, free: 6.965 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.986e-05/0.01198, allocations: 33.7 kB / 283.4 MB, free: 6.926 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001268/0.01211, allocations: 259.2 kB / 283.7 MB, free: 6.668 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.079e-05/0.01216, allocations: 87.25 kB / 283.7 MB, free: 6.582 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.357e-05/0.01222, allocations: 63.36 kB / 283.8 MB, free: 6.512 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001338/0.01236, allocations: 0.5235 MB / 284.3 MB, free: 5.977 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.231e-05/0.01242, allocations: 39.97 kB / 284.4 MB, free: 5.938 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001909/0.01261, allocations: 428.6 kB / 284.8 MB, free: 5.398 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001502/0.01276, allocations: 133.3 kB / 284.9 MB, free: 5.254 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.01276, allocations: 4 kB / 284.9 MB, free: 5.25 MB / 266.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002695/0.01303, allocations: 237.5 kB / 285.1 MB, free: 5.008 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.01305, allocations: 7.938 kB / 285.2 MB, free: 5 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.01305, allocations: 0 / 285.2 MB, free: 5 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001038/0.01316, allocations: 27.67 kB / 285.2 MB, free: 4.969 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001339/0.01329, allocations: 55.91 kB / 285.2 MB, free: 4.914 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009969/0.01429, allocations: 1.846 MB / 287.1 MB, free: 2.941 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001043/0.01439, allocations: 20.08 kB / 287.1 MB, free: 2.922 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.11e-05/0.0144, allocations: 8 kB / 287.1 MB, free: 2.914 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(3,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001122/0.01451, allocations: 184.4 kB / 287.3 MB, free: 2.723 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.685e-05/0.01456, allocations: 55.7 kB / 287.3 MB, free: 2.668 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002745/0.01484, allocations: 223.4 kB / 287.6 MB, free: 2.438 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.01484, allocations: 0 / 287.6 MB, free: 2.438 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.262e-06/0.01484, allocations: 0 / 287.6 MB, free: 2.438 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002715/0.01511, allocations: 0.5475 MB / 288.1 MB, free: 1.785 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005349/0.01564, allocations: 0.6328 MB / 288.7 MB, free: 1.102 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.01565, allocations: 0 / 288.7 MB, free: 1.102 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001236/0.01577, allocations: 47.97 kB / 288.8 MB, free: 1.055 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.01577, allocations: 4 kB / 288.8 MB, free: 1.051 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.723e-05/0.01579, allocations: 4 kB / 288.8 MB, free: 1.047 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.01579, allocations: 7.938 kB / 288.8 MB, free: 1.039 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.01579, allocations: 0 / 288.8 MB, free: 1.039 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003006/0.0161, allocations: 393.8 kB / 289.2 MB, free: 0.6367 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.459e-05/0.01617, allocations: 55.73 kB / 289.2 MB, free: 0.582 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.2e-05/0.0162, allocations: 11.98 kB / 289.3 MB, free: 0.5703 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001071/0.01631, allocations: 15.94 kB / 289.3 MB, free: 0.5547 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.755e-05/0.01635, allocations: 11.97 kB / 289.3 MB, free: 0.543 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.693e-05/0.01636, allocations: 8 kB / 289.3 MB, free: 0.5352 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001751/0.01654, allocations: 291.1 kB / 289.6 MB, free: 260 kB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01654, allocations: 4.031 kB / 289.6 MB, free: 256 kB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002504/0.01679, allocations: 95.83 kB / 289.7 MB, free: 160 kB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (openTank.m,openTank.H) * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.08583/0.1026, allocations: 384.3 kB / 290.1 MB, free: 28.71 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005615/0.1032, allocations: 335.4 kB / 290.4 MB, free: 28.53 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.1032, allocations: 1.844 kB / 290.4 MB, free: 28.53 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.487e-05/0.1033, allocations: 72.11 kB / 290.5 MB, free: 28.52 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004448/0.1037, allocations: 106.1 kB / 290.6 MB, free: 28.51 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001283/0.105, allocations: 0.7141 MB / 291.3 MB, free: 28.18 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6e-05/0.1051, allocations: 104.8 kB / 291.4 MB, free: 28.11 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001053/0.1052, allocations: 45.45 kB / 291.4 MB, free: 28.11 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.644e-05/0.1052, allocations: 33.14 kB / 291.4 MB, free: 28.1 MB / 266.7 MB Notification: Performance of SimCode: time 1.313e-06/0.1052, allocations: 0 / 291.4 MB, free: 28.1 MB / 266.7 MB Notification: Performance of Templates: time 0.008761/0.114, allocations: 6.495 MB / 297.9 MB, free: 26.57 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.sim & ./Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/TestOpenTank/TestOpenTank.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.9286129949614406]