Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009164/0.0009164, allocations: 95.5 kB / 21.2 MB, free: 3.371 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001313/0.001313, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8987/0.8987, allocations: 177 MB / 204.8 MB, free: 5.566 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.284e-06/2.284e-06, allocations: 0 / 272.9 MB, free: 1.453 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.607e-05/2.835e-05, allocations: 10.25 kB / 272.9 MB, free: 1.441 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.004322/0.00435, allocations: 2.89 MB / 275.8 MB, free: 14.53 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002326/0.006676, allocations: 1.382 MB / 277.2 MB, free: 13.14 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001537/0.00683, allocations: 3.938 kB / 277.2 MB, free: 13.14 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005602/0.00739, allocations: 191 kB / 277.4 MB, free: 12.95 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006018/0.007992, allocations: 254.4 kB / 277.6 MB, free: 12.7 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003159/0.008307, allocations: 143.5 kB / 277.8 MB, free: 12.56 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005373/0.008845, allocations: 477.7 kB / 278.2 MB, free: 12.09 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000185/0.00903, allocations: 72.25 kB / 278.3 MB, free: 12.02 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003101/0.00934, allocations: 263.4 kB / 278.5 MB, free: 11.76 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002637/0.009603, allocations: 167.6 kB / 278.7 MB, free: 11.59 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.122e-05/0.009665, allocations: 32 kB / 278.7 MB, free: 11.56 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001487/0.009813, allocations: 71.91 kB / 278.8 MB, free: 11.49 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001041/0.009917, allocations: 91.62 kB / 278.9 MB, free: 11.4 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001464/0.01006, allocations: 127.7 kB / 279 MB, free: 11.28 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004644/0.01053, allocations: 338.8 kB / 279.4 MB, free: 10.95 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.455e-06/0.01053, allocations: 7.938 kB / 279.4 MB, free: 10.94 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.01053, allocations: 3.938 kB / 279.4 MB, free: 10.93 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.671e-06/0.01054, allocations: 0 / 279.4 MB, free: 10.93 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.0009554/0.01149, allocations: 0.7406 MB / 280.1 MB, free: 10.16 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.01153, allocations: 11.98 kB / 280.1 MB, free: 10.14 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001223/0.01165, allocations: 68.64 kB / 280.2 MB, free: 10.08 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004108/0.01206, allocations: 278.8 kB / 280.5 MB, free: 9.777 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.261e-05/0.0121, allocations: 20.88 kB / 280.5 MB, free: 9.758 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.111e-05/0.01215, allocations: 24.38 kB / 280.5 MB, free: 9.734 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005579/0.01271, allocations: 0.5774 MB / 281.1 MB, free: 9.031 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/0.01272, allocations: 192 / 281.1 MB, free: 9.031 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.104e-05/0.01275, allocations: 12.38 kB / 281.1 MB, free: 9.02 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.226e-05/0.01276, allocations: 7.938 kB / 281.1 MB, free: 9.012 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002235/0.01299, allocations: 90.86 kB / 281.2 MB, free: 8.922 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001177/0.01416, allocations: 0.6842 MB / 281.9 MB, free: 8.195 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002889/0.01445, allocations: 135.6 kB / 282 MB, free: 8.051 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001023/0.01455, allocations: 55.59 kB / 282.1 MB, free: 7.992 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.56e-05/0.01458, allocations: 8 kB / 282.1 MB, free: 7.984 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002222/0.0148, allocations: 160.4 kB / 282.2 MB, free: 7.801 MB / 266.7 MB Notification: Performance of pre-optimization done (n=23): time 2.063e-06/0.0148, allocations: 0 / 282.2 MB, free: 7.801 MB / 266.7 MB Notification: Performance of matching and sorting (n=23): time 0.0007046/0.01551, allocations: 282.2 kB / 282.5 MB, free: 7.516 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001234/0.01563, allocations: 316.4 kB / 282.8 MB, free: 7.133 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004313/0.01606, allocations: 422.7 kB / 283.2 MB, free: 6.707 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.076e-05/0.01609, allocations: 33.7 kB / 283.3 MB, free: 6.668 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001773/0.01627, allocations: 259.2 kB / 283.5 MB, free: 6.41 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.464e-05/0.01635, allocations: 87.27 kB / 283.6 MB, free: 6.324 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.507e-05/0.01644, allocations: 63.34 kB / 283.7 MB, free: 6.254 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001888/0.01663, allocations: 0.5274 MB / 284.2 MB, free: 5.715 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001037/0.01673, allocations: 35.98 kB / 284.2 MB, free: 5.68 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002987/0.01703, allocations: 432.6 kB / 284.6 MB, free: 5.137 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002342/0.01727, allocations: 134.6 kB / 284.8 MB, free: 4.988 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.065e-06/0.01727, allocations: 0 / 284.8 MB, free: 4.988 MB / 266.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004155/0.01769, allocations: 232.9 kB / 285 MB, free: 4.75 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.0177, allocations: 11.11 kB / 285 MB, free: 4.742 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.01771, allocations: 4 kB / 285 MB, free: 4.738 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001389/0.01785, allocations: 27.61 kB / 285 MB, free: 4.707 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002061/0.01805, allocations: 60 kB / 285.1 MB, free: 4.648 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001368/0.01942, allocations: 1.842 MB / 286.9 MB, free: 2.68 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001695/0.01959, allocations: 19.89 kB / 287 MB, free: 2.66 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.94e-05/0.01961, allocations: 11.98 kB / 287 MB, free: 2.648 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.0001517/0.01976, allocations: 189.1 kB / 287.2 MB, free: 2.453 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.081e-05/0.01983, allocations: 51.72 kB / 287.2 MB, free: 2.402 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004034/0.02024, allocations: 217.6 kB / 287.4 MB, free: 2.176 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.02024, allocations: 4 kB / 287.4 MB, free: 2.172 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-06/0.02024, allocations: 0 / 287.4 MB, free: 2.172 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004165/0.02066, allocations: 0.5446 MB / 288 MB, free: 1.523 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007939/0.02145, allocations: 0.6291 MB / 288.6 MB, free: 0.8438 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.02145, allocations: 0 / 288.6 MB, free: 0.8438 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002161/0.02167, allocations: 47.97 kB / 288.6 MB, free: 0.7969 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.02167, allocations: 4 kB / 288.7 MB, free: 0.793 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.852e-05/0.02169, allocations: 4 kB / 288.7 MB, free: 0.7891 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.02169, allocations: 7.938 kB / 288.7 MB, free: 0.7812 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.0217, allocations: 0 / 288.7 MB, free: 0.7812 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004718/0.02217, allocations: 395.3 kB / 289 MB, free: 384 kB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001223/0.02229, allocations: 59.73 kB / 289.1 MB, free: 324 kB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.673e-05/0.02234, allocations: 8 kB / 289.1 MB, free: 316 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001863/0.02252, allocations: 11.98 kB / 289.1 MB, free: 304 kB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.319e-05/0.02258, allocations: 23.8 kB / 289.1 MB, free: 280 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.466e-05/0.0226, allocations: 12 kB / 289.2 MB, free: 268 kB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002803/0.02288, allocations: 283.1 kB / 289.4 MB, free: 15.98 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.02288, allocations: 0 / 289.4 MB, free: 15.98 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000401/0.02328, allocations: 103.8 kB / 289.5 MB, free: 15.88 MB / 282.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.001089/0.02437, allocations: 390.7 kB / 289.9 MB, free: 15.61 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005181/0.02489, allocations: 333.4 kB / 290.2 MB, free: 15.27 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.02489, allocations: 0 / 290.2 MB, free: 15.27 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001249/0.02502, allocations: 68 kB / 290.3 MB, free: 15.2 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005078/0.02552, allocations: 117.1 kB / 290.4 MB, free: 15.09 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001512/0.02704, allocations: 0.7085 MB / 291.1 MB, free: 14.35 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.754e-05/0.02711, allocations: 109.2 kB / 291.2 MB, free: 14.22 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001267/0.02724, allocations: 42.95 kB / 291.3 MB, free: 14.18 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.065e-05/0.02731, allocations: 32.5 kB / 291.3 MB, free: 14.15 MB / 282.7 MB Notification: Performance of SimCode: time 7.22e-07/0.02731, allocations: 0 / 291.3 MB, free: 14.15 MB / 282.7 MB Notification: Performance of Templates: time 0.01057/0.03788, allocations: 6.857 MB / 298.2 MB, free: 7.445 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.sim & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.8393709510564804]