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.001833/0.001833, allocations: 96.25 kB / 20.96 MB, free: 3.469 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.002159/0.002159, allocations: 156.9 kB / 24.27 MB, free: 172 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 1.457/1.457, allocations: 177 MB / 204.4 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] 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 1.253e-06/1.253e-06, allocations: 0 / 272.2 MB, free: 1.82 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.002e-05/2.127e-05, allocations: 9.125 kB / 272.2 MB, free: 1.812 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.004365/0.004386, allocations: 2.678 MB / 274.9 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002497/0.006883, allocations: 1.339 MB / 276.2 MB, free: 13.77 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001429/0.007026, allocations: 7.938 kB / 276.2 MB, free: 13.76 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004991/0.007525, allocations: 175.1 kB / 276.4 MB, free: 13.59 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005903/0.008115, allocations: 262.4 kB / 276.6 MB, free: 13.33 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003285/0.008444, allocations: 139.5 kB / 276.8 MB, free: 13.19 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006573/0.009101, allocations: 481.5 kB / 277.2 MB, free: 12.72 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001788/0.00928, allocations: 76.23 kB / 277.3 MB, free: 12.65 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003949/0.009675, allocations: 259.4 kB / 277.6 MB, free: 12.39 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002854/0.00996, allocations: 171.5 kB / 277.7 MB, free: 12.23 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.201e-05/0.01002, allocations: 32 kB / 277.8 MB, free: 12.2 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001578/0.01018, allocations: 71.92 kB / 277.8 MB, free: 12.12 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001238/0.0103, allocations: 91.66 kB / 277.9 MB, free: 12.04 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000191/0.01049, allocations: 127.7 kB / 278.1 MB, free: 11.91 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007497/0.01124, allocations: 498.3 kB / 278.5 MB, free: 11.42 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.01125, allocations: 8 kB / 278.5 MB, free: 11.41 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.01125, allocations: 0 / 278.5 MB, free: 11.41 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.141e-06/0.01126, allocations: 0 / 278.5 MB, free: 11.41 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.001168/0.01242, allocations: 0.629 MB / 279.2 MB, free: 10.75 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.484e-05/0.01248, allocations: 11.98 kB / 279.2 MB, free: 10.74 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001526/0.01263, allocations: 68.59 kB / 279.3 MB, free: 10.68 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006145/0.01325, allocations: 300.3 kB / 279.5 MB, free: 10.35 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.269e-05/0.01328, allocations: 12.88 kB / 279.6 MB, free: 10.34 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.118e-05/0.01334, allocations: 28.38 kB / 279.6 MB, free: 10.31 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001204/0.01454, allocations: 0.5932 MB / 280.2 MB, free: 9.609 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.464e-05/0.01456, allocations: 192 / 280.2 MB, free: 9.609 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.386e-05/0.01459, allocations: 12.38 kB / 280.2 MB, free: 9.598 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.04e-05/0.0146, allocations: 7.938 kB / 280.2 MB, free: 9.59 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003315/0.01493, allocations: 145.9 kB / 280.3 MB, free: 9.449 MB / 266.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001464/0.0164, allocations: 0.6459 MB / 281 MB, free: 8.766 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004255/0.01682, allocations: 183.1 kB / 281.2 MB, free: 8.578 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001582/0.01698, allocations: 68.84 kB / 281.2 MB, free: 8.508 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.073e-05/0.01701, allocations: 7.984 kB / 281.2 MB, free: 8.5 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003278/0.01734, allocations: 188.9 kB / 281.4 MB, free: 8.293 MB / 266.7 MB Notification: Performance of pre-optimization done (n=23): time 1.553e-06/0.01734, allocations: 0 / 281.4 MB, free: 8.293 MB / 266.7 MB Notification: Performance of matching and sorting (n=23): time 0.0009629/0.01831, allocations: 341.9 kB / 281.8 MB, free: 7.949 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002584/0.01856, allocations: 312.4 kB / 282.1 MB, free: 7.57 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000583/0.01915, allocations: 437.5 kB / 282.5 MB, free: 7.133 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.876e-05/0.01919, allocations: 29.7 kB / 282.5 MB, free: 7.098 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002252/0.01941, allocations: 208.4 kB / 282.7 MB, free: 6.891 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.384e-05/0.01951, allocations: 79.28 kB / 282.8 MB, free: 6.812 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001192/0.01962, allocations: 57.7 kB / 282.9 MB, free: 6.75 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000227/0.01985, allocations: 346.8 kB / 283.2 MB, free: 6.402 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001671/0.02002, allocations: 75.91 kB / 283.3 MB, free: 6.328 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008291/0.02085, allocations: 429 kB / 283.7 MB, free: 5.805 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003717/0.02122, allocations: 179.3 kB / 283.9 MB, free: 5.617 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.02122, allocations: 0 / 283.9 MB, free: 5.617 MB / 266.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005903/0.02181, allocations: 282.1 kB / 284.1 MB, free: 5.332 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.02183, allocations: 4 kB / 284.1 MB, free: 5.328 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.647e-06/0.02184, allocations: 11.88 kB / 284.2 MB, free: 5.316 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001511/0.02199, allocations: 36.78 kB / 284.2 MB, free: 5.277 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002343/0.02222, allocations: 52.06 kB / 284.2 MB, free: 5.227 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001828/0.02405, allocations: 1.44 MB / 285.7 MB, free: 3.684 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002324/0.02428, allocations: 19.89 kB / 285.7 MB, free: 3.664 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.742e-05/0.0243, allocations: 8 kB / 285.7 MB, free: 3.656 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.000246/0.02455, allocations: 169.7 kB / 285.9 MB, free: 3.48 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.858e-05/0.02464, allocations: 55.77 kB / 285.9 MB, free: 3.426 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000591/0.02523, allocations: 267.5 kB / 286.2 MB, free: 3.156 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.02523, allocations: 4 kB / 286.2 MB, free: 3.152 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.243e-06/0.02523, allocations: 0 / 286.2 MB, free: 3.152 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006866/0.02592, allocations: 0.5906 MB / 286.8 MB, free: 2.457 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001052/0.02697, allocations: 0.6141 MB / 287.4 MB, free: 1.801 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.02698, allocations: 0 / 287.4 MB, free: 1.801 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002417/0.02722, allocations: 55.91 kB / 287.5 MB, free: 1.746 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.02722, allocations: 4 kB / 287.5 MB, free: 1.742 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.601e-05/0.02724, allocations: 0 / 287.5 MB, free: 1.742 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.389e-06/0.02724, allocations: 4 kB / 287.5 MB, free: 1.738 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.02724, allocations: 0 / 287.5 MB, free: 1.738 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006996/0.02794, allocations: 426.9 kB / 287.9 MB, free: 1.305 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001375/0.02808, allocations: 59.7 kB / 287.9 MB, free: 1.246 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.607e-05/0.02813, allocations: 8 kB / 287.9 MB, free: 1.238 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000216/0.02835, allocations: 15.98 kB / 288 MB, free: 1.223 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.084e-05/0.02841, allocations: 23.84 kB / 288 MB, free: 1.199 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.383e-05/0.02843, allocations: 8 kB / 288 MB, free: 1.191 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003958/0.02883, allocations: 315.2 kB / 288.3 MB, free: 0.8828 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02883, allocations: 0 / 288.3 MB, free: 0.8828 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004207/0.02925, allocations: 95.89 kB / 288.4 MB, free: 0.7891 MB / 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.001938/0.03119, allocations: 444 kB / 288.8 MB, free: 0.5 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006463/0.03184, allocations: 310.5 kB / 289.1 MB, free: 188 kB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.86e-06/0.03184, allocations: 4 kB / 289.1 MB, free: 184 kB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001769/0.03202, allocations: 84.56 kB / 289.2 MB, free: 100 kB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006028/0.03262, allocations: 101.8 kB / 289.3 MB, free: 15.99 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001554/0.03417, allocations: 0.7499 MB / 290.1 MB, free: 15.21 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000232/0.03441, allocations: 195.2 kB / 290.3 MB, free: 15 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001511/0.03456, allocations: 42.95 kB / 290.3 MB, free: 14.96 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.321e-05/0.03464, allocations: 32.5 kB / 290.3 MB, free: 14.93 MB / 282.7 MB Notification: Performance of SimCode: time 4.11e-07/0.03464, allocations: 0 / 290.3 MB, free: 14.93 MB / 282.7 MB Notification: Performance of Templates: time 0.01356/0.0482, allocations: 6.453 MB / 296.8 MB, free: 8.625 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.551351975998841]