Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.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.HeatTransfer.Examples.TwoMasses,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Thermal_HeatTransfer_Examples_TwoMasses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.TwoMasses,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Thermal_HeatTransfer_Examples_TwoMasses",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.0008352/0.0008352, allocations: 175.3 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.172/1.172, allocations: 205.4 MB / 222.9 MB, free: 9.02 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.0006988/0.0006986, allocations: 93.33 kB / 271.2 MB, free: 8.238 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003133/0.0003135, allocations: 8 kB / 327.6 MB, free: 15.79 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1942/0.1946, allocations: 47.58 MB / 375.2 MB, free: 45.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.001409/0.196, allocations: 1.319 MB / 376.5 MB, free: 44.39 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006458/0.1967, allocations: 0.4903 MB / 377 MB, free: 44 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.65e-05/0.1967, allocations: 5.031 kB / 377 MB, free: 43.99 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 2.656e-05/0.1968, allocations: 5.984 kB / 377 MB, free: 43.99 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.184e-05/0.1968, allocations: 26.92 kB / 377 MB, free: 43.96 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001744/0.197, allocations: 15.98 kB / 377 MB, free: 43.95 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001002/0.1971, allocations: 95.38 kB / 377.1 MB, free: 43.9 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001281/0.1973, allocations: 35.73 kB / 377.2 MB, free: 43.88 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.288e-05/0.1973, allocations: 30.91 kB / 377.2 MB, free: 43.86 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.218e-05/0.1974, allocations: 32.69 kB / 377.2 MB, free: 43.84 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.528e-05/0.1974, allocations: 5.219 kB / 377.2 MB, free: 43.84 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.52e-05/0.1975, allocations: 7.906 kB / 377.2 MB, free: 43.84 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.539e-05/0.1975, allocations: 18.25 kB / 377.3 MB, free: 43.82 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.89e-05/0.1976, allocations: 65.41 kB / 377.3 MB, free: 43.77 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001027/0.1977, allocations: 69.91 kB / 377.4 MB, free: 43.72 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.1977, allocations: 4 kB / 377.4 MB, free: 43.72 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1977, allocations: 0 / 377.4 MB, free: 43.72 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.1977, allocations: 4 kB / 377.4 MB, free: 43.71 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003669/0.1981, allocations: 368.7 kB / 377.8 MB, free: 43.33 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.1981, allocations: 9.188 kB / 377.8 MB, free: 43.33 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.953e-05/0.1982, allocations: 36.94 kB / 377.8 MB, free: 43.29 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001059/0.1983, allocations: 15.33 kB / 377.8 MB, free: 43.28 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.448e-05/0.1984, allocations: 171.6 kB / 378 MB, free: 43.08 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/0.1984, allocations: 8.312 kB / 378 MB, free: 43.07 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.878e-05/0.1984, allocations: 10.03 kB / 378 MB, free: 43.07 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001442/0.1986, allocations: 90.5 kB / 378.1 MB, free: 43 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.1986, allocations: 4.906 kB / 378.1 MB, free: 43 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.1986, allocations: 5.125 kB / 378.1 MB, free: 42.99 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.523e-06/0.1986, allocations: 2.312 kB / 378.1 MB, free: 42.99 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.876e-05/0.1987, allocations: 52.84 kB / 378.2 MB, free: 42.97 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005588/0.1993, allocations: 403 kB / 378.6 MB, free: 42.59 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001134/0.1994, allocations: 74.25 kB / 378.6 MB, free: 42.54 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.121e-05/0.1995, allocations: 36.28 kB / 378.7 MB, free: 42.52 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.279e-05/0.1995, allocations: 1.125 kB / 378.7 MB, free: 42.52 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.331e-05/0.1995, allocations: 31.59 kB / 378.7 MB, free: 42.48 MB / 298.7 MB Notification: Performance of pre-optimization done (n=8): time 1.293e-06/0.1995, allocations: 3.938 kB / 378.7 MB, free: 42.47 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.000195/0.1997, allocations: 91.05 kB / 378.8 MB, free: 42.41 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.382e-05/0.1997, allocations: 52.66 kB / 378.8 MB, free: 42.35 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.954e-05/0.1998, allocations: 105.4 kB / 378.9 MB, free: 42.24 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.488e-06/0.1998, allocations: 31.22 kB / 379 MB, free: 42.21 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.524e-05/0.1999, allocations: 98.58 kB / 379.1 MB, free: 42.11 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.67e-05/0.1999, allocations: 31.27 kB / 379.1 MB, free: 42.08 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.589e-06/0.1999, allocations: 1.281 kB / 379.1 MB, free: 42.08 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.899e-05/0.1999, allocations: 319.9 kB / 379.4 MB, free: 41.76 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.565e-05/0.2, allocations: 27.83 kB / 379.4 MB, free: 41.75 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.583e-05/0.2, allocations: 40.72 kB / 379.5 MB, free: 41.71 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.465e-05/0.2001, allocations: 70.22 kB / 379.5 MB, free: 41.66 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.2001, allocations: 3.938 kB / 379.6 MB, free: 41.66 MB / 298.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001352/0.2003, allocations: 105.8 kB / 379.7 MB, free: 41.59 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.2003, allocations: 9.25 kB / 379.7 MB, free: 41.59 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.2003, allocations: 0 / 379.7 MB, free: 41.59 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.2003, allocations: 6.062 kB / 379.7 MB, free: 41.58 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001152/0.2004, allocations: 31.39 kB / 379.7 MB, free: 41.57 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.2005, allocations: 1.156 kB / 379.7 MB, free: 41.57 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.089e-05/0.2005, allocations: 8.312 kB / 379.7 MB, free: 41.57 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.674e-06/0.2005, allocations: 3.219 kB / 379.7 MB, free: 41.57 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 (13): * Single equations (assignments): 13 * 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 prepare postOptimizeDAE: time 5.532e-05/0.2006, allocations: 119 kB / 379.8 MB, free: 41.45 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.431e-05/0.2006, allocations: 6.156 kB / 379.8 MB, free: 41.44 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.872e-05/0.2006, allocations: 13.91 kB / 379.8 MB, free: 41.43 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/0.2007, allocations: 1.406 kB / 379.8 MB, free: 41.43 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.124e-06/0.2007, allocations: 7.969 kB / 379.9 MB, free: 41.43 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.2007, allocations: 0 / 379.9 MB, free: 41.43 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001364/0.2008, allocations: 182.1 kB / 380 MB, free: 41.21 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.2008, allocations: 1.031 kB / 380 MB, free: 41.21 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.667e-05/0.2009, allocations: 24.05 kB / 380.1 MB, free: 41.21 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.2009, allocations: 3.938 kB / 380.1 MB, free: 41.2 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.2009, allocations: 9 kB / 380.1 MB, free: 41.2 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.201, allocations: 4.969 kB / 380.1 MB, free: 41.19 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.201, allocations: 0 / 380.1 MB, free: 41.19 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001492/0.2011, allocations: 186.7 kB / 380.3 MB, free: 41.03 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.813e-05/0.2011, allocations: 83.52 kB / 380.3 MB, free: 40.93 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.365e-05/0.2012, allocations: 9.188 kB / 380.3 MB, free: 40.93 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.884e-05/0.2012, allocations: 1.594 kB / 380.4 MB, free: 40.93 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.92e-05/0.2013, allocations: 6.422 kB / 380.4 MB, free: 40.92 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.739e-06/0.2013, allocations: 9.656 kB / 380.4 MB, free: 40.91 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.256e-05/0.2013, allocations: 84.06 kB / 380.4 MB, free: 40.84 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.91e-07/0.2013, allocations: 0 / 380.4 MB, free: 40.84 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.00022/0.2015, allocations: 22.72 kB / 380.5 MB, free: 40.83 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (mass1.T,mass2.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 (8): * Single equations (assignments): 8 * 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.0002629/0.2018, allocations: 0.7209 MB / 381.2 MB, free: 40.13 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001129/0.2019, allocations: 70.05 kB / 381.3 MB, free: 40.1 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.2019, allocations: 0 / 381.3 MB, free: 40.1 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.001e-05/0.202, allocations: 22.34 kB / 381.3 MB, free: 40.09 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002472/0.2022, allocations: 12.23 kB / 381.3 MB, free: 40.08 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009182/0.2031, allocations: 0.728 MB / 382 MB, free: 39.45 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000165/0.2033, allocations: 0.6956 MB / 382.7 MB, free: 38.74 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.099e-05/0.2034, allocations: 27.77 kB / 382.7 MB, free: 38.72 MB / 298.7 MB Notification: Performance of SimCode: time 2.2e-07/0.2034, allocations: 0 / 382.7 MB, free: 38.72 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.444/2.648, allocations: 1.285 MB / 384 MB, free: 38.08 MB / 298.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.TwoMasses_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Thermal_HeatTransfer_Examples_TwoMasses_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Thermal_HeatTransfer_Examples_TwoMasses.fmu > Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.TwoMasses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/HeatTransfer/Examples/TwoMasses/TwoMasses.csv","../files/Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches