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.001603/0.001603, allocations: 117.9 kB / 18.45 MB, free: 4.609 MB / 14.72 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.001508/0.001508, allocations: 215.3 kB / 21.41 MB, free: 1.648 MB / 14.72 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 1.454/1.454, allocations: 207.6 MB / 231.8 MB, free: 4.242 MB / 174.1 MB " [Timeout remaining time 178] 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002399/0.002399, allocations: 56.55 kB / 342.3 MB, free: 10.04 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09965/0.1021, allocations: 49.13 MB / 391.4 MB, free: 8.742 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.00333/0.1054, allocations: 1.627 MB / 393 MB, free: 7.109 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001105/0.1065, allocations: 0.5267 MB / 393.5 MB, free: 6.574 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.557e-05/0.1066, allocations: 0 / 393.5 MB, free: 6.574 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 6.867e-05/0.1066, allocations: 11.86 kB / 393.6 MB, free: 6.562 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001041/0.1067, allocations: 27.77 kB / 393.6 MB, free: 6.535 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002591/0.107, allocations: 27.91 kB / 393.6 MB, free: 6.508 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002107/0.1072, allocations: 99.53 kB / 393.7 MB, free: 6.41 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001493/0.1074, allocations: 35.91 kB / 393.7 MB, free: 6.375 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.354e-05/0.1074, allocations: 35.92 kB / 393.8 MB, free: 6.34 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.758e-05/0.1075, allocations: 39.84 kB / 393.8 MB, free: 6.301 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.956e-05/0.1075, allocations: 8 kB / 393.8 MB, free: 6.293 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.067e-05/0.1076, allocations: 19.88 kB / 393.8 MB, free: 6.273 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.532e-05/0.1076, allocations: 23.91 kB / 393.9 MB, free: 6.25 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.513e-05/0.1077, allocations: 43.8 kB / 393.9 MB, free: 6.207 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001785/0.1079, allocations: 99.67 kB / 394 MB, free: 6.109 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.1079, allocations: 0 / 394 MB, free: 6.109 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1079, allocations: 0 / 394 MB, free: 6.109 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.893e-06/0.1079, allocations: 0 / 394 MB, free: 6.109 MB / 318.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.0005481/0.1084, allocations: 383.2 kB / 394.4 MB, free: 5.688 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/0.1085, allocations: 12.03 kB / 394.4 MB, free: 5.676 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.05e-05/0.1085, allocations: 42.73 kB / 394.4 MB, free: 5.625 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001214/0.1087, allocations: 12.89 kB / 394.5 MB, free: 5.613 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001561/0.1088, allocations: 176.2 kB / 394.6 MB, free: 5.402 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.166e-05/0.1088, allocations: 4.375 kB / 394.6 MB, free: 5.398 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.621e-05/0.1089, allocations: 8.375 kB / 394.6 MB, free: 5.391 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001827/0.109, allocations: 89.8 kB / 394.7 MB, free: 5.297 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.635e-05/0.1091, allocations: 0 / 394.7 MB, free: 5.297 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.431e-05/0.1091, allocations: 4 kB / 394.7 MB, free: 5.293 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.1091, allocations: 4 kB / 394.7 MB, free: 5.289 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001191/0.1092, allocations: 55.88 kB / 394.8 MB, free: 5.234 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007148/0.1099, allocations: 400.5 kB / 395.2 MB, free: 4.793 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001361/0.1101, allocations: 66.56 kB / 395.2 MB, free: 4.719 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.711e-05/0.1101, allocations: 36.78 kB / 395.3 MB, free: 4.68 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.325e-06/0.1101, allocations: 0 / 395.3 MB, free: 4.68 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.626e-05/0.1102, allocations: 30.56 kB / 395.3 MB, free: 4.641 MB / 318.1 MB Notification: Performance of pre-optimization done (n=8): time 9.41e-07/0.1102, allocations: 0 / 395.3 MB, free: 4.641 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002315/0.1104, allocations: 93.75 kB / 395.4 MB, free: 4.543 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.647e-05/0.1104, allocations: 51.41 kB / 395.5 MB, free: 4.48 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.881e-05/0.1105, allocations: 114 kB / 395.6 MB, free: 4.359 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.932e-05/0.1105, allocations: 25.7 kB / 395.6 MB, free: 4.328 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.051e-05/0.1106, allocations: 108 kB / 395.7 MB, free: 4.219 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.814e-05/0.1106, allocations: 27.75 kB / 395.7 MB, free: 4.191 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.714e-05/0.1107, allocations: 29.7 kB / 395.7 MB, free: 4.156 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001343/0.1108, allocations: 310.8 kB / 396.1 MB, free: 3.844 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.423e-05/0.1109, allocations: 31.86 kB / 396.1 MB, free: 3.812 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.286e-05/0.1109, allocations: 54.56 kB / 396.1 MB, free: 3.75 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001017/0.111, allocations: 62.58 kB / 396.2 MB, free: 3.68 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.111, allocations: 0 / 396.2 MB, free: 3.68 MB / 318.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001658/0.1112, allocations: 105.6 kB / 396.3 MB, free: 3.57 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.1112, allocations: 4 kB / 396.3 MB, free: 3.566 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.1112, allocations: 0 / 396.3 MB, free: 3.566 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-05/0.1112, allocations: 11.94 kB / 396.3 MB, free: 3.555 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001261/0.1114, allocations: 27.98 kB / 396.3 MB, free: 3.527 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.1114, allocations: 3.938 kB / 396.3 MB, free: 3.523 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.625e-05/0.1114, allocations: 15.89 kB / 396.4 MB, free: 3.508 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.111e-06/0.1114, allocations: 3.938 kB / 396.4 MB, free: 3.504 MB / 318.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 9.125e-05/0.1115, allocations: 113.8 kB / 396.5 MB, free: 3.383 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.624e-05/0.1115, allocations: 4 kB / 396.5 MB, free: 3.379 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.37e-05/0.1116, allocations: 20.25 kB / 396.5 MB, free: 3.359 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.087e-06/0.1116, allocations: 4 kB / 396.5 MB, free: 3.355 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.1116, allocations: 4 kB / 396.5 MB, free: 3.352 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.1116, allocations: 0 / 396.5 MB, free: 3.352 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002101/0.1118, allocations: 185.6 kB / 396.7 MB, free: 3.121 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.1118, allocations: 0 / 396.7 MB, free: 3.121 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000103/0.1119, allocations: 19.98 kB / 396.7 MB, free: 3.102 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.1119, allocations: 0 / 396.7 MB, free: 3.102 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.053e-05/0.1119, allocations: 3.938 kB / 396.7 MB, free: 3.098 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.1119, allocations: 4 kB / 396.7 MB, free: 3.094 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.152e-06/0.1119, allocations: 3.984 kB / 396.7 MB, free: 3.09 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002255/0.1121, allocations: 199.8 kB / 396.9 MB, free: 2.879 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.948e-05/0.1122, allocations: 81.06 kB / 397 MB, free: 2.781 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.604e-05/0.1122, allocations: 3.969 kB / 397 MB, free: 2.777 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.398e-05/0.1123, allocations: 4 kB / 397 MB, free: 2.773 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.199e-05/0.1123, allocations: 7.984 kB / 397 MB, free: 2.766 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.29e-06/0.1123, allocations: 4.25 kB / 397 MB, free: 2.762 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.414e-05/0.1123, allocations: 83.28 kB / 397.1 MB, free: 2.68 MB / 318.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1123, allocations: 0 / 397.1 MB, free: 2.68 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002388/0.1126, allocations: 27.94 kB / 397.1 MB, free: 2.652 MB / 318.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.0005318/0.1131, allocations: 0.7243 MB / 397.8 MB, free: 1.902 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001483/0.1133, allocations: 55.91 kB / 397.9 MB, free: 1.848 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.1133, allocations: 0 / 397.9 MB, free: 1.848 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.277e-05/0.1133, allocations: 31.92 kB / 397.9 MB, free: 1.816 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003448/0.1137, allocations: 4.188 kB / 397.9 MB, free: 1.812 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001801/0.1155, allocations: 1.55 MB / 399.5 MB, free: 176 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003707/0.1158, allocations: 0.6963 MB / 400.2 MB, free: 15.45 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.63e-05/0.1159, allocations: 11.92 kB / 400.2 MB, free: 15.44 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.523e-05/0.1159, allocations: 19.44 kB / 400.2 MB, free: 15.42 MB / 334.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1159, allocations: 0 / 400.2 MB, free: 15.42 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02619/0.1421, allocations: 1.815 MB / 402 MB, free: 13.55 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.734/7.876, allocations: 12.81 kB / 402 MB, free: 13.54 MB / 334.1 MB " [Timeout remaining time 652] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/HeatTransfer/Examples/TwoMasses/TwoMasses.csv","/var/lib/jenkins1/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: 10.347639073006576]