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.001792/0.001792, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.002176/0.002176, allocations: 207.2 kB / 20.75 MB, free: 2.273 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.583/1.583, allocations: 230.6 MB / 254.1 MB, free: 15.07 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.001741/0.001741, allocations: 47.92 kB / 373.5 MB, free: 9.719 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1021/0.1039, allocations: 53.34 MB / 426.8 MB, free: 4.289 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.004773/0.1086, allocations: 2.882 MB / 429.7 MB, free: 1.391 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.1818/0.2904, allocations: 1.407 MB / 431.1 MB, free: 8.078 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003158/0.2908, allocations: 7.062 kB / 431.1 MB, free: 8.078 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005453/0.2913, allocations: 178.7 kB / 431.3 MB, free: 8.078 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006974/0.292, allocations: 256.8 kB / 431.5 MB, free: 8.074 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003684/0.2924, allocations: 136.3 kB / 431.6 MB, free: 8.07 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005878/0.293, allocations: 458.4 kB / 432.1 MB, free: 8.07 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001763/0.2931, allocations: 72.45 kB / 432.2 MB, free: 8.059 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002376/0.2934, allocations: 192.2 kB / 432.4 MB, free: 8.031 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002554/0.2936, allocations: 214.1 kB / 432.6 MB, free: 7.992 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.702e-05/0.2937, allocations: 31.09 kB / 432.6 MB, free: 7.992 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001407/0.2938, allocations: 71.89 kB / 432.7 MB, free: 7.992 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.176e-05/0.2939, allocations: 87.92 kB / 432.7 MB, free: 7.973 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000139/0.294, allocations: 196.8 kB / 432.9 MB, free: 7.914 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004676/0.2945, allocations: 496.8 kB / 433.4 MB, free: 7.824 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.2945, allocations: 0 / 433.4 MB, free: 7.824 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2945, allocations: 0 / 433.4 MB, free: 7.824 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.323e-06/0.2945, allocations: 2.344 kB / 433.4 MB, free: 7.824 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.0009401/0.2955, allocations: 0.7182 MB / 434.1 MB, free: 7.289 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.2955, allocations: 9.625 kB / 434.2 MB, free: 7.289 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.821e-05/0.2956, allocations: 48.28 kB / 434.2 MB, free: 7.266 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003922/0.296, allocations: 352.5 kB / 434.5 MB, free: 7.012 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.298e-05/0.296, allocations: 18.5 kB / 434.6 MB, free: 7.012 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.11e-05/0.2961, allocations: 19.88 kB / 434.6 MB, free: 7.012 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004346/0.2965, allocations: 299.5 kB / 434.9 MB, free: 6.887 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.542e-05/0.2965, allocations: 0 / 434.9 MB, free: 6.887 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.946e-05/0.2965, allocations: 10.78 kB / 434.9 MB, free: 6.887 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.805e-06/0.2965, allocations: 5.25 kB / 434.9 MB, free: 6.887 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002773/0.2968, allocations: 146.5 kB / 435 MB, free: 6.883 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.001212/0.298, allocations: 0.8295 MB / 435.9 MB, free: 6.484 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003924/0.2984, allocations: 170.1 kB / 436 MB, free: 6.457 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001455/0.2986, allocations: 70.31 kB / 436.1 MB, free: 6.449 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.859e-05/0.2986, allocations: 7.016 kB / 436.1 MB, free: 6.449 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002397/0.2988, allocations: 131.1 kB / 436.2 MB, free: 6.398 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 1.813e-06/0.2988, allocations: 1.719 kB / 436.2 MB, free: 6.398 MB / 350.1 MB Notification: Performance of matching and sorting (n=23): time 0.0009564/0.2998, allocations: 413 kB / 436.6 MB, free: 6.23 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001064/0.2999, allocations: 317.3 kB / 436.9 MB, free: 5.855 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000555/0.3005, allocations: 439.8 kB / 437.4 MB, free: 5.742 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.707e-05/0.3005, allocations: 31.45 kB / 437.4 MB, free: 5.711 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001555/0.3006, allocations: 209.1 kB / 437.6 MB, free: 5.602 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.792e-05/0.3007, allocations: 86.36 kB / 437.7 MB, free: 5.547 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.039e-05/0.3008, allocations: 57.86 kB / 437.8 MB, free: 5.531 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.008e-05/0.3009, allocations: 353 kB / 438.1 MB, free: 5.215 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001398/0.301, allocations: 63.47 kB / 438.2 MB, free: 5.215 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002011/0.3012, allocations: 182.3 kB / 438.3 MB, free: 5.09 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002798/0.3015, allocations: 162.5 kB / 438.5 MB, free: 5.012 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.185e-06/0.3015, allocations: 0 / 438.5 MB, free: 5.012 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004605/0.302, allocations: 283 kB / 438.8 MB, free: 4.867 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.302, allocations: 13.5 kB / 438.8 MB, free: 4.859 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.302, allocations: 1.844 kB / 438.8 MB, free: 4.859 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001324/0.3021, allocations: 33.34 kB / 438.8 MB, free: 4.844 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002251/0.3023, allocations: 52.27 kB / 438.9 MB, free: 4.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001223/0.3036, allocations: 1.573 MB / 440.4 MB, free: 3.336 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000236/0.3038, allocations: 25 kB / 440.5 MB, free: 3.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.796e-05/0.3038, allocations: 7.438 kB / 440.5 MB, free: 3.32 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.0001552/0.304, allocations: 170.5 kB / 440.6 MB, free: 3.176 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.414e-05/0.304, allocations: 46.12 kB / 440.7 MB, free: 3.152 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.88e-05/0.3041, allocations: 43.72 kB / 440.7 MB, free: 3.129 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.3041, allocations: 2.469 kB / 440.7 MB, free: 3.129 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.3041, allocations: 6.844 kB / 440.7 MB, free: 3.125 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004068/0.3045, allocations: 0.5786 MB / 441.3 MB, free: 2.543 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008553/0.3054, allocations: 0.7085 MB / 442 MB, free: 2.059 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.3054, allocations: 0 / 442 MB, free: 2.059 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002198/0.3056, allocations: 50.45 kB / 442.1 MB, free: 2.051 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.3056, allocations: 1.641 kB / 442.1 MB, free: 2.051 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.833e-05/0.3056, allocations: 7.016 kB / 442.1 MB, free: 2.047 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.3056, allocations: 1.719 kB / 442.1 MB, free: 2.047 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3056, allocations: 0 / 442.1 MB, free: 2.047 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005338/0.3062, allocations: 409 kB / 442.5 MB, free: 1.797 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001216/0.3063, allocations: 145.9 kB / 442.6 MB, free: 1.66 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.177e-05/0.3063, allocations: 9.797 kB / 442.6 MB, free: 1.656 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002293/0.3066, allocations: 15.72 kB / 442.7 MB, free: 1.648 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.272e-05/0.3066, allocations: 15.84 kB / 442.7 MB, free: 1.645 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.496e-05/0.3066, allocations: 10.2 kB / 442.7 MB, free: 1.641 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003326/0.307, allocations: 316.9 kB / 443 MB, free: 1.496 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.307, allocations: 0 / 443 MB, free: 1.496 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004233/0.3074, allocations: 93.48 kB / 443.1 MB, free: 1.48 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.001519/0.3089, allocations: 423.5 kB / 443.5 MB, free: 1.32 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006232/0.3095, allocations: 300.2 kB / 443.8 MB, free: 1.148 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.838e-06/0.3095, allocations: 1.156 kB / 443.8 MB, free: 1.148 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001935/0.3097, allocations: 78.88 kB / 443.9 MB, free: 1.121 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006877/0.3104, allocations: 117.4 kB / 444 MB, free: 1.07 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001358/0.3118, allocations: 0.7958 MB / 444.8 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002934/0.3121, allocations: 0.7981 MB / 445.6 MB, free: 15.89 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001623/0.3122, allocations: 47.91 kB / 445.6 MB, free: 15.89 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.241e-05/0.3123, allocations: 32.42 kB / 445.7 MB, free: 15.88 MB / 366.1 MB Notification: Performance of SimCode: time 5e-07/0.3123, allocations: 0 / 445.7 MB, free: 15.88 MB / 366.1 MB Notification: Performance of Templates: time 0.01301/0.3253, allocations: 6.235 MB / 451.9 MB, free: 15 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.821264263242483]