Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001214/0.001214, allocations: 111.1 kB / 20.44 MB, free: 1.176 MB / 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.001485/0.001485, allocations: 203.9 kB / 23.73 MB, free: 4.379 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.457/1.457, allocations: 230.6 MB / 257.5 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001578/0.001578, allocations: 48.06 kB / 378.2 MB, free: 2.574 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2505/0.2521, allocations: 53.36 MB / 431.6 MB, free: 6.746 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.004551/0.2566, allocations: 2.696 MB / 434.3 MB, free: 4.039 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002608/0.2592, allocations: 1.332 MB / 435.6 MB, free: 2.703 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002293/0.2595, allocations: 7.938 kB / 435.6 MB, free: 2.695 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005784/0.2601, allocations: 179.1 kB / 435.8 MB, free: 2.52 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006203/0.2607, allocations: 242.6 kB / 436 MB, free: 2.281 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003437/0.261, allocations: 151.6 kB / 436.2 MB, free: 2.133 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005847/0.2616, allocations: 461.9 kB / 436.6 MB, free: 1.68 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001823/0.2618, allocations: 60.33 kB / 436.7 MB, free: 1.621 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002602/0.262, allocations: 187.3 kB / 436.8 MB, free: 1.438 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003053/0.2624, allocations: 223.1 kB / 437.1 MB, free: 1.219 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.171e-05/0.2624, allocations: 32 kB / 437.1 MB, free: 1.188 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001496/0.2626, allocations: 75.98 kB / 437.2 MB, free: 1.113 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001269/0.2627, allocations: 87.67 kB / 437.3 MB, free: 1.027 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002206/0.2629, allocations: 167.1 kB / 437.4 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006023/0.2635, allocations: 495.2 kB / 437.9 MB, free: 392 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.2635, allocations: 0 / 437.9 MB, free: 392 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.2635, allocations: 0 / 437.9 MB, free: 392 kB / 334.1 MB Notification: Performance of Transformations before backend: time 7.084e-06/0.2635, allocations: 0 / 437.9 MB, free: 392 kB / 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.001125/0.2646, allocations: 0.6405 MB / 438.5 MB, free: 15.71 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.481e-05/0.2647, allocations: 12.03 kB / 438.6 MB, free: 15.7 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.922e-05/0.2648, allocations: 48.66 kB / 438.6 MB, free: 15.65 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005268/0.2653, allocations: 289.1 kB / 438.9 MB, free: 15.34 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.859e-05/0.2653, allocations: 20.8 kB / 438.9 MB, free: 15.32 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.897e-05/0.2654, allocations: 24.11 kB / 438.9 MB, free: 15.3 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006648/0.266, allocations: 0.5878 MB / 439.5 MB, free: 14.6 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.447e-05/0.2661, allocations: 0 / 439.5 MB, free: 14.6 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.918e-05/0.2661, allocations: 8 kB / 439.5 MB, free: 14.59 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.2661, allocations: 4 kB / 439.5 MB, free: 14.59 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003131/0.2664, allocations: 153.7 kB / 439.7 MB, free: 14.44 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.001323/0.2677, allocations: 0.6453 MB / 440.3 MB, free: 13.75 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004025/0.2681, allocations: 177.5 kB / 440.5 MB, free: 13.57 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001532/0.2683, allocations: 72.83 kB / 440.6 MB, free: 13.5 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.183e-05/0.2683, allocations: 4 kB / 440.6 MB, free: 13.5 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003002/0.2686, allocations: 182.7 kB / 440.7 MB, free: 13.29 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 1.773e-06/0.2686, allocations: 4 kB / 440.8 MB, free: 13.29 MB / 350.1 MB Notification: Performance of matching and sorting (n=23): time 0.0008508/0.2695, allocations: 335.2 kB / 441.1 MB, free: 12.96 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001742/0.2696, allocations: 320.4 kB / 441.4 MB, free: 12.57 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004846/0.2701, allocations: 433.6 kB / 441.8 MB, free: 12.14 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.489e-05/0.2702, allocations: 37.69 kB / 441.9 MB, free: 12.09 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001695/0.2703, allocations: 200.4 kB / 442 MB, free: 11.89 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.082e-05/0.2704, allocations: 83.33 kB / 442.1 MB, free: 11.81 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.878e-05/0.2705, allocations: 57.7 kB / 442.2 MB, free: 11.75 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001778/0.2707, allocations: 350.8 kB / 442.5 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001472/0.2708, allocations: 63.91 kB / 442.6 MB, free: 11.33 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003836/0.2712, allocations: 437.8 kB / 443 MB, free: 10.8 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003246/0.2715, allocations: 175.3 kB / 443.2 MB, free: 10.62 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.2715, allocations: 0 / 443.2 MB, free: 10.62 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005052/0.2721, allocations: 274.2 kB / 443.5 MB, free: 10.34 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.2721, allocations: 12 kB / 443.5 MB, free: 10.33 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.2721, allocations: 0 / 443.5 MB, free: 10.33 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001324/0.2722, allocations: 36.78 kB / 443.5 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002336/0.2724, allocations: 47.97 kB / 443.6 MB, free: 10.24 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001557/0.274, allocations: 1.44 MB / 445 MB, free: 8.695 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002115/0.2742, allocations: 27.86 kB / 445 MB, free: 8.668 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.986e-05/0.2742, allocations: 16 kB / 445 MB, free: 8.652 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.0002074/0.2744, allocations: 171.8 kB / 445.2 MB, free: 8.477 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.767e-05/0.2745, allocations: 39.77 kB / 445.2 MB, free: 8.438 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005435/0.275, allocations: 273.8 kB / 445.5 MB, free: 8.164 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.2751, allocations: 0 / 445.5 MB, free: 8.164 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.2751, allocations: 3.938 kB / 445.5 MB, free: 8.16 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005876/0.2756, allocations: 0.5828 MB / 446.1 MB, free: 7.473 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009232/0.2766, allocations: 0.605 MB / 446.7 MB, free: 6.828 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.2766, allocations: 8 kB / 446.7 MB, free: 6.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002317/0.2768, allocations: 51.91 kB / 446.8 MB, free: 6.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.508e-06/0.2768, allocations: 3.938 kB / 446.8 MB, free: 6.766 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.029e-05/0.2768, allocations: 8 kB / 446.8 MB, free: 6.758 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.2768, allocations: 0 / 446.8 MB, free: 6.758 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.736e-06/0.2768, allocations: 3.984 kB / 446.8 MB, free: 6.754 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006245/0.2775, allocations: 407.3 kB / 447.2 MB, free: 6.34 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001436/0.2776, allocations: 63.62 kB / 447.2 MB, free: 6.277 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.952e-05/0.2776, allocations: 11.94 kB / 447.2 MB, free: 6.266 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002249/0.2779, allocations: 16.16 kB / 447.3 MB, free: 6.25 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.266e-05/0.2779, allocations: 23.77 kB / 447.3 MB, free: 6.227 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.351e-05/0.278, allocations: 8 kB / 447.3 MB, free: 6.219 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003523/0.2783, allocations: 311.1 kB / 447.6 MB, free: 5.918 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2783, allocations: 0 / 447.6 MB, free: 5.918 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004024/0.2787, allocations: 103.8 kB / 447.7 MB, free: 5.816 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 (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.00165/0.2804, allocations: 442.9 kB / 448.1 MB, free: 5.559 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006383/0.281, allocations: 306.4 kB / 448.4 MB, free: 5.246 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.281, allocations: 4 kB / 448.4 MB, free: 5.242 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001734/0.2812, allocations: 82.02 kB / 448.5 MB, free: 5.164 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005643/0.2817, allocations: 93.62 kB / 448.6 MB, free: 5.074 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001486/0.2832, allocations: 0.8311 MB / 449.4 MB, free: 4.211 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002077/0.2834, allocations: 199.4 kB / 449.6 MB, free: 3.988 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001468/0.2836, allocations: 42.95 kB / 449.7 MB, free: 3.949 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.472e-05/0.2837, allocations: 31.38 kB / 449.7 MB, free: 3.918 MB / 350.1 MB Notification: Performance of SimCode: time 4.1e-07/0.2837, allocations: 0 / 449.7 MB, free: 3.918 MB / 350.1 MB Notification: Performance of Templates: time 0.01296/0.2966, allocations: 7.006 MB / 456.7 MB, free: 13.08 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.sim & ./Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.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.676320270169526]