Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.TwoMasses,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_HeatTransfer_Examples_TwoMasses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.TwoMasses,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_HeatTransfer_Examples_TwoMasses",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001498/0.001497, allocations: 107.1 kB / 16.92 MB, free: 5.789 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001531/0.001531, allocations: 191.3 kB / 17.85 MB, free: 5.191 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.404/1.404, allocations: 222.9 MB / 241.5 MB, free: 15.3 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001256, allocations: 43.92 kB / 300.7 MB, free: 5.801 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1236/0.1249, allocations: 49.44 MB / 350.2 MB, free: 4.352 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.004418/0.1293, allocations: 1.627 MB / 351.8 MB, free: 2.707 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001145/0.1305, allocations: 0.5079 MB / 352.3 MB, free: 2.195 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001328/0.1307, allocations: 0 / 352.3 MB, free: 2.195 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 6.857e-05/0.1308, allocations: 11.86 kB / 352.3 MB, free: 2.184 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001098/0.1309, allocations: 27.77 kB / 352.3 MB, free: 2.156 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002916/0.1312, allocations: 39.83 kB / 352.4 MB, free: 2.117 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001813/0.1314, allocations: 99.59 kB / 352.5 MB, free: 2.02 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002436/0.1316, allocations: 35.98 kB / 352.5 MB, free: 1.984 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.384e-05/0.1317, allocations: 35.86 kB / 352.5 MB, free: 1.949 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001378/0.1319, allocations: 39.84 kB / 352.6 MB, free: 1.91 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.712e-05/0.1319, allocations: 8 kB / 352.6 MB, free: 1.902 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001308/0.1321, allocations: 12 kB / 352.6 MB, free: 1.891 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.493e-05/0.1321, allocations: 15.98 kB / 352.6 MB, free: 1.875 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 8.563e-05/0.1322, allocations: 47.8 kB / 352.7 MB, free: 1.828 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00021/0.1324, allocations: 95.95 kB / 352.7 MB, free: 1.734 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.1324, allocations: 0 / 352.7 MB, free: 1.734 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.877e-06/0.1324, allocations: 0 / 352.7 MB, free: 1.734 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.436e-06/0.1325, allocations: 3.938 kB / 352.8 MB, free: 1.73 MB / 286.1 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.0007011/0.1332, allocations: 391.2 kB / 353.1 MB, free: 1.301 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.332e-05/0.1332, allocations: 8.031 kB / 353.1 MB, free: 1.293 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.403e-05/0.1333, allocations: 38.75 kB / 353.2 MB, free: 1.246 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002091/0.1335, allocations: 12.84 kB / 353.2 MB, free: 1.234 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001984/0.1337, allocations: 168.3 kB / 353.4 MB, free: 1.031 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.737e-05/0.1338, allocations: 8.375 kB / 353.4 MB, free: 1.023 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.073e-05/0.1338, allocations: 12.31 kB / 353.4 MB, free: 1.012 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002389/0.1341, allocations: 100.6 kB / 353.5 MB, free: 0.9102 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.705e-05/0.1341, allocations: 0 / 353.5 MB, free: 0.9102 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.843e-05/0.1341, allocations: 4 kB / 353.5 MB, free: 0.9062 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.334e-05/0.1341, allocations: 8 kB / 353.5 MB, free: 0.8984 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001444/0.1343, allocations: 51.97 kB / 353.5 MB, free: 0.8477 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001006/0.1353, allocations: 404.3 kB / 353.9 MB, free: 412 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001709/0.1355, allocations: 66.56 kB / 354 MB, free: 336 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.203e-05/0.1356, allocations: 36.84 kB / 354 MB, free: 296 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.54e-05/0.1356, allocations: 4 kB / 354 MB, free: 292 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.284e-05/0.1356, allocations: 34.5 kB / 354.1 MB, free: 248 kB / 286.1 MB Notification: Performance of pre-optimization done (n=8): time 1.243e-06/0.1356, allocations: 0 / 354.1 MB, free: 248 kB / 286.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002729/0.1359, allocations: 97.67 kB / 354.2 MB, free: 144 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.421e-05/0.136, allocations: 51.41 kB / 354.2 MB, free: 80 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001364/0.1361, allocations: 105.8 kB / 354.3 MB, free: 15.96 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.038e-05/0.1361, allocations: 29.7 kB / 354.3 MB, free: 15.93 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.687e-05/0.1362, allocations: 99.88 kB / 354.4 MB, free: 15.83 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.625e-05/0.1363, allocations: 31.55 kB / 354.5 MB, free: 15.8 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.311e-05/0.1363, allocations: 25.72 kB / 354.5 MB, free: 15.77 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001624/0.1365, allocations: 318.8 kB / 354.8 MB, free: 15.45 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.66e-05/0.1366, allocations: 24 kB / 354.8 MB, free: 15.42 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.129e-05/0.1366, allocations: 44.31 kB / 354.9 MB, free: 15.37 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001112/0.1368, allocations: 70.44 kB / 354.9 MB, free: 15.29 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.1368, allocations: 4 kB / 355 MB, free: 15.29 MB / 302.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002018/0.137, allocations: 101.6 kB / 355.1 MB, free: 15.18 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.371e-05/0.137, allocations: 12.06 kB / 355.1 MB, free: 15.17 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.137, allocations: 0 / 355.1 MB, free: 15.17 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.16e-05/0.1371, allocations: 3.938 kB / 355.1 MB, free: 15.17 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001461/0.1372, allocations: 27.92 kB / 355.1 MB, free: 15.14 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.272e-05/0.1372, allocations: 4 kB / 355.1 MB, free: 15.14 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.779e-05/0.1373, allocations: 3.906 kB / 355.1 MB, free: 15.13 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.271e-05/0.1373, allocations: 8 kB / 355.1 MB, free: 15.12 MB / 302.1 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 0.0001094/0.1374, allocations: 117.8 kB / 355.2 MB, free: 15 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.397e-05/0.1375, allocations: 7.906 kB / 355.2 MB, free: 14.99 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.974e-05/0.1375, allocations: 16.31 kB / 355.2 MB, free: 14.97 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.1375, allocations: 0 / 355.2 MB, free: 14.97 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.1375, allocations: 0 / 355.2 MB, free: 14.97 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.131e-06/0.1375, allocations: 3.984 kB / 355.3 MB, free: 14.97 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000207/0.1377, allocations: 185.6 kB / 355.4 MB, free: 14.74 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.1378, allocations: 0 / 355.4 MB, free: 14.74 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001101/0.1379, allocations: 27.92 kB / 355.5 MB, free: 14.71 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.307e-06/0.1379, allocations: 0 / 355.5 MB, free: 14.71 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.333e-05/0.1379, allocations: 4.188 kB / 355.5 MB, free: 14.71 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.1379, allocations: 0 / 355.5 MB, free: 14.71 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.1379, allocations: 4 kB / 355.5 MB, free: 14.7 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002249/0.1382, allocations: 191.4 kB / 355.7 MB, free: 14.5 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.774e-05/0.1382, allocations: 85.08 kB / 355.7 MB, free: 14.4 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.803e-05/0.1382, allocations: 11.88 kB / 355.8 MB, free: 14.39 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.486e-05/0.1383, allocations: 0 / 355.8 MB, free: 14.39 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.883e-05/0.1383, allocations: 11.97 kB / 355.8 MB, free: 14.38 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.907e-06/0.1383, allocations: 0 / 355.8 MB, free: 14.38 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.875e-05/0.1384, allocations: 87.28 kB / 355.8 MB, free: 14.29 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1384, allocations: 8 kB / 355.9 MB, free: 14.28 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002731/0.1387, allocations: 23.91 kB / 355.9 MB, free: 14.26 MB / 302.1 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.0005138/0.1392, allocations: 0.7241 MB / 356.6 MB, free: 13.51 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001493/0.1394, allocations: 64.31 kB / 356.7 MB, free: 13.45 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.1394, allocations: 192 / 356.7 MB, free: 13.45 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.546e-05/0.1394, allocations: 31.94 kB / 356.7 MB, free: 13.41 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003204/0.1397, allocations: 4.141 kB / 356.7 MB, free: 13.41 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001623/0.1414, allocations: 1.531 MB / 358.2 MB, free: 11.79 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002898/0.1417, allocations: 0.6924 MB / 358.9 MB, free: 11.07 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.06e-05/0.1417, allocations: 8 kB / 358.9 MB, free: 11.06 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.731e-05/0.1418, allocations: 23.42 kB / 359 MB, free: 11.04 MB / 302.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1418, allocations: 0 / 359 MB, free: 11.04 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0225/0.1643, allocations: 1.752 MB / 360.7 MB, free: 9.352 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.585/7.749, allocations: 18.3 kB / 360.7 MB, free: 9.336 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Thermal_HeatTransfer_Examples_TwoMasses_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Thermal_HeatTransfer_Examples_TwoMasses.fmu > Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/HeatTransfer/Examples/TwoMasses/TwoMasses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches