Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.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.001812/0.001812, allocations: 107.8 kB / 19.76 MB, free: 2.551 MB / 14.72 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.002172/0.002172, allocations: 192.8 kB / 22.93 MB, free: 5.582 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.509/1.509, allocations: 207.6 MB / 233.5 MB, free: 10.98 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.TestOpenTank,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|openTank.H|openTank.m",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001735/0.001735, allocations: 52.28 kB / 345.4 MB, free: 10.48 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3124/0.3141, allocations: 49.12 MB / 394.5 MB, free: 9.449 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.00418/0.3183, allocations: 2.878 MB / 397.4 MB, free: 7.422 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001837/0.3201, allocations: 1.199 MB / 398.6 MB, free: 6.582 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002005/0.3203, allocations: 7.75 kB / 398.6 MB, free: 6.578 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005494/0.3209, allocations: 192 kB / 398.8 MB, free: 6.508 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004068/0.3213, allocations: 207.6 kB / 399 MB, free: 6.395 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003479/0.3216, allocations: 146.3 kB / 399.1 MB, free: 6.316 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004682/0.3221, allocations: 451.2 kB / 399.6 MB, free: 6.102 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001655/0.3222, allocations: 71.25 kB / 399.6 MB, free: 6.066 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002092/0.3225, allocations: 182.9 kB / 399.8 MB, free: 5.988 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002424/0.3227, allocations: 221.8 kB / 400 MB, free: 5.895 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.206e-05/0.3228, allocations: 29.03 kB / 400.1 MB, free: 5.895 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000142/0.3229, allocations: 64.7 kB / 400.1 MB, free: 5.887 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000101/0.323, allocations: 90.05 kB / 400.2 MB, free: 5.832 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001943/0.3232, allocations: 189.9 kB / 400.4 MB, free: 5.719 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006122/0.3238, allocations: 493.1 kB / 400.9 MB, free: 5.523 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.3238, allocations: 4 kB / 400.9 MB, free: 5.52 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.3238, allocations: 0 / 400.9 MB, free: 5.52 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.445e-05/0.3238, allocations: 1.156 kB / 400.9 MB, free: 5.52 MB / 318.1 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.001026/0.3248, allocations: 0.7038 MB / 401.6 MB, free: 4.938 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.3249, allocations: 8.75 kB / 401.6 MB, free: 4.938 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001067/0.325, allocations: 52.12 kB / 401.6 MB, free: 4.91 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004625/0.3255, allocations: 350.2 kB / 402 MB, free: 4.613 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.908e-05/0.3255, allocations: 13.08 kB / 402 MB, free: 4.609 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.51e-05/0.3255, allocations: 28.53 kB / 402 MB, free: 4.594 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004668/0.326, allocations: 296.4 kB / 402.3 MB, free: 4.391 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.654e-05/0.326, allocations: 3.984 kB / 402.3 MB, free: 4.387 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.894e-05/0.326, allocations: 11.97 kB / 402.3 MB, free: 4.379 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.326, allocations: 4.969 kB / 402.3 MB, free: 4.379 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002798/0.3263, allocations: 143 kB / 402.5 MB, free: 4.336 MB / 318.1 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.001323/0.3276, allocations: 0.8331 MB / 403.3 MB, free: 3.742 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000437/0.3281, allocations: 169.2 kB / 403.5 MB, free: 3.668 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001461/0.3282, allocations: 68.25 kB / 403.5 MB, free: 3.637 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.592e-05/0.3283, allocations: 8.906 kB / 403.5 MB, free: 3.633 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002974/0.3286, allocations: 139.5 kB / 403.7 MB, free: 3.547 MB / 318.1 MB Notification: Performance of pre-optimization done (n=23): time 1.483e-06/0.3286, allocations: 0 / 403.7 MB, free: 3.547 MB / 318.1 MB Notification: Performance of matching and sorting (n=23): time 0.0008845/0.3294, allocations: 403.7 kB / 404.1 MB, free: 3.309 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.037e-05/0.3295, allocations: 313.1 kB / 404.4 MB, free: 2.934 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004689/0.33, allocations: 438 kB / 404.8 MB, free: 2.727 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.354e-05/0.33, allocations: 31.42 kB / 404.8 MB, free: 2.691 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001223/0.3301, allocations: 203.2 kB / 405 MB, free: 2.523 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.427e-05/0.3302, allocations: 88.47 kB / 405.1 MB, free: 2.453 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.408e-05/0.3303, allocations: 57.41 kB / 405.2 MB, free: 2.418 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.933e-05/0.3304, allocations: 347.6 kB / 405.5 MB, free: 2.09 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001292/0.3305, allocations: 59.45 kB / 405.6 MB, free: 2.07 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001973/0.3307, allocations: 177 kB / 405.8 MB, free: 1.918 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002601/0.3309, allocations: 180.1 kB / 405.9 MB, free: 1.809 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.768e-06/0.3309, allocations: 5.312 kB / 405.9 MB, free: 1.805 MB / 318.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004238/0.3314, allocations: 268.7 kB / 406.2 MB, free: 1.672 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/0.3314, allocations: 5.5 kB / 406.2 MB, free: 1.672 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.3314, allocations: 2.125 kB / 406.2 MB, free: 1.672 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001439/0.3315, allocations: 34.19 kB / 406.2 MB, free: 1.656 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002088/0.3318, allocations: 54.27 kB / 406.3 MB, free: 1.648 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001186/0.3329, allocations: 1.577 MB / 407.9 MB, free: 144 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002236/0.3332, allocations: 33.98 kB / 407.9 MB, free: 120 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.272e-05/0.3332, allocations: 7.484 kB / 407.9 MB, free: 120 kB / 318.1 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.0002213/0.3334, allocations: 173.9 kB / 408.1 MB, free: 15.97 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.65e-05/0.3335, allocations: 40.7 kB / 408.1 MB, free: 15.95 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005116/0.334, allocations: 254.7 kB / 408.4 MB, free: 15.82 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.334, allocations: 10.59 kB / 408.4 MB, free: 15.81 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.893e-06/0.334, allocations: 0.6094 kB / 408.4 MB, free: 15.81 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006293/0.3346, allocations: 0.5829 MB / 409 MB, free: 15.22 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001078/0.3357, allocations: 0.7083 MB / 409.7 MB, free: 14.72 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.3357, allocations: 1.375 kB / 409.7 MB, free: 14.72 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002001/0.3359, allocations: 42.22 kB / 409.7 MB, free: 14.72 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.067e-06/0.3359, allocations: 1.984 kB / 409.7 MB, free: 14.72 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.305e-05/0.3359, allocations: 6.125 kB / 409.7 MB, free: 14.72 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.277e-06/0.3359, allocations: 6.031 kB / 409.7 MB, free: 14.71 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.3359, allocations: 0 / 409.7 MB, free: 14.71 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006182/0.3366, allocations: 399.6 kB / 410.1 MB, free: 14.47 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001541/0.3367, allocations: 138.7 kB / 410.2 MB, free: 14.34 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.091e-05/0.3368, allocations: 8.094 kB / 410.3 MB, free: 14.34 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002016/0.337, allocations: 10.72 kB / 410.3 MB, free: 14.34 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.835e-05/0.337, allocations: 12.48 kB / 410.3 MB, free: 14.34 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.378e-05/0.337, allocations: 10.03 kB / 410.3 MB, free: 14.33 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003896/0.3374, allocations: 316.4 kB / 410.6 MB, free: 14.18 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3374, allocations: 0 / 410.6 MB, free: 14.18 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004104/0.3378, allocations: 95.67 kB / 410.7 MB, free: 14.16 MB / 334.1 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 (23): * Single equations (assignments): 21 * 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.001538/0.3394, allocations: 421.8 kB / 411.1 MB, free: 13.79 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006493/0.34, allocations: 310.9 kB / 411.4 MB, free: 13.61 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 7.564e-06/0.34, allocations: 1.094 kB / 411.4 MB, free: 13.61 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001796/0.3402, allocations: 70.8 kB / 411.5 MB, free: 13.59 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005889/0.3408, allocations: 106.7 kB / 411.6 MB, free: 13.55 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001521/0.3423, allocations: 0.8084 MB / 412.4 MB, free: 13.07 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004998/0.3428, allocations: 0.7963 MB / 413.2 MB, free: 12.36 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001898/0.343, allocations: 44.05 kB / 413.2 MB, free: 12.35 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.233e-05/0.3431, allocations: 32.33 kB / 413.3 MB, free: 12.35 MB / 334.1 MB Notification: Performance of SimCode: time 1.112e-06/0.3431, allocations: 0 / 413.3 MB, free: 12.35 MB / 334.1 MB Notification: Performance of Templates: time 0.01392/0.357, allocations: 6.258 MB / 419.5 MB, free: 9.305 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.sim & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/TestOpenTank/TestOpenTank.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 5.036995142698288]