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: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_TestOpenTank",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_TestOpenTank",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001226/0.001225, allocations: 110.4 kB / 17.73 MB, free: 5.352 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.001237/0.001237, allocations: 183.1 kB / 18.66 MB, free: 4.426 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.388/1.388, allocations: 205.1 MB / 224.5 MB, free: 12.25 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.001681/0.001681, allocations: 55.92 kB / 328 MB, free: 3.836 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09446/0.09615, allocations: 46.62 MB / 374.6 MB, free: 5.105 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.004611/0.1008, allocations: 2.847 MB / 377.5 MB, free: 2.242 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002117/0.1029, allocations: 1.185 MB / 378.7 MB, free: 1.047 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000164/0.1031, allocations: 11.94 kB / 378.7 MB, free: 1.035 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005076/0.1037, allocations: 175.2 kB / 378.8 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004408/0.1041, allocations: 202.8 kB / 379 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003848/0.1045, allocations: 163.5 kB / 379.2 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005362/0.1051, allocations: 449.9 kB / 379.6 MB, free: 64 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1804/0.2855, allocations: 92.75 kB / 379.7 MB, free: 9.41 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004411/0.286, allocations: 178.7 kB / 379.9 MB, free: 9.406 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002882/0.2863, allocations: 209.7 kB / 380.1 MB, free: 9.367 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.083e-05/0.2864, allocations: 28.88 kB / 380.1 MB, free: 9.367 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002244/0.2866, allocations: 74 kB / 380.2 MB, free: 9.363 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001079/0.2867, allocations: 81.27 kB / 380.3 MB, free: 9.352 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001927/0.2869, allocations: 200.9 kB / 380.5 MB, free: 9.289 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005858/0.2875, allocations: 485.2 kB / 381 MB, free: 9.211 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.2875, allocations: 0 / 381 MB, free: 9.211 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.2875, allocations: 2.25 kB / 381 MB, free: 9.211 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.348e-06/0.2876, allocations: 0 / 381 MB, free: 9.211 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.0008875/0.2885, allocations: 0.7146 MB / 381.7 MB, free: 8.68 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.2885, allocations: 9.625 kB / 381.7 MB, free: 8.68 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.92e-05/0.2886, allocations: 61.11 kB / 381.7 MB, free: 8.637 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.188e-05/0.2887, allocations: 50.94 kB / 381.8 MB, free: 8.613 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004473/0.2891, allocations: 348.3 kB / 382.1 MB, free: 8.359 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.581e-05/0.2892, allocations: 19.73 kB / 382.2 MB, free: 8.359 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.466e-05/0.2892, allocations: 19.97 kB / 382.2 MB, free: 8.359 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005301/0.2898, allocations: 302.9 kB / 382.5 MB, free: 8.23 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.441e-05/0.2898, allocations: 3.469 kB / 382.5 MB, free: 8.23 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.029e-05/0.2898, allocations: 12.95 kB / 382.5 MB, free: 8.23 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.255e-05/0.2898, allocations: 4.531 kB / 382.5 MB, free: 8.23 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003665/0.2902, allocations: 151.3 kB / 382.6 MB, free: 8.227 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.001308/0.2915, allocations: 0.8437 MB / 383.5 MB, free: 7.824 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003758/0.2919, allocations: 187.6 kB / 383.7 MB, free: 7.801 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000137/0.2921, allocations: 76.8 kB / 383.7 MB, free: 7.793 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.893e-05/0.2921, allocations: 3.531 kB / 383.7 MB, free: 7.793 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000265/0.2924, allocations: 150.6 kB / 383.9 MB, free: 7.73 MB / 318.1 MB Notification: Performance of pre-optimization done (n=23): time 1.804e-06/0.2924, allocations: 1.156 kB / 383.9 MB, free: 7.73 MB / 318.1 MB Notification: Performance of matching and sorting (n=23): time 0.0008283/0.2932, allocations: 401.5 kB / 384.3 MB, free: 7.574 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.041e-05/0.2933, allocations: 316.8 kB / 384.6 MB, free: 7.199 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004688/0.2938, allocations: 433.5 kB / 385 MB, free: 7.082 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.428e-05/0.2938, allocations: 36.7 kB / 385.1 MB, free: 7.047 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000125/0.2939, allocations: 210.6 kB / 385.3 MB, free: 6.938 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.967e-05/0.294, allocations: 82.5 kB / 385.3 MB, free: 6.887 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001003/0.2941, allocations: 60.03 kB / 385.4 MB, free: 6.867 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.184e-05/0.2942, allocations: 350.5 kB / 385.7 MB, free: 6.555 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001311/0.2944, allocations: 60.05 kB / 385.8 MB, free: 6.555 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002141/0.2946, allocations: 178.5 kB / 386 MB, free: 6.441 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002538/0.2949, allocations: 179.2 kB / 386.1 MB, free: 6.387 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.2949, allocations: 1.156 kB / 386.1 MB, free: 6.387 MB / 318.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004142/0.2953, allocations: 275.3 kB / 386.4 MB, free: 6.258 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.2953, allocations: 5.375 kB / 386.4 MB, free: 6.258 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.2953, allocations: 1.75 kB / 386.4 MB, free: 6.258 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001366/0.2955, allocations: 33.77 kB / 386.5 MB, free: 6.242 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002008/0.2957, allocations: 49.31 kB / 386.5 MB, free: 6.242 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001127/0.2968, allocations: 1.575 MB / 388.1 MB, free: 4.75 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002117/0.297, allocations: 26.16 kB / 388.1 MB, free: 4.734 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.795e-05/0.2971, allocations: 11.5 kB / 388.1 MB, free: 4.73 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.0001718/0.2972, allocations: 165.5 kB / 388.3 MB, free: 4.594 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.018e-05/0.2973, allocations: 40.33 kB / 388.3 MB, free: 4.574 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.216e-05/0.2974, allocations: 45.64 kB / 388.4 MB, free: 4.547 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-06/0.2974, allocations: 2.531 kB / 388.4 MB, free: 4.547 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.2974, allocations: 0 / 388.4 MB, free: 4.547 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004005/0.2978, allocations: 0.5819 MB / 388.9 MB, free: 3.965 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008805/0.2987, allocations: 0.7078 MB / 389.7 MB, free: 3.477 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.2987, allocations: 4.266 kB / 389.7 MB, free: 3.477 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001904/0.2989, allocations: 48.61 kB / 389.7 MB, free: 3.473 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.2989, allocations: 2.094 kB / 389.7 MB, free: 3.473 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.627e-05/0.2989, allocations: 2.25 kB / 389.7 MB, free: 3.473 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.2989, allocations: 2.156 kB / 389.7 MB, free: 3.473 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.299, allocations: 0 / 389.7 MB, free: 3.473 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004866/0.2994, allocations: 415.9 kB / 390.1 MB, free: 3.219 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001061/0.2996, allocations: 137.3 kB / 390.3 MB, free: 3.09 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.764e-05/0.2996, allocations: 8.406 kB / 390.3 MB, free: 3.086 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002009/0.2998, allocations: 13.52 kB / 390.3 MB, free: 3.082 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.39e-05/0.2999, allocations: 11.94 kB / 390.3 MB, free: 3.082 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.405e-05/0.2999, allocations: 14.83 kB / 390.3 MB, free: 3.074 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002993/0.3002, allocations: 311.9 kB / 390.6 MB, free: 2.926 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3002, allocations: 0 / 390.6 MB, free: 2.926 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003735/0.3006, allocations: 92.83 kB / 390.7 MB, free: 2.91 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.002005/0.3026, allocations: 1.252 MB / 391.9 MB, free: 1.914 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0006195/0.3032, allocations: 314.2 kB / 392.3 MB, free: 1.738 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.828e-06/0.3033, allocations: 1.344 kB / 392.3 MB, free: 1.738 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001545/0.3034, allocations: 86.2 kB / 392.3 MB, free: 1.715 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005832/0.304, allocations: 119.4 kB / 392.5 MB, free: 1.66 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004947/0.309, allocations: 3.356 MB / 395.8 MB, free: 15.61 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006314/0.3096, allocations: 0.8012 MB / 396.6 MB, free: 14.9 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003004/0.31, allocations: 44.06 kB / 396.7 MB, free: 14.89 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002224/0.3102, allocations: 122.9 kB / 396.8 MB, free: 14.8 MB / 334.1 MB Notification: Performance of SimCode: time 1.082e-06/0.3102, allocations: 0 / 396.8 MB, free: 14.8 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04135/0.3515, allocations: 10.18 MB / 407 MB, free: 11.3 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.79/12.15, allocations: 13.22 kB / 407 MB, free: 11.29 MB / 334.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_TestOpenTank_fmu --startTime=0 --stopTime=1.5 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_TestOpenTank.fmu > 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