Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.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.TwoMass,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Thermal_FluidHeatFlow_Examples_TwoMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Thermal_FluidHeatFlow_Examples_TwoMass",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.001501/0.001501, allocations: 175.3 kB / 16.72 MB, free: 5.078 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.283/1.283, allocations: 205.4 MB / 222.9 MB, free: 9.016 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.0007794/0.0007795, allocations: 93.34 kB / 271.2 MB, free: 8.25 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003073/0.0003074, allocations: 8 kB / 327.6 MB, free: 15.8 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1959/0.1962, allocations: 47.58 MB / 375.2 MB, free: 45.42 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.003872/0.2001, allocations: 4.388 MB / 379.6 MB, free: 41.96 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002185/0.2023, allocations: 1.23 MB / 380.8 MB, free: 40.92 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009211/0.2033, allocations: 7.969 kB / 380.8 MB, free: 40.92 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005684/0.2039, allocations: 108.4 kB / 380.9 MB, free: 40.83 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001233/0.2051, allocations: 287 kB / 381.2 MB, free: 40.59 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004578/0.2056, allocations: 171.9 kB / 381.4 MB, free: 40.44 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00122/0.2068, allocations: 1.078 MB / 382.4 MB, free: 39.79 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003898/0.2072, allocations: 283.4 kB / 382.7 MB, free: 39.61 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004268/0.2077, allocations: 398.8 kB / 383.1 MB, free: 39.4 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003849/0.2081, allocations: 463 kB / 383.6 MB, free: 39.09 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001219/0.2082, allocations: 66.09 kB / 383.6 MB, free: 39.09 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001549/0.2084, allocations: 70.34 kB / 383.7 MB, free: 39.09 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001156/0.2085, allocations: 176.7 kB / 383.9 MB, free: 38.94 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004051/0.2089, allocations: 494.6 kB / 384.4 MB, free: 38.62 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005701/0.2095, allocations: 0.8782 MB / 385.2 MB, free: 37.95 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.2095, allocations: 0 / 385.2 MB, free: 37.95 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.2095, allocations: 0 / 385.2 MB, free: 37.95 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.123e-05/0.2095, allocations: 1.25 kB / 385.2 MB, free: 37.95 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.001877/0.2114, allocations: 1.198 MB / 386.4 MB, free: 37 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/0.2114, allocations: 8.688 kB / 386.4 MB, free: 37 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001488/0.2116, allocations: 119.9 kB / 386.6 MB, free: 36.9 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001557/0.2118, allocations: 111.1 kB / 386.7 MB, free: 36.85 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007356/0.2125, allocations: 0.5887 MB / 387.3 MB, free: 36.36 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002709/0.2128, allocations: 173.6 kB / 387.4 MB, free: 36.23 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.595e-05/0.2129, allocations: 68.55 kB / 387.5 MB, free: 36.2 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001196/0.2141, allocations: 0.8922 MB / 388.4 MB, free: 35.21 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.822e-05/0.2141, allocations: 0 / 388.4 MB, free: 35.21 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.717e-05/0.2142, allocations: 28 kB / 388.4 MB, free: 35.18 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.658e-06/0.2142, allocations: 16 kB / 388.4 MB, free: 35.17 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001274/0.2155, allocations: 0.6726 MB / 389.1 MB, free: 34.49 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.002619/0.2181, allocations: 2.112 MB / 391.2 MB, free: 32.28 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001093/0.2192, allocations: 0.8935 MB / 392.1 MB, free: 31.33 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006822/0.2199, allocations: 422.8 kB / 392.5 MB, free: 30.92 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.607e-05/0.22, allocations: 24.64 kB / 392.5 MB, free: 30.89 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.259e-05/0.22, allocations: 47.2 kB / 392.6 MB, free: 30.84 MB / 298.7 MB Notification: Performance of pre-optimization done (n=73): time 2.475e-06/0.22, allocations: 0 / 392.6 MB, free: 30.84 MB / 298.7 MB Notification: Performance of matching and sorting (n=73): time 0.00451/0.2245, allocations: 1.984 MB / 394.6 MB, free: 28.76 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001301/0.2247, allocations: 0.8234 MB / 395.4 MB, free: 27.74 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005878/0.2253, allocations: 0.6369 MB / 396 MB, free: 27.1 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.889e-05/0.2253, allocations: 45.7 kB / 396.1 MB, free: 27.05 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001679/0.2255, allocations: 337 kB / 396.4 MB, free: 26.71 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001329/0.2257, allocations: 256.2 kB / 396.7 MB, free: 26.46 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.566e-05/0.2257, allocations: 20 kB / 396.7 MB, free: 26.44 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.285e-05/0.2258, allocations: 382.8 kB / 397.1 MB, free: 26.05 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005976/0.2264, allocations: 305.8 kB / 397.3 MB, free: 25.76 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007353/0.2271, allocations: 0.578 MB / 397.9 MB, free: 25.08 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001204/0.2283, allocations: 0.7364 MB / 398.7 MB, free: 24.32 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/0.2284, allocations: 0 / 398.7 MB, free: 24.32 MB / 298.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002312/0.2307, allocations: 1.192 MB / 399.9 MB, free: 23.09 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.55e-05/0.2307, allocations: 89.09 kB / 399.9 MB, free: 22.98 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.2307, allocations: 4 kB / 399.9 MB, free: 22.98 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005822/0.2313, allocations: 251.2 kB / 400.2 MB, free: 22.72 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005692/0.2319, allocations: 155.8 kB / 400.3 MB, free: 22.57 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00542/0.2373, allocations: 6.503 MB / 406.8 MB, free: 15.52 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009161/0.2383, allocations: 123.3 kB / 407 MB, free: 15.4 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.716e-05/0.2383, allocations: 24 kB / 407 MB, free: 15.38 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (69): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {3 3,1 3,1 7,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002791/0.2386, allocations: 218.4 kB / 407.2 MB, free: 15.16 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001084/0.2387, allocations: 91 kB / 407.3 MB, free: 15.07 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001348/0.2389, allocations: 87.34 kB / 407.4 MB, free: 14.98 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.339e-06/0.2389, allocations: 12 kB / 407.4 MB, free: 14.96 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.2389, allocations: 0 / 407.4 MB, free: 14.96 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00213/0.241, allocations: 1.338 MB / 408.7 MB, free: 13.51 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003175/0.2442, allocations: 2.039 MB / 410.8 MB, free: 11.41 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.2442, allocations: 0 / 410.8 MB, free: 11.41 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006199/0.2449, allocations: 143.8 kB / 410.9 MB, free: 11.27 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004605/0.2453, allocations: 226.4 kB / 411.1 MB, free: 11.04 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.8e-05/0.2454, allocations: 15.98 kB / 411.1 MB, free: 11.02 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004584/0.25, allocations: 5.051 MB / 416.2 MB, free: 5.566 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.25, allocations: 0 / 416.2 MB, free: 5.566 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002915/0.2529, allocations: 1.523 MB / 417.7 MB, free: 4.02 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003128/0.2532, allocations: 235.9 kB / 417.9 MB, free: 3.77 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.691e-05/0.2533, allocations: 23.94 kB / 418 MB, free: 3.746 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006264/0.254, allocations: 71.94 kB / 418 MB, free: 3.676 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001783/0.2542, allocations: 60.56 kB / 418.1 MB, free: 3.617 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.549e-05/0.2542, allocations: 23.98 kB / 418.1 MB, free: 3.594 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003915/0.2546, allocations: 447.1 kB / 418.6 MB, free: 3.164 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2546, allocations: 0 / 418.6 MB, free: 3.164 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0007164/0.2553, allocations: 287.7 kB / 418.8 MB, free: 2.883 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (pipe1.T,pipe2.T,pipe3.T,heatCapacitor1.T,heatCapacitor2.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 (61): * Single equations (assignments): 58 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 3,1 3,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.002982/0.2583, allocations: 2.099 MB / 420.9 MB, free: 0.7422 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001946/0.2603, allocations: 1.395 MB / 422.3 MB, free: 15.26 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/0.2603, allocations: 4 kB / 422.3 MB, free: 15.26 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001306/0.2616, allocations: 0.8082 MB / 423.1 MB, free: 14.41 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001001/0.2626, allocations: 237.2 kB / 423.4 MB, free: 14.18 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008525/0.2712, allocations: 5.448 MB / 428.8 MB, free: 8.598 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004364/0.2716, allocations: 0.9479 MB / 429.8 MB, free: 7.625 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000419/0.272, allocations: 303.3 kB / 430.1 MB, free: 7.328 MB / 314.7 MB Notification: Performance of SimCode: time 4.51e-07/0.272, allocations: 0 / 430.1 MB, free: 7.328 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.518/4.79, allocations: 23.94 MB / 454 MB, free: 15.31 MB / 346.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Thermal_FluidHeatFlow_Examples_TwoMass_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Thermal_FluidHeatFlow_Examples_TwoMass.fmu > Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/TwoMass/TwoMass.csv","../files/Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches