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.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.001642/0.001642, allocations: 112.5 kB / 21.94 MB, free: 12 kB / 14.72 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.001825/0.001825, allocations: 200.8 kB / 25.23 MB, free: 3.539 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.487/1.487, allocations: 207.6 MB / 236 MB, free: 9.977 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.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_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.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002002/0.002002, allocations: 54.89 kB / 348.4 MB, free: 9.551 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3034/0.3054, allocations: 49.16 MB / 397.6 MB, free: 9.492 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.004451/0.3099, allocations: 2.862 MB / 400.5 MB, free: 7.484 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002021/0.3119, allocations: 1.204 MB / 401.7 MB, free: 6.641 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002793/0.3122, allocations: 12.31 kB / 401.7 MB, free: 6.633 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005405/0.3127, allocations: 186.2 kB / 401.9 MB, free: 6.566 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004787/0.3132, allocations: 212.2 kB / 402.1 MB, free: 6.449 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004664/0.3136, allocations: 153.5 kB / 402.2 MB, free: 6.363 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000648/0.3143, allocations: 446.7 kB / 402.6 MB, free: 6.152 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001993/0.3145, allocations: 78.69 kB / 402.7 MB, free: 6.105 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002754/0.3148, allocations: 186.1 kB / 402.9 MB, free: 6.027 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003112/0.3151, allocations: 212.7 kB / 403.1 MB, free: 5.941 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.715e-05/0.3151, allocations: 29.53 kB / 403.1 MB, free: 5.941 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000179/0.3153, allocations: 69.19 kB / 403.2 MB, free: 5.93 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001101/0.3154, allocations: 91.27 kB / 403.3 MB, free: 5.871 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000214/0.3156, allocations: 202.3 kB / 403.5 MB, free: 5.746 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006384/0.3163, allocations: 484.8 kB / 404 MB, free: 5.559 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.3163, allocations: 0 / 404 MB, free: 5.559 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.3163, allocations: 1.344 kB / 404 MB, free: 5.559 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.599e-05/0.3163, allocations: 3.938 kB / 404 MB, free: 5.555 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.0009292/0.3172, allocations: 0.6272 MB / 404.6 MB, free: 5.066 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.3173, allocations: 13.23 kB / 404.6 MB, free: 5.062 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.799e-05/0.3174, allocations: 52.81 kB / 404.7 MB, free: 5.035 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004649/0.3178, allocations: 284.5 kB / 404.9 MB, free: 4.812 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.522e-05/0.3178, allocations: 18.03 kB / 405 MB, free: 4.805 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.104e-05/0.3179, allocations: 20.59 kB / 405 MB, free: 4.797 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004297/0.3183, allocations: 294.8 kB / 405.3 MB, free: 4.594 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.51e-05/0.3183, allocations: 0 / 405.3 MB, free: 4.594 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.039e-05/0.3184, allocations: 11.84 kB / 405.3 MB, free: 4.586 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.3184, allocations: 6.031 kB / 405.3 MB, free: 4.586 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002843/0.3187, allocations: 151.4 kB / 405.4 MB, free: 4.535 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.001353/0.32, allocations: 0.7909 MB / 406.2 MB, free: 3.984 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004021/0.3204, allocations: 179 kB / 406.4 MB, free: 3.902 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001343/0.3205, allocations: 75.05 kB / 406.5 MB, free: 3.863 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.207e-05/0.3206, allocations: 4.219 kB / 406.5 MB, free: 3.863 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002682/0.3208, allocations: 139.4 kB / 406.6 MB, free: 3.777 MB / 318.1 MB Notification: Performance of pre-optimization done (n=23): time 1.623e-06/0.3208, allocations: 0 / 406.6 MB, free: 3.777 MB / 318.1 MB Notification: Performance of matching and sorting (n=23): time 0.0008195/0.3217, allocations: 321.4 kB / 406.9 MB, free: 3.637 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.65e-05/0.3218, allocations: 325.2 kB / 407.2 MB, free: 3.25 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004542/0.3222, allocations: 432.7 kB / 407.7 MB, free: 3.047 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.615e-05/0.3222, allocations: 33.3 kB / 407.7 MB, free: 3.012 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001288/0.3224, allocations: 202.2 kB / 407.9 MB, free: 2.844 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.568e-05/0.3224, allocations: 80.83 kB / 408 MB, free: 2.781 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.771e-05/0.3225, allocations: 57 kB / 408 MB, free: 2.746 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.486e-05/0.3226, allocations: 348.6 kB / 408.4 MB, free: 2.418 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001305/0.3227, allocations: 68.22 kB / 408.4 MB, free: 2.391 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00019/0.3229, allocations: 167.1 kB / 408.6 MB, free: 2.246 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00026/0.3232, allocations: 176.7 kB / 408.8 MB, free: 2.141 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.3232, allocations: 5.219 kB / 408.8 MB, free: 2.137 MB / 318.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004735/0.3237, allocations: 278.4 kB / 409.1 MB, free: 1.996 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.3237, allocations: 5.312 kB / 409.1 MB, free: 1.996 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.3237, allocations: 3.984 kB / 409.1 MB, free: 1.992 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000166/0.3238, allocations: 34.03 kB / 409.1 MB, free: 1.977 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002165/0.3241, allocations: 55.89 kB / 409.1 MB, free: 1.969 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001161/0.3252, allocations: 1.474 MB / 410.6 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002511/0.3255, allocations: 26.06 kB / 410.6 MB, free: 0.5703 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.731e-05/0.3255, allocations: 10.88 kB / 410.7 MB, free: 0.5664 MB / 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.0001694/0.3257, allocations: 163 kB / 410.8 MB, free: 440 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.499e-05/0.3257, allocations: 44.33 kB / 410.9 MB, free: 416 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004488/0.3262, allocations: 258.9 kB / 411.1 MB, free: 280 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.3262, allocations: 7.25 kB / 411.1 MB, free: 276 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-06/0.3262, allocations: 0 / 411.1 MB, free: 276 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005308/0.3267, allocations: 0.5844 MB / 411.7 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001107/0.3278, allocations: 0.6747 MB / 412.4 MB, free: 15.22 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.3278, allocations: 0.6094 kB / 412.4 MB, free: 15.22 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002091/0.328, allocations: 46.64 kB / 412.4 MB, free: 15.21 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.01e-06/0.328, allocations: 9.875 kB / 412.4 MB, free: 15.21 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.831e-05/0.328, allocations: 6.406 kB / 412.4 MB, free: 15.2 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.328, allocations: 0.75 kB / 412.4 MB, free: 15.2 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.328, allocations: 0 / 412.4 MB, free: 15.2 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006406/0.3287, allocations: 400.5 kB / 412.8 MB, free: 14.96 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001537/0.3288, allocations: 64.47 kB / 412.9 MB, free: 14.92 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.356e-05/0.3289, allocations: 7.312 kB / 412.9 MB, free: 14.92 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002162/0.3291, allocations: 16.06 kB / 412.9 MB, free: 14.91 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.526e-05/0.3292, allocations: 13.05 kB / 412.9 MB, free: 14.91 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.748e-05/0.3292, allocations: 6.062 kB / 412.9 MB, free: 14.91 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004287/0.3296, allocations: 311.4 kB / 413.2 MB, free: 14.77 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3296, allocations: 0 / 413.2 MB, free: 14.77 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004612/0.3301, allocations: 96.67 kB / 413.3 MB, free: 14.75 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.001632/0.3317, allocations: 414.2 kB / 413.7 MB, free: 14.39 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008119/0.3325, allocations: 306.4 kB / 414 MB, free: 14.21 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.3325, allocations: 0.875 kB / 414 MB, free: 14.21 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001733/0.3327, allocations: 70.98 kB / 414.1 MB, free: 14.19 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006863/0.3334, allocations: 115.7 kB / 414.2 MB, free: 14.13 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001907/0.3353, allocations: 0.8316 MB / 415.1 MB, free: 13.62 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005482/0.3358, allocations: 0.7983 MB / 415.9 MB, free: 12.91 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001022/0.3359, allocations: 34.94 kB / 415.9 MB, free: 12.9 MB / 334.1 MB Notification: Performance of SimCode: time 1.042e-06/0.336, allocations: 0 / 415.9 MB, free: 12.9 MB / 334.1 MB Notification: Performance of Templates: time 0.0114/0.3474, allocations: 5.885 MB / 421.8 MB, free: 9.77 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/TestOpenTank/TestOpenTank.csv","/var/lib/jenkins1/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: 8.412775923963636]