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.00129/0.00129, allocations: 110.6 kB / 17.73 MB, free: 5.328 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.001155/0.001154, allocations: 194.9 kB / 18.67 MB, free: 4.395 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.379/1.379, allocations: 205.1 MB / 224.5 MB, free: 12.24 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.001285/0.001285, allocations: 51.92 kB / 328.5 MB, free: 3.32 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09463/0.09593, allocations: 46.61 MB / 375.1 MB, free: 4.598 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.004312/0.1003, allocations: 2.847 MB / 378 MB, free: 1.734 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001888/0.1022, allocations: 1.177 MB / 379.1 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001967/0.1024, allocations: 4 kB / 379.2 MB, free: 0.543 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005279/0.103, allocations: 191.1 kB / 379.3 MB, free: 364 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004186/0.1034, allocations: 202.8 kB / 379.5 MB, free: 160 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003469/0.1038, allocations: 147.6 kB / 379.7 MB, free: 12 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.1701/0.2739, allocations: 448.2 kB / 380.1 MB, free: 9.891 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002219/0.2741, allocations: 112.3 kB / 380.2 MB, free: 9.879 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002173/0.2744, allocations: 179.1 kB / 380.4 MB, free: 9.859 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002504/0.2746, allocations: 213.1 kB / 380.6 MB, free: 9.816 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.212e-05/0.2747, allocations: 29.59 kB / 380.6 MB, free: 9.816 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000202/0.2749, allocations: 63.59 kB / 380.7 MB, free: 9.816 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001123/0.275, allocations: 93.36 kB / 380.8 MB, free: 9.801 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001861/0.2752, allocations: 194.3 kB / 381 MB, free: 9.742 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005532/0.2758, allocations: 483 kB / 381.5 MB, free: 9.684 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.251e-06/0.2758, allocations: 5.172 kB / 381.5 MB, free: 9.68 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.2758, allocations: 0 / 381.5 MB, free: 9.68 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.865e-06/0.2758, allocations: 0.5 kB / 381.5 MB, free: 9.68 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.0009148/0.2767, allocations: 0.6887 MB / 382.1 MB, free: 9.172 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.2768, allocations: 12.55 kB / 382.2 MB, free: 9.172 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001122/0.2769, allocations: 48 kB / 382.2 MB, free: 9.148 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005025/0.2774, allocations: 340.8 kB / 382.5 MB, free: 8.898 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.019e-05/0.2774, allocations: 23.11 kB / 382.6 MB, free: 8.898 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.735e-05/0.2775, allocations: 16.75 kB / 382.6 MB, free: 8.898 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004767/0.278, allocations: 297.7 kB / 382.9 MB, free: 8.77 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.278, allocations: 1.125 kB / 382.9 MB, free: 8.77 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.545e-05/0.278, allocations: 13 kB / 382.9 MB, free: 8.77 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.914e-06/0.278, allocations: 4.531 kB / 382.9 MB, free: 8.77 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002914/0.2783, allocations: 149.2 kB / 383 MB, free: 8.77 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.001167/0.2795, allocations: 0.8257 MB / 383.9 MB, free: 8.363 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003681/0.2799, allocations: 196.6 kB / 384.1 MB, free: 8.336 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001318/0.28, allocations: 76.48 kB / 384.1 MB, free: 8.328 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.936e-05/0.2801, allocations: 6 kB / 384.1 MB, free: 8.328 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002373/0.2803, allocations: 135.6 kB / 384.3 MB, free: 8.273 MB / 318.1 MB Notification: Performance of pre-optimization done (n=23): time 1.643e-06/0.2803, allocations: 0 / 384.3 MB, free: 8.273 MB / 318.1 MB Notification: Performance of matching and sorting (n=23): time 0.0007831/0.2811, allocations: 410.5 kB / 384.7 MB, free: 8.113 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.394e-05/0.2812, allocations: 314.4 kB / 385 MB, free: 7.738 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004215/0.2816, allocations: 431 kB / 385.4 MB, free: 7.625 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.35e-05/0.2816, allocations: 33.98 kB / 385.4 MB, free: 7.594 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001126/0.2818, allocations: 205.9 kB / 385.6 MB, free: 7.484 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.918e-05/0.2818, allocations: 78.78 kB / 385.7 MB, free: 7.426 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.887e-05/0.2819, allocations: 57.14 kB / 385.8 MB, free: 7.391 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.903e-05/0.282, allocations: 349.6 kB / 386.1 MB, free: 7.062 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001237/0.2821, allocations: 58.5 kB / 386.2 MB, free: 7.043 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001814/0.2823, allocations: 179.3 kB / 386.3 MB, free: 6.891 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002453/0.2825, allocations: 173.5 kB / 386.5 MB, free: 6.793 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.2826, allocations: 2.688 kB / 386.5 MB, free: 6.793 MB / 318.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004154/0.283, allocations: 280.3 kB / 386.8 MB, free: 6.66 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.283, allocations: 6.25 kB / 386.8 MB, free: 6.66 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.283, allocations: 2.609 kB / 386.8 MB, free: 6.66 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001237/0.2831, allocations: 34.05 kB / 386.8 MB, free: 6.645 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002031/0.2834, allocations: 54.56 kB / 386.9 MB, free: 6.641 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001155/0.2845, allocations: 1.573 MB / 388.4 MB, free: 5.148 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001996/0.2847, allocations: 20.92 kB / 388.5 MB, free: 5.137 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.794e-05/0.2848, allocations: 15.38 kB / 388.5 MB, free: 5.129 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.000156/0.2849, allocations: 166.3 kB / 388.6 MB, free: 4.992 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.606e-05/0.285, allocations: 40.41 kB / 388.7 MB, free: 4.973 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.833e-05/0.2851, allocations: 45.95 kB / 388.7 MB, free: 4.945 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.2851, allocations: 2.312 kB / 388.7 MB, free: 4.945 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.2851, allocations: 3.938 kB / 388.7 MB, free: 4.941 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004024/0.2855, allocations: 0.5749 MB / 389.3 MB, free: 4.363 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008896/0.2864, allocations: 0.7081 MB / 390 MB, free: 3.875 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.2864, allocations: 3.938 kB / 390 MB, free: 3.871 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000218/0.2866, allocations: 54.2 kB / 390.1 MB, free: 3.867 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.2866, allocations: 0 / 390.1 MB, free: 3.867 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.134e-05/0.2867, allocations: 3.875 kB / 390.1 MB, free: 3.867 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.2867, allocations: 1.156 kB / 390.1 MB, free: 3.867 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.115e-06/0.2867, allocations: 0.875 kB / 390.1 MB, free: 3.867 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000594/0.2873, allocations: 411.9 kB / 390.5 MB, free: 3.617 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001244/0.2874, allocations: 136.6 kB / 390.6 MB, free: 3.488 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.963e-05/0.2875, allocations: 8.312 kB / 390.6 MB, free: 3.484 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001993/0.2877, allocations: 10.88 kB / 390.6 MB, free: 3.48 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.257e-05/0.2877, allocations: 12.31 kB / 390.6 MB, free: 3.48 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.602e-05/0.2878, allocations: 10.72 kB / 390.7 MB, free: 3.477 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003174/0.2881, allocations: 311.8 kB / 391 MB, free: 3.328 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.2881, allocations: 0 / 391 MB, free: 3.328 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003651/0.2885, allocations: 84.59 kB / 391 MB, free: 3.32 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.0008521/0.2893, allocations: 438.9 kB / 391.5 MB, free: 2.977 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005586/0.2899, allocations: 321 kB / 391.8 MB, free: 2.793 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.2899, allocations: 0 / 391.8 MB, free: 2.793 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001455/0.2901, allocations: 87.86 kB / 391.9 MB, free: 2.77 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005318/0.2906, allocations: 103.8 kB / 392 MB, free: 2.727 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001265/0.2919, allocations: 0.7769 MB / 392.8 MB, free: 2.281 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003034/0.2922, allocations: 0.8004 MB / 393.6 MB, free: 1.574 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000167/0.2924, allocations: 47.78 kB / 393.6 MB, free: 1.559 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.236e-05/0.2924, allocations: 31.94 kB / 393.6 MB, free: 1.555 MB / 318.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2925, allocations: 0 / 393.6 MB, free: 1.555 MB / 318.1 MB Notification: Performance of Templates: time 0.01183/0.3043, allocations: 6.138 MB / 399.8 MB, free: 460 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/TestOpenTank/TestOpenTank.csv","/var/lib/jenkins/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