Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_TestOpenTank",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank,fileNamePrefix="Modelica_4_0_0_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.001559/0.001559, allocations: 114.1 kB / 17.06 MB, free: 6.016 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.001615/0.001615, allocations: 191 kB / 18 MB, free: 5.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.36/1.36, allocations: 222.9 MB / 241.7 MB, free: 15.2 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009963/0.0009963, allocations: 43.92 kB / 350.8 MB, free: 3.797 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2148/0.2158, allocations: 49.43 MB / 400.2 MB, free: 8.434 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.0039/0.2197, allocations: 2.866 MB / 403.1 MB, free: 5.973 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001754/0.2215, allocations: 1.258 MB / 404.3 MB, free: 4.707 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001484/0.2217, allocations: 8 kB / 404.3 MB, free: 4.699 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004437/0.2221, allocations: 179.1 kB / 404.5 MB, free: 4.523 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003982/0.2225, allocations: 206.8 kB / 404.7 MB, free: 4.32 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003724/0.2229, allocations: 175.5 kB / 404.9 MB, free: 4.148 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004303/0.2234, allocations: 453.3 kB / 405.3 MB, free: 3.707 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001819/0.2235, allocations: 103.5 kB / 405.4 MB, free: 3.602 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001906/0.2237, allocations: 187.3 kB / 405.6 MB, free: 3.418 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002276/0.224, allocations: 199.2 kB / 405.8 MB, free: 3.223 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.738e-05/0.224, allocations: 36 kB / 405.8 MB, free: 3.188 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001242/0.2242, allocations: 71.91 kB / 405.9 MB, free: 3.117 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.616e-05/0.2243, allocations: 87.69 kB / 406 MB, free: 3.031 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001759/0.2245, allocations: 187 kB / 406.2 MB, free: 2.848 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004836/0.2249, allocations: 496.9 kB / 406.7 MB, free: 2.363 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.225, allocations: 4 kB / 406.7 MB, free: 2.359 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.225, allocations: 3.938 kB / 406.7 MB, free: 2.355 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.225, allocations: 0 / 406.7 MB, free: 2.355 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.0009532/0.2259, allocations: 0.7043 MB / 407.4 MB, free: 1.602 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.226, allocations: 8.031 kB / 407.4 MB, free: 1.594 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.641e-05/0.2261, allocations: 63.16 kB / 407.5 MB, free: 1.523 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.674e-05/0.2262, allocations: 52.66 kB / 407.5 MB, free: 1.473 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004304/0.2266, allocations: 350.9 kB / 407.8 MB, free: 1.09 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.967e-05/0.2266, allocations: 12.81 kB / 407.9 MB, free: 1.078 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.546e-05/0.2267, allocations: 23.94 kB / 407.9 MB, free: 1.055 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004542/0.2271, allocations: 309.4 kB / 408.2 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.327e-05/0.2272, allocations: 0 / 408.2 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.655e-05/0.2272, allocations: 12 kB / 408.2 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.2272, allocations: 4 kB / 408.2 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002778/0.2275, allocations: 149.7 kB / 408.3 MB, free: 0.5508 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.001222/0.2287, allocations: 0.8401 MB / 409.2 MB, free: 15.64 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003742/0.2291, allocations: 190.1 kB / 409.4 MB, free: 15.45 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001531/0.2293, allocations: 76.83 kB / 409.4 MB, free: 15.37 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.594e-05/0.2293, allocations: 7.938 kB / 409.5 MB, free: 15.36 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002407/0.2295, allocations: 131.3 kB / 409.6 MB, free: 15.22 MB / 334.1 MB Notification: Performance of pre-optimization done (n=23): time 1.603e-06/0.2296, allocations: 4 kB / 409.6 MB, free: 15.22 MB / 334.1 MB Notification: Performance of matching and sorting (n=23): time 0.0008296/0.2304, allocations: 404.7 kB / 410 MB, free: 14.8 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001581/0.2306, allocations: 316.4 kB / 410.3 MB, free: 14.41 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004477/0.231, allocations: 429.7 kB / 410.7 MB, free: 13.98 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.778e-05/0.2311, allocations: 33.7 kB / 410.7 MB, free: 13.94 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001552/0.2312, allocations: 212.4 kB / 411 MB, free: 13.73 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.786e-05/0.2313, allocations: 79.28 kB / 411 MB, free: 13.65 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.333e-05/0.2314, allocations: 57.7 kB / 411.1 MB, free: 13.59 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.2315, allocations: 350.8 kB / 411.4 MB, free: 13.23 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001357/0.2317, allocations: 59.98 kB / 411.5 MB, free: 13.18 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002284/0.2319, allocations: 183.9 kB / 411.7 MB, free: 12.95 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002878/0.2322, allocations: 175.2 kB / 411.8 MB, free: 12.77 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.2322, allocations: 0 / 411.8 MB, free: 12.77 MB / 334.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004381/0.2327, allocations: 274.2 kB / 412.1 MB, free: 12.49 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/0.2327, allocations: 4 kB / 412.1 MB, free: 12.49 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.2327, allocations: 3.984 kB / 412.1 MB, free: 12.48 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001157/0.2328, allocations: 32.84 kB / 412.1 MB, free: 12.45 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002105/0.233, allocations: 55.92 kB / 412.2 MB, free: 12.39 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001419/0.2345, allocations: 1.582 MB / 413.8 MB, free: 10.67 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001987/0.2347, allocations: 23.83 kB / 413.8 MB, free: 10.64 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.822e-05/0.2347, allocations: 8 kB / 413.8 MB, free: 10.64 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.0001787/0.2349, allocations: 169.9 kB / 414 MB, free: 10.46 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.087e-05/0.235, allocations: 51.59 kB / 414 MB, free: 10.41 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.202e-05/0.235, allocations: 43.58 kB / 414.1 MB, free: 10.37 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.235, allocations: 4 kB / 414.1 MB, free: 10.36 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-06/0.235, allocations: 0 / 414.1 MB, free: 10.36 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004948/0.2355, allocations: 0.5827 MB / 414.7 MB, free: 9.676 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008398/0.2364, allocations: 0.699 MB / 415.4 MB, free: 8.918 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.2364, allocations: 0 / 415.4 MB, free: 8.918 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002079/0.2366, allocations: 51.91 kB / 415.4 MB, free: 8.867 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.2366, allocations: 0 / 415.4 MB, free: 8.867 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.376e-05/0.2367, allocations: 4 kB / 415.4 MB, free: 8.863 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.2367, allocations: 0 / 415.4 MB, free: 8.863 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.2367, allocations: 0 / 415.4 MB, free: 8.863 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000518/0.2372, allocations: 414.9 kB / 415.8 MB, free: 8.441 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001351/0.2373, allocations: 140.8 kB / 416 MB, free: 8.285 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.107e-05/0.2374, allocations: 11.98 kB / 416 MB, free: 8.273 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002109/0.2376, allocations: 8 kB / 416 MB, free: 8.266 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.042e-05/0.2377, allocations: 11.98 kB / 416 MB, free: 8.254 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.153e-05/0.2377, allocations: 11.98 kB / 416 MB, free: 8.242 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003093/0.238, allocations: 311.2 kB / 416.3 MB, free: 7.941 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.238, allocations: 0 / 416.3 MB, free: 7.941 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003622/0.2384, allocations: 95.88 kB / 416.4 MB, free: 7.848 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.00159/0.24, allocations: 1.266 MB / 417.7 MB, free: 6.715 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005491/0.2405, allocations: 306.6 kB / 418 MB, free: 6.402 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.2405, allocations: 4.188 kB / 418 MB, free: 6.398 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000152/0.2407, allocations: 87.36 kB / 418.1 MB, free: 6.316 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005468/0.2413, allocations: 111.9 kB / 418.2 MB, free: 6.215 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003924/0.2452, allocations: 3.36 MB / 421.5 MB, free: 2.754 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003314/0.2455, allocations: 0.8077 MB / 422.3 MB, free: 1.918 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001575/0.2457, allocations: 42.95 kB / 422.4 MB, free: 1.875 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001566/0.2459, allocations: 123.4 kB / 422.5 MB, free: 1.754 MB / 334.1 MB Notification: Performance of SimCode: time 2.61e-07/0.2459, allocations: 0 / 422.5 MB, free: 1.754 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02864/0.2745, allocations: 10.16 MB / 432.7 MB, free: 7.84 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.51/11.78, allocations: 10.56 kB / 432.7 MB, free: 7.836 MB / 350.1 MB (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_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_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_TestOpenTank.fmu > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.csv","/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_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches