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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|openTank.H|openTank.m",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001446/0.001446, allocations: 113.7 kB / 18.45 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001765/0.001765, allocations: 208.9 kB / 19.4 MB, free: 3.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.522/1.522, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001315, allocations: 59.91 kB / 359.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2897/0.291, allocations: 50.54 MB / 409.9 MB, free: 1.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.00424/0.2953, allocations: 2.87 MB / 412.8 MB, free: 14.71 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002245/0.2975, allocations: 1.406 MB / 414.2 MB, free: 13.29 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002137/0.2978, allocations: 7.938 kB / 414.2 MB, free: 13.28 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000582/0.2984, allocations: 175.1 kB / 414.4 MB, free: 13.11 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006629/0.2991, allocations: 246.6 kB / 414.6 MB, free: 12.87 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004365/0.2995, allocations: 139.6 kB / 414.7 MB, free: 12.73 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007504/0.3003, allocations: 465.9 kB / 415.2 MB, free: 12.27 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002541/0.3006, allocations: 103.8 kB / 415.3 MB, free: 12.17 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003641/0.301, allocations: 179.3 kB / 415.5 MB, free: 12 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004088/0.3014, allocations: 219.1 kB / 415.7 MB, free: 11.78 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.175e-05/0.3015, allocations: 32 kB / 415.7 MB, free: 11.75 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002129/0.3017, allocations: 64 kB / 415.8 MB, free: 11.69 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001146/0.3018, allocations: 87.67 kB / 415.9 MB, free: 11.6 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002089/0.302, allocations: 198.9 kB / 416.1 MB, free: 11.41 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005724/0.3026, allocations: 495.4 kB / 416.5 MB, free: 10.93 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.064e-06/0.3026, allocations: 3.984 kB / 416.5 MB, free: 10.92 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.3026, allocations: 0 / 416.5 MB, free: 10.92 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.621e-05/0.3027, allocations: 0 / 416.5 MB, free: 10.92 MB / 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.001198/0.3039, allocations: 0.6969 MB / 417.2 MB, free: 10.18 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.3039, allocations: 8.031 kB / 417.2 MB, free: 10.17 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001121/0.304, allocations: 48.38 kB / 417.3 MB, free: 10.12 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005564/0.3046, allocations: 342.6 kB / 417.6 MB, free: 9.746 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.164e-05/0.3046, allocations: 12.81 kB / 417.6 MB, free: 9.734 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.89e-05/0.3047, allocations: 28.12 kB / 417.7 MB, free: 9.707 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000483/0.3052, allocations: 301.3 kB / 418 MB, free: 9.375 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.664e-05/0.3052, allocations: 0 / 418 MB, free: 9.375 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.933e-05/0.3052, allocations: 12 kB / 418 MB, free: 9.363 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.3052, allocations: 8 kB / 418 MB, free: 9.355 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002916/0.3055, allocations: 141.7 kB / 418.1 MB, free: 9.215 MB / 334.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.001371/0.3069, allocations: 0.8244 MB / 418.9 MB, free: 8.32 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003791/0.3073, allocations: 198.8 kB / 419.1 MB, free: 8.121 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001417/0.3075, allocations: 79.83 kB / 419.2 MB, free: 8.043 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.477e-05/0.3075, allocations: 4 kB / 419.2 MB, free: 8.039 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002683/0.3078, allocations: 135.3 kB / 419.4 MB, free: 7.895 MB / 334.1 MB Notification: Performance of pre-optimization done (n=23): time 1.773e-06/0.3078, allocations: 0 / 419.4 MB, free: 7.895 MB / 334.1 MB Notification: Performance of matching and sorting (n=23): time 0.0008597/0.3087, allocations: 409.9 kB / 419.8 MB, free: 7.469 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001473/0.3088, allocations: 316.4 kB / 420.1 MB, free: 7.086 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004733/0.3093, allocations: 445.7 kB / 420.5 MB, free: 6.637 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.682e-05/0.3093, allocations: 29.7 kB / 420.5 MB, free: 6.602 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001635/0.3095, allocations: 208.2 kB / 420.7 MB, free: 6.391 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.83e-05/0.3096, allocations: 86.83 kB / 420.8 MB, free: 6.305 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.547e-05/0.3097, allocations: 57.7 kB / 420.9 MB, free: 6.242 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001398/0.3098, allocations: 346.8 kB / 421.2 MB, free: 5.895 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001287/0.31, allocations: 59.97 kB / 421.3 MB, free: 5.836 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002172/0.3102, allocations: 179.9 kB / 421.4 MB, free: 5.617 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002835/0.3105, allocations: 171.3 kB / 421.6 MB, free: 5.438 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.127e-06/0.3105, allocations: 7.938 kB / 421.6 MB, free: 5.43 MB / 334.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004649/0.311, allocations: 269.9 kB / 421.9 MB, free: 5.156 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.311, allocations: 4 kB / 421.9 MB, free: 5.152 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.311, allocations: 4 kB / 421.9 MB, free: 5.148 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001381/0.3111, allocations: 32.84 kB / 421.9 MB, free: 5.113 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002456/0.3114, allocations: 51.91 kB / 422 MB, free: 5.062 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001667/0.3131, allocations: 1.567 MB / 423.5 MB, free: 3.352 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002327/0.3133, allocations: 27.78 kB / 423.6 MB, free: 3.324 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.07e-05/0.3134, allocations: 8 kB / 423.6 MB, free: 3.316 MB / 334.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.0002107/0.3136, allocations: 177.6 kB / 423.8 MB, free: 3.133 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.485e-05/0.3136, allocations: 39.77 kB / 423.8 MB, free: 3.094 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.878e-05/0.3137, allocations: 47.59 kB / 423.8 MB, free: 3.047 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/0.3138, allocations: 7.922 kB / 423.8 MB, free: 3.039 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.3138, allocations: 0 / 423.8 MB, free: 3.039 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005329/0.3143, allocations: 0.5789 MB / 424.4 MB, free: 2.355 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001107/0.3154, allocations: 0.703 MB / 425.1 MB, free: 1.594 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.668e-06/0.3154, allocations: 4 kB / 425.1 MB, free: 1.59 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002129/0.3157, allocations: 47.91 kB / 425.2 MB, free: 1.543 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.811e-05/0.3157, allocations: 4.094 kB / 425.2 MB, free: 1.539 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.346e-05/0.3157, allocations: 7.938 kB / 425.2 MB, free: 1.531 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.581e-06/0.3157, allocations: 8 kB / 425.2 MB, free: 1.523 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.3157, allocations: 0 / 425.2 MB, free: 1.523 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006555/0.3164, allocations: 410.5 kB / 425.6 MB, free: 1.105 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000174/0.3166, allocations: 132.6 kB / 425.7 MB, free: 0.957 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.72e-05/0.3167, allocations: 8 kB / 425.7 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002205/0.3169, allocations: 11.98 kB / 425.7 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.327e-05/0.3169, allocations: 19.84 kB / 425.8 MB, free: 0.918 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.99e-05/0.317, allocations: 11.94 kB / 425.8 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003543/0.3173, allocations: 323.1 kB / 426.1 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3174, allocations: 0 / 426.1 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004146/0.3178, allocations: 91.84 kB / 426.2 MB, free: 0.5078 MB / 334.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.0009958/0.3188, allocations: 409 kB / 426.6 MB, free: 244 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006443/0.3194, allocations: 320.1 kB / 426.9 MB, free: 15.91 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.3195, allocations: 0 / 426.9 MB, free: 15.91 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001591/0.3196, allocations: 79.91 kB / 427 MB, free: 15.84 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005935/0.3202, allocations: 119.9 kB / 427.1 MB, free: 15.72 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001505/0.3217, allocations: 0.8314 MB / 427.9 MB, free: 14.85 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004025/0.3222, allocations: 0.7954 MB / 428.7 MB, free: 14.03 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.601e-05/0.3222, allocations: 35.44 kB / 428.8 MB, free: 13.99 MB / 350.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3223, allocations: 0 / 428.8 MB, free: 13.99 MB / 350.1 MB Notification: Performance of Templates: time 0.01015/0.3324, allocations: 5.967 MB / 434.7 MB, free: 8.059 MB / 350.1 MB make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.makefile (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) diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/TestOpenTank/TestOpenTank.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches