Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Thermal_FluidHeatFlow_Examples_TestOpenTank",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Thermal_FluidHeatFlow_Examples_TestOpenTank",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001059/0.001058, allocations: 174.9 kB / 16.72 MB, free: 4.961 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.26/1.26, allocations: 205.4 MB / 222.9 MB, free: 9.008 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008297/0.0008296, allocations: 86.34 kB / 271.2 MB, free: 8.242 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000298/0.0002982, allocations: 8 kB / 327.6 MB, free: 15.79 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1898/0.1902, allocations: 47.57 MB / 375.2 MB, free: 45.32 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.002401/0.1926, allocations: 2.433 MB / 377.6 MB, free: 43.4 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001477/0.1941, allocations: 1.047 MB / 378.7 MB, free: 42.57 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000245/0.1944, allocations: 7.75 kB / 378.7 MB, free: 42.56 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003965/0.1948, allocations: 159.3 kB / 378.8 MB, free: 42.46 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004193/0.1952, allocations: 177.1 kB / 379 MB, free: 42.34 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003437/0.1956, allocations: 119.5 kB / 379.1 MB, free: 42.26 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004526/0.196, allocations: 410.3 kB / 379.5 MB, free: 42.02 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001736/0.1962, allocations: 97.92 kB / 379.6 MB, free: 41.97 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000229/0.1964, allocations: 164.4 kB / 379.8 MB, free: 41.89 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002273/0.1967, allocations: 183.9 kB / 380 MB, free: 41.78 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.055e-05/0.1967, allocations: 20.09 kB / 380 MB, free: 41.78 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001581/0.1969, allocations: 49.64 kB / 380 MB, free: 41.77 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.502e-05/0.197, allocations: 73.31 kB / 380.1 MB, free: 41.71 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001625/0.1972, allocations: 206.5 kB / 380.3 MB, free: 41.57 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003043/0.1975, allocations: 357.5 kB / 380.6 MB, free: 41.32 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.1975, allocations: 1.312 kB / 380.6 MB, free: 41.32 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.525e-06/0.1975, allocations: 0 / 380.6 MB, free: 41.32 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.468e-05/0.1975, allocations: 7.875 kB / 380.7 MB, free: 41.31 MB / 298.7 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.0008146/0.1983, allocations: 0.6207 MB / 381.3 MB, free: 40.74 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.525e-05/0.1984, allocations: 9.5 kB / 381.3 MB, free: 40.74 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.95e-05/0.1985, allocations: 59.83 kB / 381.3 MB, free: 40.68 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.068e-05/0.1986, allocations: 51.38 kB / 381.4 MB, free: 40.65 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003598/0.1989, allocations: 345.4 kB / 381.7 MB, free: 40.33 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.089e-05/0.199, allocations: 12.62 kB / 381.7 MB, free: 40.32 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.689e-05/0.199, allocations: 25.69 kB / 381.8 MB, free: 40.31 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004021/0.1994, allocations: 296.6 kB / 382.1 MB, free: 40.07 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/0.1994, allocations: 3.984 kB / 382.1 MB, free: 40.07 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.605e-05/0.1995, allocations: 11.78 kB / 382.1 MB, free: 40.06 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.1995, allocations: 5.125 kB / 382.1 MB, free: 40.06 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002698/0.1998, allocations: 148.3 kB / 382.2 MB, free: 40 MB / 298.7 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.001148/0.2009, allocations: 0.8478 MB / 383.1 MB, free: 39.27 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003409/0.2013, allocations: 186.9 kB / 383.2 MB, free: 39.16 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001287/0.2014, allocations: 77.2 kB / 383.3 MB, free: 39.12 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.776e-05/0.2014, allocations: 8.219 kB / 383.3 MB, free: 39.12 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002462/0.2017, allocations: 132.6 kB / 383.5 MB, free: 39.02 MB / 298.7 MB Notification: Performance of pre-optimization done (n=23): time 1.603e-06/0.2017, allocations: 0 / 383.5 MB, free: 39.02 MB / 298.7 MB Notification: Performance of matching and sorting (n=23): time 0.0007509/0.2025, allocations: 404.1 kB / 383.9 MB, free: 38.75 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.696e-05/0.2025, allocations: 316.8 kB / 384.2 MB, free: 38.38 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003979/0.2029, allocations: 433.7 kB / 384.6 MB, free: 38.12 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.143e-05/0.203, allocations: 32.36 kB / 384.6 MB, free: 38.09 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001036/0.2031, allocations: 205.9 kB / 384.8 MB, free: 37.9 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.787e-05/0.2031, allocations: 81.22 kB / 384.9 MB, free: 37.83 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.11e-05/0.2031, allocations: 5.062 kB / 384.9 MB, free: 37.83 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.011e-05/0.2032, allocations: 348.9 kB / 385.2 MB, free: 37.49 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001238/0.2033, allocations: 63.22 kB / 385.3 MB, free: 37.46 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001709/0.2035, allocations: 179 kB / 385.5 MB, free: 37.29 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002594/0.2038, allocations: 176.4 kB / 385.7 MB, free: 37.18 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.2038, allocations: 0.875 kB / 385.7 MB, free: 37.18 MB / 298.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004216/0.2042, allocations: 269 kB / 385.9 MB, free: 37.03 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.2042, allocations: 7.656 kB / 385.9 MB, free: 37.03 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.2043, allocations: 1.469 kB / 385.9 MB, free: 37.03 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001122/0.2044, allocations: 32.84 kB / 386 MB, free: 37.01 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001945/0.2046, allocations: 55.84 kB / 386 MB, free: 37 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009907/0.2056, allocations: 1.453 MB / 387.5 MB, free: 35.55 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002327/0.2058, allocations: 24.44 kB / 387.5 MB, free: 35.53 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.683e-05/0.2058, allocations: 7.5 kB / 387.5 MB, free: 35.53 MB / 298.7 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 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 1} Notification: Performance of prepare postOptimizeDAE: time 0.000168/0.206, allocations: 170.2 kB / 387.7 MB, free: 35.38 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.394e-05/0.2061, allocations: 40.97 kB / 387.7 MB, free: 35.36 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.803e-05/0.2062, allocations: 47.41 kB / 387.8 MB, free: 35.32 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.2062, allocations: 6.625 kB / 387.8 MB, free: 35.32 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.896e-06/0.2062, allocations: 1.25 kB / 387.8 MB, free: 35.32 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000352/0.2065, allocations: 0.5834 MB / 388.3 MB, free: 34.71 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006917/0.2072, allocations: 0.7072 MB / 389 MB, free: 33.95 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.2072, allocations: 0 / 389 MB, free: 33.95 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001779/0.2074, allocations: 55.84 kB / 389.1 MB, free: 33.9 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.2074, allocations: 0 / 389.1 MB, free: 33.9 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.615e-05/0.2075, allocations: 8 kB / 389.1 MB, free: 33.89 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.2075, allocations: 3.984 kB / 389.1 MB, free: 33.89 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.2075, allocations: 0 / 389.1 MB, free: 33.89 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004166/0.2079, allocations: 410.6 kB / 389.5 MB, free: 33.47 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001117/0.208, allocations: 128.8 kB / 389.6 MB, free: 33.32 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.735e-05/0.2081, allocations: 11.92 kB / 389.7 MB, free: 33.31 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000207/0.2083, allocations: 19.84 kB / 389.7 MB, free: 33.29 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.976e-05/0.2083, allocations: 15.97 kB / 389.7 MB, free: 33.28 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.918e-05/0.2084, allocations: 8 kB / 389.7 MB, free: 33.27 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002215/0.2086, allocations: 311.1 kB / 390 MB, free: 32.97 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2086, allocations: 4 kB / 390 MB, free: 32.97 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003631/0.209, allocations: 96.06 kB / 390.1 MB, free: 32.88 MB / 298.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001212/0.2102, allocations: 1.239 MB / 391.3 MB, free: 31.64 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004564/0.2107, allocations: 314.3 kB / 391.6 MB, free: 31.32 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.624e-06/0.2107, allocations: 0 / 391.6 MB, free: 31.32 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001228/0.2108, allocations: 79.91 kB / 391.7 MB, free: 31.24 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005248/0.2113, allocations: 92.8 kB / 391.8 MB, free: 31.15 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00254/0.2139, allocations: 2.248 MB / 394.1 MB, free: 28.84 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001977/0.2141, allocations: 0.8075 MB / 394.9 MB, free: 28.01 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001381/0.2142, allocations: 127.4 kB / 395 MB, free: 27.88 MB / 298.7 MB Notification: Performance of SimCode: time 2.91e-07/0.2142, allocations: 0 / 395 MB, free: 27.88 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.296/3.51, allocations: 6.744 MB / 401.7 MB, free: 21.12 MB / 298.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Thermal_FluidHeatFlow_Examples_TestOpenTank_fmu --startTime=0 --stopTime=1.5 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Thermal_FluidHeatFlow_Examples_TestOpenTank.fmu > Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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","../files/Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches