Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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.001808/0.001808, allocations: 113 kB / 19.04 MB, free: 3.254 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.001972/0.001972, allocations: 197.9 kB / 22.22 MB, free: 72 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.425/1.425, allocations: 225.6 MB / 250.8 MB, free: 13.32 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.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.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001457/0.001457, allocations: 51.91 kB / 368.7 MB, free: 10.17 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2688/0.2703, allocations: 52.14 MB / 420.9 MB, free: 15.12 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.004543/0.2748, allocations: 2.884 MB / 423.7 MB, free: 12.21 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002163/0.277, allocations: 1.289 MB / 425 MB, free: 10.92 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00013/0.2771, allocations: 0 / 425 MB, free: 10.92 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004774/0.2776, allocations: 179.1 kB / 425.2 MB, free: 10.74 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004386/0.278, allocations: 210.8 kB / 425.4 MB, free: 10.54 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004246/0.2784, allocations: 171.5 kB / 425.6 MB, free: 10.37 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005423/0.279, allocations: 454 kB / 426 MB, free: 9.922 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001677/0.2791, allocations: 75.42 kB / 426.1 MB, free: 9.844 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002199/0.2794, allocations: 175.4 kB / 426.3 MB, free: 9.672 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002808/0.2796, allocations: 219.1 kB / 426.5 MB, free: 9.457 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.29e-05/0.2797, allocations: 32 kB / 426.5 MB, free: 9.426 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001387/0.2798, allocations: 63.98 kB / 426.6 MB, free: 9.363 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001081/0.2799, allocations: 87.67 kB / 426.7 MB, free: 9.277 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000205/0.2801, allocations: 198.9 kB / 426.9 MB, free: 9.082 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005847/0.2807, allocations: 495.2 kB / 427.3 MB, free: 8.602 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.2807, allocations: 0 / 427.3 MB, free: 8.602 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.2807, allocations: 0 / 427.3 MB, free: 8.602 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.163e-06/0.2807, allocations: 0 / 427.3 MB, free: 8.602 MB / 334.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.001138/0.2819, allocations: 0.7043 MB / 428 MB, free: 7.848 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.155e-05/0.2819, allocations: 8.031 kB / 428 MB, free: 7.84 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.132e-05/0.282, allocations: 56.59 kB / 428.1 MB, free: 7.785 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005332/0.2825, allocations: 346.9 kB / 428.4 MB, free: 7.41 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.165e-05/0.2826, allocations: 16.81 kB / 428.5 MB, free: 7.395 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.299e-05/0.2826, allocations: 20.12 kB / 428.5 MB, free: 7.375 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005144/0.2831, allocations: 289.5 kB / 428.8 MB, free: 7.051 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.743e-05/0.2831, allocations: 4 kB / 428.8 MB, free: 7.047 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.772e-05/0.2832, allocations: 8 kB / 428.8 MB, free: 7.039 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.13e-05/0.2832, allocations: 11.94 kB / 428.8 MB, free: 7.027 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003008/0.2835, allocations: 141.7 kB / 428.9 MB, free: 6.887 MB / 334.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.001366/0.2848, allocations: 0.8361 MB / 429.8 MB, free: 5.98 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004084/0.2852, allocations: 171.1 kB / 429.9 MB, free: 5.805 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001548/0.2854, allocations: 76.83 kB / 430 MB, free: 5.727 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.141e-05/0.2854, allocations: 0 / 430 MB, free: 5.727 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002766/0.2857, allocations: 134.7 kB / 430.1 MB, free: 5.586 MB / 334.1 MB Notification: Performance of pre-optimization done (n=23): time 1.483e-06/0.2857, allocations: 0 / 430.1 MB, free: 5.586 MB / 334.1 MB Notification: Performance of matching and sorting (n=23): time 0.000888/0.2866, allocations: 411.1 kB / 430.5 MB, free: 5.156 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001867/0.2868, allocations: 312.4 kB / 430.8 MB, free: 4.777 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005055/0.2873, allocations: 433.7 kB / 431.3 MB, free: 4.34 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.386e-05/0.2873, allocations: 33.7 kB / 431.3 MB, free: 4.301 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001729/0.2875, allocations: 196.4 kB / 431.5 MB, free: 4.105 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.996e-05/0.2876, allocations: 83.28 kB / 431.6 MB, free: 4.023 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.419e-05/0.2877, allocations: 57.7 kB / 431.6 MB, free: 3.961 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001678/0.2878, allocations: 350.8 kB / 432 MB, free: 3.609 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001477/0.288, allocations: 59.98 kB / 432 MB, free: 3.551 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002579/0.2882, allocations: 179.9 kB / 432.2 MB, free: 3.332 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003131/0.2886, allocations: 179.3 kB / 432.4 MB, free: 3.145 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.2886, allocations: 3.938 kB / 432.4 MB, free: 3.141 MB / 334.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004903/0.2891, allocations: 266.1 kB / 432.6 MB, free: 2.871 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.2891, allocations: 8 kB / 432.6 MB, free: 2.863 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.2891, allocations: 8.078 kB / 432.7 MB, free: 2.855 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000134/0.2892, allocations: 32.84 kB / 432.7 MB, free: 2.82 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002184/0.2894, allocations: 47.92 kB / 432.7 MB, free: 2.773 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001685/0.2911, allocations: 1.59 MB / 434.3 MB, free: 1.039 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002029/0.2913, allocations: 23.84 kB / 434.3 MB, free: 1.016 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.655e-05/0.2913, allocations: 4 kB / 434.4 MB, free: 1.012 MB / 334.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.0001994/0.2915, allocations: 174.5 kB / 434.5 MB, free: 0.832 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.284e-05/0.2916, allocations: 43.77 kB / 434.6 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005172/0.2921, allocations: 265.9 kB / 434.8 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.2921, allocations: 7.938 kB / 434.8 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-06/0.2921, allocations: 0 / 434.8 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005931/0.2927, allocations: 0.5856 MB / 435.4 MB, free: 15.82 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009632/0.2937, allocations: 0.7039 MB / 436.1 MB, free: 15.06 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.2937, allocations: 4 kB / 436.1 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002285/0.2939, allocations: 43.98 kB / 436.2 MB, free: 15.01 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.2939, allocations: 4 kB / 436.2 MB, free: 15.01 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.82e-05/0.2939, allocations: 3.984 kB / 436.2 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.848e-06/0.2939, allocations: 4 kB / 436.2 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.2939, allocations: 0 / 436.2 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006142/0.2945, allocations: 405.7 kB / 436.6 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001527/0.2947, allocations: 136.8 kB / 436.7 MB, free: 14.44 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.167e-05/0.2947, allocations: 8 kB / 436.7 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002084/0.295, allocations: 12.06 kB / 436.7 MB, free: 14.42 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.075e-05/0.295, allocations: 16.2 kB / 436.7 MB, free: 14.4 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.511e-05/0.295, allocations: 8 kB / 436.8 MB, free: 14.39 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003502/0.2954, allocations: 315.1 kB / 437.1 MB, free: 14.09 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2954, allocations: 0 / 437.1 MB, free: 14.09 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003793/0.2958, allocations: 87.94 kB / 437.1 MB, free: 14 MB / 350.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.001528/0.2973, allocations: 425.7 kB / 437.6 MB, free: 13.74 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006322/0.2979, allocations: 318.2 kB / 437.9 MB, free: 13.41 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.2979, allocations: 0 / 437.9 MB, free: 13.41 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001623/0.2981, allocations: 71.92 kB / 437.9 MB, free: 13.34 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005626/0.2986, allocations: 109.2 kB / 438 MB, free: 13.24 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00149/0.3001, allocations: 0.7975 MB / 438.8 MB, free: 12.42 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004736/0.3006, allocations: 0.796 MB / 439.6 MB, free: 11.59 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001619/0.3008, allocations: 46.94 kB / 439.7 MB, free: 11.55 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.355e-05/0.3008, allocations: 31.44 kB / 439.7 MB, free: 11.52 MB / 350.1 MB Notification: Performance of SimCode: time 4e-07/0.3008, allocations: 0 / 439.7 MB, free: 11.52 MB / 350.1 MB Notification: Performance of Templates: time 0.01278/0.3136, allocations: 6.268 MB / 446 MB, free: 5.359 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.sim & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/TestOpenTank/TestOpenTank.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.610272340476513]