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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008568/0.0008568, allocations: 76.08 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008765/0.0008765, allocations: 149.1 kB / 23.93 MB, free: 0.6289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8522/0.8522, allocations: 173.4 MB / 200.4 MB, free: 9.434 MB / 186.7 MB " [Timeout remaining time 179] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 318.4 MB, free: 6.387 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.847e-05/1.991e-05, allocations: 5.516 kB / 318.4 MB, free: 6.383 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.001852/0.001872, allocations: 1.574 MB / 320 MB, free: 4.793 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006464/0.002519, allocations: 498.8 kB / 320.5 MB, free: 4.301 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.052e-05/0.002569, allocations: 0 / 320.5 MB, free: 4.301 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.424e-05/0.002613, allocations: 7.922 kB / 320.5 MB, free: 4.293 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 6.101e-05/0.002674, allocations: 35.64 kB / 320.5 MB, free: 4.258 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002109/0.002885, allocations: 35.89 kB / 320.6 MB, free: 4.223 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001076/0.002993, allocations: 103.4 kB / 320.7 MB, free: 4.121 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001118/0.003105, allocations: 23.97 kB / 320.7 MB, free: 4.098 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.981e-05/0.003164, allocations: 51.95 kB / 320.7 MB, free: 4.047 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.94e-05/0.003234, allocations: 35.89 kB / 320.8 MB, free: 4.012 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.596e-05/0.00325, allocations: 8 kB / 320.8 MB, free: 4.004 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.433e-05/0.003314, allocations: 12 kB / 320.8 MB, free: 3.992 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.074e-05/0.003335, allocations: 23.91 kB / 320.8 MB, free: 3.969 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.982e-05/0.003365, allocations: 31.92 kB / 320.8 MB, free: 3.938 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001324/0.003497, allocations: 95.73 kB / 320.9 MB, free: 3.844 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.003499, allocations: 4 kB / 320.9 MB, free: 3.84 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.003501, allocations: 0 / 320.9 MB, free: 3.84 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.977e-06/0.003505, allocations: 0 / 320.9 MB, free: 3.84 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.000365/0.00387, allocations: 309.3 kB / 321.2 MB, free: 3.512 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.003911, allocations: 20.86 kB / 321.3 MB, free: 3.492 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.499e-05/0.003946, allocations: 34.75 kB / 321.3 MB, free: 3.449 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.721e-05/0.004033, allocations: 20.89 kB / 321.3 MB, free: 3.43 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.265e-05/0.004126, allocations: 117.7 kB / 321.4 MB, free: 3.289 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.338e-05/0.004139, allocations: 4.375 kB / 321.4 MB, free: 3.285 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.617e-05/0.004165, allocations: 12.33 kB / 321.4 MB, free: 3.273 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001347/0.0043, allocations: 82.23 kB / 321.5 MB, free: 3.188 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.00431, allocations: 192 / 321.5 MB, free: 3.188 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/0.00432, allocations: 4.125 kB / 321.5 MB, free: 3.184 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.004326, allocations: 4 kB / 321.5 MB, free: 3.18 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.374e-05/0.004409, allocations: 55.97 kB / 321.6 MB, free: 3.125 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004782/0.004888, allocations: 347.6 kB / 321.9 MB, free: 2.742 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001035/0.004991, allocations: 78.47 kB / 322 MB, free: 2.656 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.986e-05/0.005031, allocations: 28.86 kB / 322 MB, free: 2.625 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.034e-05/0.005041, allocations: 7.984 kB / 322 MB, free: 2.617 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.163e-05/0.005063, allocations: 34.55 kB / 322.1 MB, free: 2.574 MB / 282.7 MB Notification: Performance of pre-optimization done (n=8): time 1.062e-06/0.005064, allocations: 0 / 322.1 MB, free: 2.574 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001597/0.005224, allocations: 85.86 kB / 322.2 MB, free: 2.484 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.718e-05/0.005251, allocations: 55.41 kB / 322.2 MB, free: 2.418 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.033e-05/0.005311, allocations: 109.8 kB / 322.3 MB, free: 2.301 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.014e-05/0.005321, allocations: 29.7 kB / 322.3 MB, free: 2.266 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.558e-05/0.005367, allocations: 108.1 kB / 322.4 MB, free: 2.156 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.742e-05/0.005384, allocations: 27.75 kB / 322.5 MB, free: 2.129 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.279e-05/0.005417, allocations: 25.7 kB / 322.5 MB, free: 2.098 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.171e-05/0.005489, allocations: 318.8 kB / 322.8 MB, free: 1.777 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.07e-05/0.00552, allocations: 23.98 kB / 322.8 MB, free: 1.754 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.051e-05/0.00556, allocations: 38.56 kB / 322.9 MB, free: 1.707 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.054e-05/0.005631, allocations: 82.53 kB / 323 MB, free: 1.617 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.005633, allocations: 0 / 323 MB, free: 1.617 MB / 282.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000102/0.005735, allocations: 109.5 kB / 323.1 MB, free: 1.504 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.005749, allocations: 11.98 kB / 323.1 MB, free: 1.492 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.005753, allocations: 0 / 323.1 MB, free: 1.492 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.005765, allocations: 0 / 323.1 MB, free: 1.492 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.97e-05/0.005855, allocations: 20 kB / 323.1 MB, free: 1.473 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.005863, allocations: 8 kB / 323.1 MB, free: 1.465 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.379e-05/0.005886, allocations: 4 kB / 323.1 MB, free: 1.461 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.502e-06/0.005893, allocations: 8 kB / 323.1 MB, free: 1.453 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 5.886e-05/0.005952, allocations: 125.8 kB / 323.2 MB, free: 1.32 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.44e-05/0.005966, allocations: 7.953 kB / 323.2 MB, free: 1.312 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.893e-05/0.005995, allocations: 8.438 kB / 323.3 MB, free: 1.301 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.005998, allocations: 0 / 323.3 MB, free: 1.301 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.006002, allocations: 0 / 323.3 MB, free: 1.301 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.006007, allocations: 3.938 kB / 323.3 MB, free: 1.297 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001228/0.00613, allocations: 156.9 kB / 323.4 MB, free: 1.102 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.006131, allocations: 0 / 323.4 MB, free: 1.102 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.849e-05/0.0062, allocations: 23.98 kB / 323.4 MB, free: 1.078 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.073e-06/0.006202, allocations: 0 / 323.4 MB, free: 1.078 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.425e-06/0.00621, allocations: 11.94 kB / 323.4 MB, free: 1.066 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.006213, allocations: 0 / 323.4 MB, free: 1.066 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.006213, allocations: 0 / 323.4 MB, free: 1.066 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001523/0.006366, allocations: 199.4 kB / 323.6 MB, free: 0.8555 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.195e-06/0.006374, allocations: 3.953 kB / 323.6 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.258e-05/0.006386, allocations: 4.031 kB / 323.6 MB, free: 0.8477 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.284e-05/0.006419, allocations: 4 kB / 323.6 MB, free: 0.8438 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.53e-05/0.006435, allocations: 11.91 kB / 323.7 MB, free: 0.832 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-06/0.006438, allocations: 4 kB / 323.7 MB, free: 0.8281 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.709e-05/0.006465, allocations: 83.28 kB / 323.7 MB, free: 0.7461 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006465, allocations: 0 / 323.7 MB, free: 0.7461 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001647/0.00663, allocations: 24.06 kB / 323.8 MB, free: 0.7227 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.0003103/0.00694, allocations: 0.7242 MB / 324.5 MB, free: 15.97 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001037/0.007044, allocations: 51.92 kB / 324.5 MB, free: 15.92 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.272e-06/0.007045, allocations: 0 / 324.5 MB, free: 15.92 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.13e-05/0.007066, allocations: 23.98 kB / 324.6 MB, free: 15.9 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002256/0.007292, allocations: 7.938 kB / 324.6 MB, free: 15.89 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001011/0.008302, allocations: 1.502 MB / 326.1 MB, free: 14.3 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.352e-05/0.008356, allocations: 83.58 kB / 326.2 MB, free: 14.2 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.809e-05/0.008384, allocations: 7.984 kB / 326.2 MB, free: 14.19 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.089e-05/0.008425, allocations: 20.5 kB / 326.2 MB, free: 14.17 MB / 298.7 MB Notification: Performance of SimCode: time 6.31e-07/0.008425, allocations: 0 / 326.2 MB, free: 14.17 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01706/0.02549, allocations: 2.475 MB / 328.7 MB, free: 11.81 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.907/6.932, allocations: 7.203 kB / 328.7 MB, free: 11.81 MB / 298.7 MB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file Modelica_4.0.0_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_4_0_0_Modelica_Thermal_HeatTransfer_Examples_TwoMasses.fmu > Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/HeatTransfer/Examples/TwoMasses/TwoMasses.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 8.565357574261725]