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.001839/0.001839, allocations: 106.1 kB / 19.8 MB, free: 2.5 MB / 14.72 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.002261/0.002261, allocations: 217.3 kB / 22.99 MB, free: 5.574 MB / 14.72 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.423/1.423, allocations: 230.2 MB / 256.2 MB, free: 8.555 MB / 206.1 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 0.001812/0.001812, allocations: 59.89 kB / 376.4 MB, free: 3.629 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2552/0.257, allocations: 53.34 MB / 429.8 MB, free: 7.523 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.00422/0.2612, allocations: 2.898 MB / 432.7 MB, free: 4.609 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002327/0.2635, allocations: 1.417 MB / 434.1 MB, free: 3.184 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001338/0.2636, allocations: 7.938 kB / 434.1 MB, free: 3.176 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000482/0.2641, allocations: 183.1 kB / 434.3 MB, free: 2.996 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005102/0.2646, allocations: 254.6 kB / 434.5 MB, free: 2.746 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002864/0.2649, allocations: 139.6 kB / 434.7 MB, free: 2.609 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005145/0.2654, allocations: 461.9 kB / 435.1 MB, free: 2.156 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001622/0.2656, allocations: 67.81 kB / 435.2 MB, free: 2.09 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002213/0.2658, allocations: 183.3 kB / 435.4 MB, free: 1.91 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002898/0.2661, allocations: 219.1 kB / 435.6 MB, free: 1.695 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.084e-05/0.2662, allocations: 28 kB / 435.6 MB, free: 1.668 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000141/0.2663, allocations: 71.98 kB / 435.7 MB, free: 1.598 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001068/0.2664, allocations: 87.61 kB / 435.8 MB, free: 1.512 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002079/0.2666, allocations: 198.9 kB / 436 MB, free: 1.316 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005992/0.2672, allocations: 491.2 kB / 436.4 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.2672, allocations: 8 kB / 436.5 MB, free: 0.832 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.2672, allocations: 0 / 436.5 MB, free: 0.832 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.178e-05/0.2672, allocations: 0 / 436.5 MB, free: 0.832 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.001079/0.2683, allocations: 0.7159 MB / 437.2 MB, free: 68 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.18e-05/0.2683, allocations: 8.031 kB / 437.2 MB, free: 60 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.505e-05/0.2684, allocations: 48.66 kB / 437.2 MB, free: 12 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004716/0.2689, allocations: 358.9 kB / 437.6 MB, free: 15.62 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.37e-05/0.2689, allocations: 12.81 kB / 437.6 MB, free: 15.61 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.018e-05/0.269, allocations: 20.38 kB / 437.6 MB, free: 15.59 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004892/0.2695, allocations: 293.8 kB / 437.9 MB, free: 15.26 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.728e-05/0.2695, allocations: 4 kB / 437.9 MB, free: 15.26 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.561e-05/0.2695, allocations: 7.938 kB / 437.9 MB, free: 15.25 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.488e-06/0.2695, allocations: 8 kB / 437.9 MB, free: 15.24 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003006/0.2698, allocations: 145.7 kB / 438.1 MB, free: 15.1 MB / 350.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.001358/0.2712, allocations: 0.8363 MB / 438.9 MB, free: 14.19 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003939/0.2716, allocations: 175.1 kB / 439.1 MB, free: 14.01 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001487/0.2717, allocations: 76.39 kB / 439.1 MB, free: 13.94 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3e-05/0.2717, allocations: 8 kB / 439.1 MB, free: 13.93 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002542/0.272, allocations: 135.3 kB / 439.3 MB, free: 13.79 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 1.613e-06/0.272, allocations: 0 / 439.3 MB, free: 13.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=23): time 0.0008614/0.2729, allocations: 410.2 kB / 439.7 MB, free: 13.36 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001906/0.2731, allocations: 312.4 kB / 440 MB, free: 12.98 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005053/0.2736, allocations: 449.6 kB / 440.4 MB, free: 12.53 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.223e-05/0.2736, allocations: 33.7 kB / 440.5 MB, free: 12.49 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001975/0.2738, allocations: 200.4 kB / 440.6 MB, free: 12.29 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.1e-05/0.2739, allocations: 83.27 kB / 440.7 MB, free: 12.21 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.95e-05/0.274, allocations: 57.7 kB / 440.8 MB, free: 12.14 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001806/0.2742, allocations: 346.8 kB / 441.1 MB, free: 11.8 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001394/0.2743, allocations: 67.97 kB / 441.2 MB, free: 11.73 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002477/0.2745, allocations: 179.9 kB / 441.4 MB, free: 11.51 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003091/0.2748, allocations: 171.3 kB / 441.5 MB, free: 11.33 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.2748, allocations: 0 / 441.5 MB, free: 11.33 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004864/0.2753, allocations: 278 kB / 441.8 MB, free: 11.05 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.2753, allocations: 7.938 kB / 441.8 MB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.2754, allocations: 4 kB / 441.8 MB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001302/0.2755, allocations: 36.72 kB / 441.9 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002223/0.2757, allocations: 56.06 kB / 441.9 MB, free: 10.95 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001633/0.2773, allocations: 1.567 MB / 443.5 MB, free: 9.238 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002012/0.2775, allocations: 27.88 kB / 443.5 MB, free: 9.211 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.065e-05/0.2776, allocations: 12 kB / 443.5 MB, free: 9.199 MB / 350.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.0002112/0.2778, allocations: 165.8 kB / 443.7 MB, free: 9.027 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.319e-05/0.2778, allocations: 39.77 kB / 443.7 MB, free: 8.988 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005121/0.2783, allocations: 265.9 kB / 444 MB, free: 8.719 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.2784, allocations: 8 kB / 444 MB, free: 8.711 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.2784, allocations: 3.938 kB / 444 MB, free: 8.707 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005848/0.2789, allocations: 0.5761 MB / 444.6 MB, free: 8.027 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009857/0.2799, allocations: 0.7013 MB / 445.3 MB, free: 7.266 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.2799, allocations: 3.938 kB / 445.3 MB, free: 7.262 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002128/0.2801, allocations: 43.97 kB / 445.3 MB, free: 7.219 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.2801, allocations: 0 / 445.3 MB, free: 7.219 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.127e-05/0.2802, allocations: 11.94 kB / 445.3 MB, free: 7.207 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.818e-06/0.2802, allocations: 8.094 kB / 445.3 MB, free: 7.199 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.2802, allocations: 7.922 kB / 445.3 MB, free: 7.191 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005986/0.2808, allocations: 403.1 kB / 445.7 MB, free: 6.781 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001578/0.2809, allocations: 144.7 kB / 445.9 MB, free: 6.621 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.702e-05/0.281, allocations: 15.97 kB / 445.9 MB, free: 6.605 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002077/0.2812, allocations: 12 kB / 445.9 MB, free: 6.594 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.215e-05/0.2812, allocations: 8.047 kB / 445.9 MB, free: 6.586 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.722e-05/0.2813, allocations: 15.98 kB / 445.9 MB, free: 6.57 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003811/0.2816, allocations: 319.1 kB / 446.2 MB, free: 6.266 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2816, allocations: 0 / 446.2 MB, free: 6.266 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000374/0.282, allocations: 91.94 kB / 446.3 MB, free: 6.176 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.001463/0.2835, allocations: 418.8 kB / 446.7 MB, free: 5.898 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006124/0.2841, allocations: 306.6 kB / 447 MB, free: 5.586 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.2841, allocations: 0 / 447 MB, free: 5.586 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001611/0.2843, allocations: 75.86 kB / 447.1 MB, free: 5.512 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005592/0.2848, allocations: 105.6 kB / 447.2 MB, free: 5.406 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001466/0.2863, allocations: 0.7984 MB / 448 MB, free: 4.574 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004477/0.2867, allocations: 0.7998 MB / 448.8 MB, free: 3.742 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000146/0.2869, allocations: 46.94 kB / 448.9 MB, free: 3.699 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.597e-05/0.287, allocations: 35.42 kB / 448.9 MB, free: 3.664 MB / 350.1 MB Notification: Performance of SimCode: time 5.41e-07/0.287, allocations: 0 / 448.9 MB, free: 3.664 MB / 350.1 MB Notification: Performance of Templates: time 0.01182/0.2988, allocations: 6.296 MB / 455.2 MB, free: 13.46 MB / 366.1 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.595862878486514]