Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001371/0.001371, allocations: 83.62 kB / 21.43 MB, free: 3.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00875/0.00875, allocations: 161.2 kB / 24.69 MB, free: 9.414 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9401/0.9401, allocations: 158.6 MB / 186.5 MB, free: 3.039 MB / 170.7 MB " [Timeout remaining time 179] 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 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.TwoMasses,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_HeatTransfer_Examples_TwoMasses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.TwoMasses,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_HeatTransfer_Examples_TwoMasses",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.644e-06/1.644e-06, allocations: 0 / 298.4 MB, free: 3.543 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.94e-05/2.104e-05, allocations: 2.281 kB / 298.4 MB, free: 3.539 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.00193/0.001951, allocations: 1.577 MB / 300 MB, free: 1.945 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006184/0.002569, allocations: 0.5042 MB / 300.5 MB, free: 1.434 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.414e-05/0.002613, allocations: 8 kB / 300.5 MB, free: 1.426 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.398e-05/0.002657, allocations: 11.86 kB / 300.5 MB, free: 1.414 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 6.048e-05/0.002718, allocations: 31.7 kB / 300.5 MB, free: 1.383 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002006/0.002918, allocations: 23.97 kB / 300.6 MB, free: 1.359 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001031/0.003021, allocations: 103.5 kB / 300.7 MB, free: 1.258 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.003128, allocations: 23.98 kB / 300.7 MB, free: 1.234 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.515e-05/0.003183, allocations: 55.88 kB / 300.7 MB, free: 1.18 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.439e-05/0.003258, allocations: 35.89 kB / 300.8 MB, free: 1.145 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.612e-05/0.003274, allocations: 8 kB / 300.8 MB, free: 1.137 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.996e-05/0.003334, allocations: 12 kB / 300.8 MB, free: 1.125 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.599e-05/0.00335, allocations: 12 kB / 300.8 MB, free: 1.113 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.028e-05/0.00338, allocations: 35.91 kB / 300.8 MB, free: 1.078 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001281/0.003508, allocations: 107.7 kB / 301 MB, free: 0.9727 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.00351, allocations: 0 / 301 MB, free: 0.9727 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.01e-07/0.003511, allocations: 0 / 301 MB, free: 0.9727 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.817e-06/0.003515, allocations: 0 / 301 MB, free: 0.9727 MB / 282.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.0003563/0.003871, allocations: 306 kB / 301.3 MB, free: 0.6445 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.003909, allocations: 15.92 kB / 301.3 MB, free: 0.6289 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.802e-05/0.003947, allocations: 50.67 kB / 301.3 MB, free: 0.5703 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.583e-05/0.004023, allocations: 12.89 kB / 301.3 MB, free: 0.5586 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.639e-05/0.004099, allocations: 109.7 kB / 301.4 MB, free: 436 kB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.939e-06/0.004109, allocations: 4.375 kB / 301.4 MB, free: 432 kB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.306e-05/0.004132, allocations: 12.38 kB / 301.5 MB, free: 420 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001187/0.004251, allocations: 82.22 kB / 301.5 MB, free: 332 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.248e-06/0.00426, allocations: 192 / 301.5 MB, free: 332 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.225e-05/0.004272, allocations: 16.06 kB / 301.5 MB, free: 316 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.004277, allocations: 0 / 301.5 MB, free: 316 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.996e-05/0.004357, allocations: 51.92 kB / 301.6 MB, free: 264 kB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1286/0.1329, allocations: 348.6 kB / 301.9 MB, free: 15.62 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001823/0.1331, allocations: 67.83 kB / 302 MB, free: 15.59 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.242e-05/0.1332, allocations: 29.83 kB / 302 MB, free: 15.59 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.693e-05/0.1332, allocations: 1.875 kB / 302 MB, free: 15.59 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.28e-05/0.1332, allocations: 34.66 kB / 302.1 MB, free: 15.55 MB / 282.7 MB Notification: Performance of pre-optimization done (n=8): time 2.946e-06/0.1332, allocations: 0 / 302.1 MB, free: 15.55 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002438/0.1334, allocations: 90.06 kB / 302.2 MB, free: 15.52 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.044e-05/0.1335, allocations: 62.12 kB / 302.2 MB, free: 15.45 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.016e-05/0.1335, allocations: 105 kB / 302.3 MB, free: 15.36 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.117e-06/0.1336, allocations: 27.77 kB / 302.4 MB, free: 15.32 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.297e-05/0.1336, allocations: 103.2 kB / 302.5 MB, free: 15.24 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.682e-05/0.1336, allocations: 30.03 kB / 302.5 MB, free: 15.23 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.364e-05/0.1337, allocations: 28.41 kB / 302.5 MB, free: 15.21 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.3e-05/0.1337, allocations: 314 kB / 302.8 MB, free: 14.9 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.69e-05/0.1338, allocations: 26.94 kB / 302.8 MB, free: 14.9 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.814e-05/0.1338, allocations: 45.36 kB / 302.9 MB, free: 14.88 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.669e-05/0.1339, allocations: 64.73 kB / 302.9 MB, free: 14.86 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.1339, allocations: 0.8438 kB / 302.9 MB, free: 14.86 MB / 282.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000173/0.1341, allocations: 106.3 kB / 303.1 MB, free: 14.82 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.258e-05/0.1341, allocations: 10.25 kB / 303.1 MB, free: 14.82 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.313e-06/0.1341, allocations: 3.781 kB / 303.1 MB, free: 14.82 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/0.1342, allocations: 3.094 kB / 303.1 MB, free: 14.82 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001524/0.1343, allocations: 29.7 kB / 303.1 MB, free: 14.82 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.655e-06/0.1343, allocations: 4.641 kB / 303.1 MB, free: 14.82 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.651e-05/0.1344, allocations: 10.53 kB / 303.1 MB, free: 14.81 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.227e-06/0.1344, allocations: 3.5 kB / 303.1 MB, free: 14.81 MB / 282.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.674e-05/0.1344, allocations: 119.9 kB / 303.2 MB, free: 14.7 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.747e-05/0.1345, allocations: 3.688 kB / 303.2 MB, free: 14.7 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.62e-05/0.1345, allocations: 14.36 kB / 303.3 MB, free: 14.7 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.429e-06/0.1345, allocations: 1.719 kB / 303.3 MB, free: 14.7 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.1345, allocations: 0 / 303.3 MB, free: 14.7 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.1345, allocations: 3.375 kB / 303.3 MB, free: 14.7 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001804/0.1347, allocations: 154.7 kB / 303.4 MB, free: 14.54 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.033e-06/0.1347, allocations: 2.016 kB / 303.4 MB, free: 14.54 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001116/0.1348, allocations: 25.69 kB / 303.4 MB, free: 14.54 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.015e-06/0.1348, allocations: 5.188 kB / 303.4 MB, free: 14.54 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-06/0.1348, allocations: 3.938 kB / 303.4 MB, free: 14.54 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.1348, allocations: 4.656 kB / 303.4 MB, free: 14.54 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.1348, allocations: 3.219 kB / 303.5 MB, free: 14.54 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000199/0.135, allocations: 185.2 kB / 303.6 MB, free: 14.39 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.374e-05/0.1351, allocations: 6.141 kB / 303.6 MB, free: 14.38 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.914e-05/0.1351, allocations: 11.64 kB / 303.6 MB, free: 14.38 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.977e-05/0.1351, allocations: 1 kB / 303.7 MB, free: 14.38 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.022e-05/0.1352, allocations: 4.203 kB / 303.7 MB, free: 14.38 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.6e-06/0.1352, allocations: 2.219 kB / 303.7 MB, free: 14.38 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.621e-05/0.1352, allocations: 85.83 kB / 303.7 MB, free: 14.3 MB / 282.7 MB Notification: Performance of sort global known variables: time 1e-07/0.1352, allocations: 7.625 kB / 303.7 MB, free: 14.3 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002944/0.1355, allocations: 22.73 kB / 303.8 MB, free: 14.3 MB / 282.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 (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.0003112/0.1358, allocations: 0.7292 MB / 304.5 MB, free: 13.61 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001482/0.1359, allocations: 55.55 kB / 304.6 MB, free: 13.59 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.1359, allocations: 1.219 kB / 304.6 MB, free: 13.59 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.325e-05/0.136, allocations: 24.17 kB / 304.6 MB, free: 13.59 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004117/0.1364, allocations: 8.656 kB / 304.6 MB, free: 13.58 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001356/0.1377, allocations: 1.495 MB / 306.1 MB, free: 12.26 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.364e-05/0.1378, allocations: 82.56 kB / 306.2 MB, free: 12.18 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.4e-05/0.1379, allocations: 9.141 kB / 306.2 MB, free: 12.18 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.467e-05/0.1379, allocations: 21.61 kB / 306.2 MB, free: 12.16 MB / 282.7 MB Notification: Performance of SimCode: time 1.443e-06/0.1379, allocations: 5.094 kB / 306.2 MB, free: 12.16 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0227/0.1606, allocations: 2.468 MB / 308.7 MB, free: 11.07 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.071/7.232, allocations: 1.188 kB / 308.7 MB, free: 11.07 MB / 282.7 MB " [Timeout remaining time 653] (rm -f Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_3_2_3_Modelica_Thermal_HeatTransfer_Examples_TwoMasses.fmu > Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/HeatTransfer/Examples/TwoMasses/TwoMasses.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.003725728951395]