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.001656/0.001656, allocations: 122.5 kB / 18.5 MB, free: 4.52 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.00137/0.00137, allocations: 215.2 kB / 21.46 MB, free: 1.566 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.424/1.424, allocations: 230.2 MB / 254.5 MB, free: 15.05 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.001886/0.001886, allocations: 63.89 kB / 373.8 MB, free: 9.898 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09708/0.09897, allocations: 53.32 MB / 427.1 MB, free: 4.477 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.004228/0.1032, allocations: 2.888 MB / 430 MB, free: 1.574 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002258/0.1055, allocations: 1.414 MB / 431.4 MB, free: 156 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001269/0.1056, allocations: 7.938 kB / 431.4 MB, free: 148 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.1884/0.294, allocations: 178.8 kB / 431.6 MB, free: 8.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007843/0.2948, allocations: 244.5 kB / 431.9 MB, free: 8.07 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003613/0.2952, allocations: 138.8 kB / 432 MB, free: 8.07 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004698/0.2956, allocations: 457 kB / 432.4 MB, free: 8.07 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001627/0.2958, allocations: 72.23 kB / 432.5 MB, free: 8.062 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001897/0.296, allocations: 184.7 kB / 432.7 MB, free: 8.039 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002305/0.2962, allocations: 221.3 kB / 432.9 MB, free: 8 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.194e-05/0.2963, allocations: 30.06 kB / 432.9 MB, free: 8 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001424/0.2964, allocations: 69.44 kB / 433 MB, free: 8 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.872e-05/0.2965, allocations: 90.44 kB / 433.1 MB, free: 7.98 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001479/0.2966, allocations: 202.1 kB / 433.3 MB, free: 7.918 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004578/0.2971, allocations: 491 kB / 433.8 MB, free: 7.832 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.2971, allocations: 2.906 kB / 433.8 MB, free: 7.832 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2971, allocations: 0 / 433.8 MB, free: 7.832 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.734e-06/0.2971, allocations: 2.578 kB / 433.8 MB, free: 7.832 MB / 350.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.0008706/0.298, allocations: 0.7194 MB / 434.5 MB, free: 7.297 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.85e-05/0.298, allocations: 12.72 kB / 434.5 MB, free: 7.297 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.696e-05/0.2981, allocations: 45.06 kB / 434.5 MB, free: 7.273 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003847/0.2985, allocations: 353.2 kB / 434.9 MB, free: 7.02 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.159e-05/0.2985, allocations: 14.88 kB / 434.9 MB, free: 7.02 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.573e-05/0.2985, allocations: 20.25 kB / 434.9 MB, free: 7.02 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003932/0.2989, allocations: 293.9 kB / 435.2 MB, free: 6.898 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.513e-05/0.2989, allocations: 3.938 kB / 435.2 MB, free: 6.895 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.713e-05/0.299, allocations: 11.91 kB / 435.2 MB, free: 6.895 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.299, allocations: 5 kB / 435.2 MB, free: 6.895 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002761/0.2993, allocations: 148.3 kB / 435.4 MB, free: 6.891 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.001137/0.3004, allocations: 0.8195 MB / 436.2 MB, free: 6.496 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003666/0.3008, allocations: 179.2 kB / 436.4 MB, free: 6.473 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001454/0.3009, allocations: 72.12 kB / 436.4 MB, free: 6.465 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.904e-05/0.3009, allocations: 6.922 kB / 436.5 MB, free: 6.465 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002297/0.3012, allocations: 134 kB / 436.6 MB, free: 6.414 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 1.513e-06/0.3012, allocations: 0 / 436.6 MB, free: 6.414 MB / 350.1 MB Notification: Performance of matching and sorting (n=23): time 0.0007944/0.302, allocations: 414.3 kB / 437 MB, free: 6.25 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.98e-05/0.302, allocations: 314.2 kB / 437.3 MB, free: 5.875 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004264/0.3025, allocations: 442.8 kB / 437.7 MB, free: 5.762 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.31e-05/0.3025, allocations: 33.06 kB / 437.8 MB, free: 5.73 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001114/0.3026, allocations: 206.9 kB / 438 MB, free: 5.621 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.054e-05/0.3027, allocations: 86.48 kB / 438 MB, free: 5.566 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.186e-05/0.3027, allocations: 56.52 kB / 438.1 MB, free: 5.551 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.794e-05/0.3028, allocations: 350.1 kB / 438.4 MB, free: 5.238 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001351/0.3029, allocations: 62.41 kB / 438.5 MB, free: 5.238 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001898/0.3031, allocations: 185.5 kB / 438.7 MB, free: 5.117 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002649/0.3034, allocations: 170.7 kB / 438.9 MB, free: 5.082 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.3034, allocations: 0 / 438.9 MB, free: 5.082 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004233/0.3038, allocations: 277.7 kB / 439.1 MB, free: 4.996 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.3038, allocations: 5.922 kB / 439.1 MB, free: 4.996 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.3038, allocations: 4.969 kB / 439.1 MB, free: 4.992 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001277/0.304, allocations: 31.16 kB / 439.2 MB, free: 4.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002155/0.3042, allocations: 59.02 kB / 439.2 MB, free: 4.973 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001142/0.3053, allocations: 1.572 MB / 440.8 MB, free: 3.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002184/0.3055, allocations: 25.25 kB / 440.8 MB, free: 3.465 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.904e-05/0.3056, allocations: 11.27 kB / 440.8 MB, free: 3.461 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.0001464/0.3057, allocations: 166.7 kB / 441 MB, free: 3.324 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.792e-05/0.3058, allocations: 44.97 kB / 441 MB, free: 3.301 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.609e-05/0.3058, allocations: 42.58 kB / 441.1 MB, free: 3.277 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.3058, allocations: 2.062 kB / 441.1 MB, free: 3.277 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-06/0.3058, allocations: 5.062 kB / 441.1 MB, free: 3.273 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003987/0.3062, allocations: 0.5832 MB / 441.7 MB, free: 2.688 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000827/0.3071, allocations: 0.7042 MB / 442.4 MB, free: 2.207 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.3071, allocations: 1.438 kB / 442.4 MB, free: 2.207 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002093/0.3073, allocations: 51.2 kB / 442.4 MB, free: 2.203 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.3073, allocations: 1.312 kB / 442.4 MB, free: 2.203 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.902e-05/0.3073, allocations: 7.453 kB / 442.4 MB, free: 2.199 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.3073, allocations: 1.438 kB / 442.4 MB, free: 2.199 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.3073, allocations: 4.703 kB / 442.4 MB, free: 2.195 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005101/0.3078, allocations: 409.8 kB / 442.8 MB, free: 1.949 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001087/0.3079, allocations: 148.1 kB / 443 MB, free: 1.809 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.222e-05/0.308, allocations: 8.656 kB / 443 MB, free: 1.805 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002266/0.3082, allocations: 8.766 kB / 443 MB, free: 1.805 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.862e-05/0.3083, allocations: 15.64 kB / 443 MB, free: 1.801 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.282e-05/0.3083, allocations: 6.766 kB / 443 MB, free: 1.801 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000315/0.3086, allocations: 324.2 kB / 443.3 MB, free: 1.652 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3086, allocations: 0 / 443.3 MB, free: 1.652 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003909/0.309, allocations: 89.38 kB / 443.4 MB, free: 1.641 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.001447/0.3104, allocations: 415.5 kB / 443.8 MB, free: 1.477 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005309/0.311, allocations: 296.7 kB / 444.1 MB, free: 1.312 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.311, allocations: 5.25 kB / 444.1 MB, free: 1.309 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001535/0.3111, allocations: 78.03 kB / 444.2 MB, free: 1.289 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005721/0.3117, allocations: 111.4 kB / 444.3 MB, free: 1.238 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001283/0.313, allocations: 0.8058 MB / 445.1 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002179/0.3132, allocations: 0.8024 MB / 445.9 MB, free: 60 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001511/0.3133, allocations: 51.19 kB / 446 MB, free: 48 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.88e-05/0.3134, allocations: 32.94 kB / 446 MB, free: 40 kB / 350.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3134, allocations: 0 / 446 MB, free: 40 kB / 350.1 MB Notification: Performance of Templates: time 0.01234/0.3258, allocations: 6.222 MB / 452.2 MB, free: 15.27 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.698458482511342]