Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.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.OneMass,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Thermal_FluidHeatFlow_Examples_OneMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Thermal_FluidHeatFlow_Examples_OneMass",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.0008543/0.0008543, allocations: 175.5 kB / 16.72 MB, free: 5.082 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.286/1.286, allocations: 205.4 MB / 222.9 MB, free: 9.023 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.0007938/0.0007936, allocations: 92.98 kB / 271.2 MB, free: 8.25 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002934/0.0002936, allocations: 8 kB / 327.6 MB, free: 15.8 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2033/0.2036, allocations: 47.58 MB / 375.2 MB, free: 45.44 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.003084/0.2068, allocations: 3.163 MB / 378.3 MB, free: 42.95 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001583/0.2084, allocations: 0.911 MB / 379.3 MB, free: 42.19 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003659/0.2088, allocations: 9.562 kB / 379.3 MB, free: 42.19 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002923/0.2091, allocations: 76.3 kB / 379.3 MB, free: 42.12 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000496/0.2096, allocations: 169.3 kB / 379.5 MB, free: 41.98 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002575/0.2098, allocations: 96.17 kB / 379.6 MB, free: 41.9 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006164/0.2105, allocations: 0.6291 MB / 380.2 MB, free: 41.52 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002349/0.2107, allocations: 167.5 kB / 380.4 MB, free: 41.43 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002053/0.2109, allocations: 223.5 kB / 380.6 MB, free: 41.32 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002292/0.2112, allocations: 271.8 kB / 380.9 MB, free: 41.13 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.863e-05/0.2112, allocations: 35.91 kB / 380.9 MB, free: 41.13 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.67e-05/0.2113, allocations: 36.88 kB / 381 MB, free: 41.13 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.752e-05/0.2114, allocations: 102.3 kB / 381.1 MB, free: 41.05 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002272/0.2116, allocations: 295.6 kB / 381.3 MB, free: 40.85 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000329/0.212, allocations: 0.5012 MB / 381.8 MB, free: 40.47 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.212, allocations: 3.938 kB / 381.8 MB, free: 40.46 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.883e-06/0.212, allocations: 0 / 381.8 MB, free: 40.46 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.123e-06/0.212, allocations: 0 / 381.8 MB, free: 40.46 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001163/0.2132, allocations: 0.813 MB / 382.7 MB, free: 39.78 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.2132, allocations: 8.688 kB / 382.7 MB, free: 39.78 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.566e-05/0.2133, allocations: 80.06 kB / 382.7 MB, free: 39.71 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.155e-05/0.2134, allocations: 66.47 kB / 382.8 MB, free: 39.68 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005341/0.214, allocations: 437.3 kB / 383.2 MB, free: 39.3 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001878/0.2142, allocations: 90.53 kB / 383.3 MB, free: 39.24 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.034e-05/0.2142, allocations: 34.59 kB / 383.4 MB, free: 39.23 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000768/0.215, allocations: 0.5081 MB / 383.9 MB, free: 38.85 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.506e-05/0.215, allocations: 1.156 kB / 383.9 MB, free: 38.85 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.598e-05/0.2151, allocations: 16.53 kB / 383.9 MB, free: 38.84 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.321e-05/0.2151, allocations: 7.406 kB / 383.9 MB, free: 38.84 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008629/0.216, allocations: 389.3 kB / 384.3 MB, free: 38.67 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.001632/0.2176, allocations: 1.318 MB / 385.6 MB, free: 37.58 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006602/0.2183, allocations: 411.1 kB / 386 MB, free: 37.32 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004208/0.2187, allocations: 204.8 kB / 386.2 MB, free: 37.22 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.794e-05/0.2187, allocations: 5.312 kB / 386.2 MB, free: 37.22 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.863e-05/0.2188, allocations: 46.56 kB / 386.2 MB, free: 37.17 MB / 298.7 MB Notification: Performance of pre-optimization done (n=35): time 2.525e-06/0.2188, allocations: 3.984 kB / 386.2 MB, free: 37.17 MB / 298.7 MB Notification: Performance of matching and sorting (n=35): time 0.001537/0.2203, allocations: 0.7826 MB / 387 MB, free: 36.5 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.41e-05/0.2204, allocations: 448.9 kB / 387.5 MB, free: 35.96 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003483/0.2208, allocations: 457.8 kB / 387.9 MB, free: 35.5 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.819e-05/0.2208, allocations: 37.7 kB / 388 MB, free: 35.46 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001105/0.2209, allocations: 248.4 kB / 388.2 MB, free: 35.21 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.291e-05/0.221, allocations: 122.1 kB / 388.3 MB, free: 35.09 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.881e-05/0.221, allocations: 8 kB / 388.3 MB, free: 35.09 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.972e-05/0.2211, allocations: 354.8 kB / 388.7 MB, free: 34.73 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003583/0.2214, allocations: 167.7 kB / 388.8 MB, free: 34.57 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004139/0.2219, allocations: 310.5 kB / 389.1 MB, free: 34.21 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007055/0.2226, allocations: 385.1 kB / 389.5 MB, free: 33.82 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.2226, allocations: 0 / 389.5 MB, free: 33.82 MB / 298.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009043/0.2235, allocations: 0.5175 MB / 390 MB, free: 33.29 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.302e-05/0.2235, allocations: 33.64 kB / 390.1 MB, free: 33.25 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.2235, allocations: 0 / 390.1 MB, free: 33.25 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001492/0.2237, allocations: 49.69 kB / 390.1 MB, free: 33.19 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003711/0.2241, allocations: 99.88 kB / 390.2 MB, free: 33.09 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001505/0.2256, allocations: 2.74 MB / 392.9 MB, free: 30.08 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000404/0.226, allocations: 67.7 kB / 393 MB, free: 30.02 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.598e-05/0.226, allocations: 11.98 kB / 393 MB, free: 30 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {3 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.000152/0.2262, allocations: 173.7 kB / 393.2 MB, free: 29.82 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.816e-05/0.2263, allocations: 55.38 kB / 393.2 MB, free: 29.77 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.91e-05/0.2264, allocations: 52.77 kB / 393.3 MB, free: 29.72 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.2264, allocations: 4 kB / 393.3 MB, free: 29.71 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-06/0.2264, allocations: 0 / 393.3 MB, free: 29.71 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007998/0.2272, allocations: 0.7789 MB / 394.1 MB, free: 28.83 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001332/0.2285, allocations: 1.063 MB / 395.1 MB, free: 27.71 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.2285, allocations: 0 / 395.1 MB, free: 27.71 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003984/0.2289, allocations: 103.9 kB / 395.2 MB, free: 27.61 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.229, allocations: 0 / 395.2 MB, free: 27.61 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.243e-05/0.229, allocations: 8 kB / 395.3 MB, free: 27.6 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.229, allocations: 4 kB / 395.3 MB, free: 27.59 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.229, allocations: 4 kB / 395.3 MB, free: 27.59 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001216/0.2302, allocations: 0.7216 MB / 396 MB, free: 26.85 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001408/0.2304, allocations: 160.5 kB / 396.1 MB, free: 26.68 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.764e-05/0.2304, allocations: 12 kB / 396.2 MB, free: 26.66 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003684/0.2308, allocations: 40.03 kB / 396.2 MB, free: 26.62 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.685e-05/0.2309, allocations: 31.89 kB / 396.2 MB, free: 26.59 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.833e-05/0.2309, allocations: 8 kB / 396.2 MB, free: 26.59 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002699/0.2312, allocations: 319.1 kB / 396.5 MB, free: 26.28 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2312, allocations: 0 / 396.5 MB, free: 26.28 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004004/0.2316, allocations: 135.8 kB / 396.7 MB, free: 26.14 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipe.T,heatCapacitor.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 35 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001359/0.233, allocations: 1.278 MB / 398 MB, free: 24.84 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0009993/0.234, allocations: 0.6692 MB / 398.6 MB, free: 24.13 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.234, allocations: 4 kB / 398.6 MB, free: 24.12 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003739/0.2344, allocations: 199.8 kB / 398.8 MB, free: 23.93 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000651/0.235, allocations: 141.9 kB / 399 MB, free: 23.79 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003843/0.2389, allocations: 3.06 MB / 402 MB, free: 20.67 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001892/0.2391, allocations: 0.8272 MB / 402.8 MB, free: 19.81 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002264/0.2393, allocations: 179.4 kB / 403 MB, free: 19.64 MB / 298.7 MB Notification: Performance of SimCode: time 4.11e-07/0.2393, allocations: 4 kB / 403 MB, free: 19.63 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.292/3.531, allocations: 9.714 MB / 412.7 MB, free: 9.902 MB / 298.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Thermal_FluidHeatFlow_Examples_OneMass_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Thermal_FluidHeatFlow_Examples_OneMass.fmu > Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/OneMass/OneMass.csv","../files/Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches