Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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=5000,variableFilter="time|openTank.H|openTank.m",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|openTank.H|openTank.m",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001188/0.001188, allocations: 113.2 kB / 18.4 MB, free: 4.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001197/0.001197, allocations: 189.2 kB / 19.33 MB, free: 3.781 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.449/1.449, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001367/0.001368, allocations: 51.92 kB / 329.2 MB, free: 3.324 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09142/0.0928, allocations: 46.61 MB / 375.8 MB, free: 4.609 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.004463/0.09732, allocations: 2.856 MB / 378.6 MB, free: 1.738 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002262/0.09961, allocations: 1.181 MB / 379.8 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000347/0.09999, allocations: 4 kB / 379.8 MB, free: 0.543 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006197/0.1007, allocations: 187.1 kB / 380 MB, free: 368 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006421/0.1013, allocations: 206.8 kB / 380.2 MB, free: 160 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005006/0.1018, allocations: 143.6 kB / 380.4 MB, free: 16 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.1954/0.2973, allocations: 446.1 kB / 380.8 MB, free: 9.922 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002553/0.2976, allocations: 102.7 kB / 380.9 MB, free: 9.91 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002346/0.2978, allocations: 184.6 kB / 381.1 MB, free: 9.891 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002664/0.2981, allocations: 209.9 kB / 381.3 MB, free: 9.848 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.236e-05/0.2982, allocations: 30.22 kB / 381.3 MB, free: 9.848 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001899/0.2984, allocations: 71.42 kB / 381.4 MB, free: 9.848 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.416e-05/0.2985, allocations: 89.12 kB / 381.5 MB, free: 9.832 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001701/0.2986, allocations: 194.1 kB / 381.7 MB, free: 9.773 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005989/0.2992, allocations: 487.4 kB / 382.1 MB, free: 9.711 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.2993, allocations: 0.5938 kB / 382.1 MB, free: 9.711 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.2993, allocations: 0 / 382.1 MB, free: 9.711 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.456e-06/0.2993, allocations: 0.5 kB / 382.1 MB, free: 9.711 MB / 318.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.0009976/0.3003, allocations: 0.6921 MB / 382.8 MB, free: 9.199 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.3003, allocations: 13.12 kB / 382.8 MB, free: 9.199 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.534e-05/0.3004, allocations: 47.25 kB / 382.9 MB, free: 9.176 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005102/0.301, allocations: 338.6 kB / 383.2 MB, free: 8.926 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.093e-05/0.301, allocations: 19.75 kB / 383.2 MB, free: 8.926 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.59e-05/0.3011, allocations: 24.53 kB / 383.3 MB, free: 8.926 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005389/0.3016, allocations: 295.1 kB / 383.5 MB, free: 8.797 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.659e-05/0.3016, allocations: 0 / 383.5 MB, free: 8.797 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.06e-05/0.3017, allocations: 15.38 kB / 383.6 MB, free: 8.797 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.11e-05/0.3017, allocations: 6.094 kB / 383.6 MB, free: 8.797 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002838/0.302, allocations: 145.6 kB / 383.7 MB, free: 8.797 MB / 318.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.001255/0.3032, allocations: 0.8278 MB / 384.5 MB, free: 8.395 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003721/0.3036, allocations: 189.1 kB / 384.7 MB, free: 8.367 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001337/0.3038, allocations: 80.23 kB / 384.8 MB, free: 8.359 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.233e-05/0.3038, allocations: 1.203 kB / 384.8 MB, free: 8.359 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002472/0.3041, allocations: 142.1 kB / 384.9 MB, free: 8.305 MB / 318.1 MB Notification: Performance of pre-optimization done (n=23): time 1.653e-06/0.3041, allocations: 4 kB / 384.9 MB, free: 8.301 MB / 318.1 MB Notification: Performance of matching and sorting (n=23): time 0.0007864/0.3049, allocations: 406.5 kB / 385.3 MB, free: 8.141 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.665e-05/0.3049, allocations: 317 kB / 385.6 MB, free: 7.766 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004524/0.3054, allocations: 430.1 kB / 386.1 MB, free: 7.652 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.55e-05/0.3054, allocations: 33.94 kB / 386.1 MB, free: 7.621 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001232/0.3056, allocations: 209.4 kB / 386.3 MB, free: 7.504 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.423e-05/0.3056, allocations: 79.86 kB / 386.4 MB, free: 7.445 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.141e-05/0.3057, allocations: 57.8 kB / 386.4 MB, free: 7.41 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.445e-05/0.3058, allocations: 348.4 kB / 386.8 MB, free: 7.082 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001251/0.3059, allocations: 59.09 kB / 386.8 MB, free: 7.062 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001841/0.3061, allocations: 175 kB / 387 MB, free: 6.914 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002478/0.3064, allocations: 179.7 kB / 387.2 MB, free: 6.812 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.3064, allocations: 1.156 kB / 387.2 MB, free: 6.812 MB / 318.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004187/0.3068, allocations: 276.5 kB / 387.5 MB, free: 6.68 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.3068, allocations: 4.531 kB / 387.5 MB, free: 6.68 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.3069, allocations: 2.031 kB / 387.5 MB, free: 6.68 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001308/0.307, allocations: 33.44 kB / 387.5 MB, free: 6.664 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002018/0.3072, allocations: 51.5 kB / 387.5 MB, free: 6.664 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001159/0.3084, allocations: 1.576 MB / 389.1 MB, free: 5.168 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002299/0.3086, allocations: 22.16 kB / 389.1 MB, free: 5.156 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.661e-05/0.3086, allocations: 10.48 kB / 389.2 MB, free: 5.152 MB / 318.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.0001543/0.3088, allocations: 170 kB / 389.3 MB, free: 5.012 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.827e-05/0.3089, allocations: 41.83 kB / 389.4 MB, free: 4.992 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.97e-05/0.3089, allocations: 41.23 kB / 389.4 MB, free: 4.969 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.3089, allocations: 3.719 kB / 389.4 MB, free: 4.969 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.309, allocations: 3.938 kB / 389.4 MB, free: 4.965 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004188/0.3094, allocations: 0.5823 MB / 390 MB, free: 4.383 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000861/0.3102, allocations: 0.7076 MB / 390.7 MB, free: 3.895 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.3103, allocations: 0 / 390.7 MB, free: 3.895 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000199/0.3105, allocations: 46.41 kB / 390.7 MB, free: 3.895 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.3105, allocations: 1.312 kB / 390.7 MB, free: 3.895 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.827e-05/0.3105, allocations: 6.016 kB / 390.7 MB, free: 3.891 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.3105, allocations: 2.25 kB / 390.8 MB, free: 3.891 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.3105, allocations: 0.7031 kB / 390.8 MB, free: 3.891 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005101/0.311, allocations: 411.2 kB / 391.2 MB, free: 3.641 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001167/0.3112, allocations: 141.5 kB / 391.3 MB, free: 3.508 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5e-05/0.3112, allocations: 6.562 kB / 391.3 MB, free: 3.504 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002057/0.3114, allocations: 12.27 kB / 391.3 MB, free: 3.5 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.546e-05/0.3115, allocations: 12.02 kB / 391.3 MB, free: 3.5 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.598e-05/0.3115, allocations: 13.16 kB / 391.3 MB, free: 3.496 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003256/0.3119, allocations: 311.1 kB / 391.6 MB, free: 3.348 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3119, allocations: 0 / 391.6 MB, free: 3.348 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004033/0.3123, allocations: 84.98 kB / 391.7 MB, free: 3.34 MB / 318.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.001006/0.3133, allocations: 424.7 kB / 392.1 MB, free: 3.012 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005985/0.3139, allocations: 316 kB / 392.4 MB, free: 2.832 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.3139, allocations: 1.375 kB / 392.4 MB, free: 2.832 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001552/0.3141, allocations: 82.08 kB / 392.5 MB, free: 2.812 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005823/0.3147, allocations: 111.6 kB / 392.6 MB, free: 2.762 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001364/0.316, allocations: 0.8138 MB / 393.4 MB, free: 2.281 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002553/0.3163, allocations: 0.7994 MB / 394.2 MB, free: 1.574 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.213e-05/0.3164, allocations: 33.25 kB / 394.3 MB, free: 1.57 MB / 318.1 MB Notification: Performance of SimCode: time 3e-07/0.3164, allocations: 0 / 394.3 MB, free: 1.57 MB / 318.1 MB Notification: Performance of Templates: time 0.01029/0.3267, allocations: 5.856 MB / 400.1 MB, free: 456 kB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.makefile (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.sim & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/TestOpenTank/TestOpenTank.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches