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.001303/0.001303, allocations: 113.2 kB / 17.73 MB, free: 5.301 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.001091/0.001091, allocations: 188.2 kB / 18.66 MB, free: 4.375 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.551/1.551, allocations: 205.1 MB / 224.5 MB, free: 12.21 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.001161/0.001161, allocations: 47.92 kB / 328 MB, free: 3.82 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09773/0.0989, allocations: 46.62 MB / 374.6 MB, free: 5.086 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.004597/0.1035, allocations: 2.847 MB / 377.5 MB, free: 2.223 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002102/0.1057, allocations: 1.177 MB / 378.7 MB, free: 1.035 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002845/0.106, allocations: 7.938 kB / 378.7 MB, free: 1.027 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005933/0.1066, allocations: 187.1 kB / 378.8 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000579/0.1072, allocations: 210.8 kB / 379.1 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004512/0.1077, allocations: 143.7 kB / 379.2 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006197/0.1083, allocations: 457.8 kB / 379.6 MB, free: 48 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2183/0.3266, allocations: 103 kB / 379.7 MB, free: 8.965 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005367/0.3272, allocations: 174.1 kB / 379.9 MB, free: 8.961 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003481/0.3276, allocations: 213.8 kB / 380.1 MB, free: 8.918 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.369e-05/0.3276, allocations: 30 kB / 380.1 MB, free: 8.918 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002308/0.3279, allocations: 70.7 kB / 380.2 MB, free: 8.918 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001239/0.328, allocations: 85.42 kB / 380.3 MB, free: 8.902 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002123/0.3282, allocations: 196.8 kB / 380.5 MB, free: 8.844 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000666/0.3289, allocations: 484.2 kB / 381 MB, free: 8.766 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.3289, allocations: 1.375 kB / 381 MB, free: 8.766 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.3289, allocations: 0 / 381 MB, free: 8.766 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.115e-06/0.3289, allocations: 0 / 381 MB, free: 8.766 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.0009791/0.3299, allocations: 0.7128 MB / 381.7 MB, free: 8.234 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/0.33, allocations: 10.38 kB / 381.7 MB, free: 8.234 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.065e-05/0.3301, allocations: 66.53 kB / 381.8 MB, free: 8.191 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.865e-05/0.3302, allocations: 48.97 kB / 381.8 MB, free: 8.168 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005155/0.3307, allocations: 352.3 kB / 382.1 MB, free: 7.914 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.147e-05/0.3307, allocations: 17.05 kB / 382.2 MB, free: 7.914 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.52e-05/0.3308, allocations: 20.53 kB / 382.2 MB, free: 7.914 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005124/0.3313, allocations: 301.2 kB / 382.5 MB, free: 7.785 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.63e-05/0.3313, allocations: 2.812 kB / 382.5 MB, free: 7.785 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.862e-05/0.3314, allocations: 14.89 kB / 382.5 MB, free: 7.785 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.367e-06/0.3314, allocations: 4.344 kB / 382.5 MB, free: 7.785 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003576/0.3318, allocations: 153.1 kB / 382.6 MB, free: 7.781 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.3331, allocations: 0.8399 MB / 383.5 MB, free: 7.379 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003948/0.3335, allocations: 190.5 kB / 383.7 MB, free: 7.355 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000137/0.3336, allocations: 79.72 kB / 383.8 MB, free: 7.344 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.502e-05/0.3337, allocations: 3.828 kB / 383.8 MB, free: 7.344 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002491/0.3339, allocations: 143.5 kB / 383.9 MB, free: 7.285 MB / 318.1 MB Notification: Performance of pre-optimization done (n=23): time 1.603e-06/0.3339, allocations: 2.125 kB / 383.9 MB, free: 7.285 MB / 318.1 MB Notification: Performance of matching and sorting (n=23): time 0.0007857/0.3347, allocations: 403.5 kB / 384.3 MB, free: 7.125 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.596e-05/0.3348, allocations: 319.7 kB / 384.6 MB, free: 6.75 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004552/0.3353, allocations: 433.6 kB / 385 MB, free: 6.633 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.352e-05/0.3353, allocations: 32.83 kB / 385.1 MB, free: 6.602 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001408/0.3355, allocations: 206 kB / 385.3 MB, free: 6.496 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.348e-05/0.3355, allocations: 84.81 kB / 385.3 MB, free: 6.445 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.328e-05/0.3356, allocations: 64.03 kB / 385.4 MB, free: 6.422 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8e-05/0.3357, allocations: 351.1 kB / 385.7 MB, free: 6.109 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001248/0.3358, allocations: 62.77 kB / 385.8 MB, free: 6.109 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002001/0.336, allocations: 171.4 kB / 386 MB, free: 5.996 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002751/0.3363, allocations: 177.9 kB / 386.2 MB, free: 5.953 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.3363, allocations: 0 / 386.2 MB, free: 5.953 MB / 318.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000436/0.3368, allocations: 277.3 kB / 386.4 MB, free: 5.887 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.3368, allocations: 6.297 kB / 386.4 MB, free: 5.887 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.3368, allocations: 1.625 kB / 386.4 MB, free: 5.887 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000137/0.337, allocations: 32.08 kB / 386.5 MB, free: 5.879 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002073/0.3372, allocations: 52.77 kB / 386.5 MB, free: 5.879 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001269/0.3384, allocations: 1.569 MB / 388.1 MB, free: 4.523 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002166/0.3387, allocations: 28.72 kB / 388.1 MB, free: 4.512 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.173e-05/0.3387, allocations: 11.75 kB / 388.1 MB, free: 4.512 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.0001701/0.3389, allocations: 168.6 kB / 388.3 MB, free: 4.395 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.978e-05/0.339, allocations: 40.2 kB / 388.3 MB, free: 4.375 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.931e-05/0.3391, allocations: 44.95 kB / 388.4 MB, free: 4.363 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-06/0.3391, allocations: 3.234 kB / 388.4 MB, free: 4.363 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.3391, allocations: 0.7812 kB / 388.4 MB, free: 4.363 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004926/0.3396, allocations: 0.58 MB / 389 MB, free: 3.785 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00101/0.3406, allocations: 0.7034 MB / 389.7 MB, free: 3.297 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.3406, allocations: 0 / 389.7 MB, free: 3.297 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000224/0.3409, allocations: 50.73 kB / 389.7 MB, free: 3.293 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.067e-06/0.3409, allocations: 0.8438 kB / 389.7 MB, free: 3.293 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.97e-05/0.3409, allocations: 7.5 kB / 389.7 MB, free: 3.289 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.917e-06/0.3409, allocations: 7.688 kB / 389.7 MB, free: 3.285 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.3409, allocations: 0.9688 kB / 389.7 MB, free: 3.285 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000632/0.3416, allocations: 408 kB / 390.1 MB, free: 3.039 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001305/0.3417, allocations: 140.8 kB / 390.3 MB, free: 2.91 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.967e-05/0.3418, allocations: 11.62 kB / 390.3 MB, free: 2.902 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002033/0.342, allocations: 11.64 kB / 390.3 MB, free: 2.898 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.204e-05/0.3421, allocations: 16.34 kB / 390.3 MB, free: 2.895 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.725e-05/0.3421, allocations: 6.312 kB / 390.3 MB, free: 2.895 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003539/0.3424, allocations: 312.9 kB / 390.6 MB, free: 2.746 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3425, allocations: 0 / 390.6 MB, free: 2.746 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004152/0.3429, allocations: 97.27 kB / 390.7 MB, free: 2.727 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.001766/0.3446, allocations: 1.25 MB / 392 MB, free: 1.727 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0007605/0.3454, allocations: 319.8 kB / 392.3 MB, free: 1.551 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.139e-06/0.3454, allocations: 1.125 kB / 392.3 MB, free: 1.551 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000187/0.3456, allocations: 80.81 kB / 392.3 MB, free: 1.531 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007333/0.3464, allocations: 119.8 kB / 392.5 MB, free: 1.477 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005314/0.3517, allocations: 3.355 MB / 395.8 MB, free: 15.42 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005667/0.3523, allocations: 0.7974 MB / 396.6 MB, free: 14.72 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002853/0.3526, allocations: 46.97 kB / 396.7 MB, free: 14.71 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002224/0.3528, allocations: 126.7 kB / 396.8 MB, free: 14.62 MB / 334.1 MB Notification: Performance of SimCode: time 1.323e-06/0.3529, allocations: 0 / 396.8 MB, free: 14.62 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03454/0.3874, allocations: 10.18 MB / 407 MB, free: 11.12 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.75/12.14, allocations: 13.28 kB / 407 MB, free: 11.11 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 & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.csv --start-time 0 --stop-time 1.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0006 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.csv","/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