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.001867/0.001867, allocations: 120.1 kB / 17.79 MB, free: 5.27 MB / 14.72 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.002083/0.002083, allocations: 198.8 kB / 20.73 MB, free: 2.332 MB / 14.72 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 1.48/1.48, allocations: 225.6 MB / 249.1 MB, free: 3.613 MB / 190.1 MB " [Timeout remaining time 178] 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 0.001571/0.001571, allocations: 51.92 kB / 365.6 MB, free: 0.8828 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09653/0.0981, allocations: 52.14 MB / 417.8 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.002833/0.1009, allocations: 1.634 MB / 419.4 MB, free: 11 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008946/0.1018, allocations: 0.5182 MB / 419.9 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.471e-05/0.1019, allocations: 0 / 419.9 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.813e-05/0.1019, allocations: 11.86 kB / 419.9 MB, free: 10.47 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.14e-05/0.102, allocations: 27.77 kB / 419.9 MB, free: 10.44 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002117/0.1022, allocations: 35.89 kB / 420 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001472/0.1024, allocations: 99.53 kB / 420.1 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001248/0.1025, allocations: 23.98 kB / 420.1 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.032e-05/0.1026, allocations: 39.91 kB / 420.1 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.322e-05/0.1026, allocations: 39.84 kB / 420.2 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.866e-05/0.1027, allocations: 8 kB / 420.2 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.399e-05/0.1027, allocations: 19.94 kB / 420.2 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.85e-05/0.1028, allocations: 19.92 kB / 420.2 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.363e-05/0.1028, allocations: 43.81 kB / 420.3 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001734/0.103, allocations: 99.61 kB / 420.4 MB, free: 10.02 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.103, allocations: 0 / 420.4 MB, free: 10.02 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.103, allocations: 0 / 420.4 MB, free: 10.02 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.191e-06/0.103, allocations: 4 kB / 420.4 MB, free: 10.02 MB / 350.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.0005524/0.1036, allocations: 383.1 kB / 420.7 MB, free: 9.594 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.1036, allocations: 12.03 kB / 420.8 MB, free: 9.582 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.61e-05/0.1037, allocations: 42.73 kB / 420.8 MB, free: 9.531 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001162/0.1038, allocations: 8.891 kB / 420.8 MB, free: 9.523 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001597/0.1039, allocations: 168.3 kB / 421 MB, free: 9.32 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.519e-05/0.104, allocations: 12.31 kB / 421 MB, free: 9.309 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.236e-05/0.104, allocations: 8.375 kB / 421 MB, free: 9.301 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001962/0.1042, allocations: 100.1 kB / 421.1 MB, free: 9.199 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.1042, allocations: 0 / 421.1 MB, free: 9.199 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.1042, allocations: 0 / 421.1 MB, free: 9.199 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.1042, allocations: 7.938 kB / 421.1 MB, free: 9.191 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001207/0.1043, allocations: 51.97 kB / 421.1 MB, free: 9.141 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007412/0.1051, allocations: 396.5 kB / 421.5 MB, free: 8.703 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001498/0.1052, allocations: 70.55 kB / 421.6 MB, free: 8.625 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.312e-05/0.1053, allocations: 36.8 kB / 421.6 MB, free: 8.586 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.548e-06/0.1053, allocations: 0 / 421.6 MB, free: 8.586 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.767e-05/0.1053, allocations: 34.55 kB / 421.7 MB, free: 8.543 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.002e-06/0.1053, allocations: 0 / 421.7 MB, free: 8.543 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002369/0.1056, allocations: 93.89 kB / 421.8 MB, free: 8.445 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.292e-05/0.1056, allocations: 55.41 kB / 421.8 MB, free: 8.379 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001034/0.1057, allocations: 105.8 kB / 421.9 MB, free: 8.266 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.918e-05/0.1057, allocations: 29.7 kB / 422 MB, free: 8.23 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.09e-05/0.1058, allocations: 104 kB / 422.1 MB, free: 8.125 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.129e-05/0.1058, allocations: 35.64 kB / 422.1 MB, free: 8.09 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.152e-05/0.1059, allocations: 25.7 kB / 422.1 MB, free: 8.059 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001606/0.106, allocations: 318.8 kB / 422.4 MB, free: 7.738 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.119e-05/0.1061, allocations: 23.92 kB / 422.4 MB, free: 7.715 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.624e-05/0.1062, allocations: 50.44 kB / 422.5 MB, free: 7.66 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001069/0.1063, allocations: 62.58 kB / 422.6 MB, free: 7.59 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.1063, allocations: 0 / 422.6 MB, free: 7.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001767/0.1065, allocations: 101.6 kB / 422.7 MB, free: 7.484 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.1065, allocations: 10.17 kB / 422.7 MB, free: 7.477 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.1065, allocations: 0 / 422.7 MB, free: 7.477 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.128e-05/0.1065, allocations: 12.25 kB / 422.7 MB, free: 7.465 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001357/0.1067, allocations: 27.88 kB / 422.7 MB, free: 7.438 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.326e-06/0.1067, allocations: 4 kB / 422.7 MB, free: 7.434 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.68e-05/0.1067, allocations: 7.953 kB / 422.7 MB, free: 7.426 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.113e-05/0.1067, allocations: 8 kB / 422.7 MB, free: 7.418 MB / 350.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.0001082/0.1068, allocations: 118.5 kB / 422.8 MB, free: 7.293 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.831e-05/0.1069, allocations: 3.953 kB / 422.8 MB, free: 7.289 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.587e-05/0.1069, allocations: 12.31 kB / 422.9 MB, free: 7.277 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.1069, allocations: 8 kB / 422.9 MB, free: 7.27 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.1069, allocations: 3.938 kB / 422.9 MB, free: 7.266 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.1069, allocations: 0 / 422.9 MB, free: 7.266 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002354/0.1071, allocations: 193.6 kB / 423.1 MB, free: 7.027 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.1071, allocations: 0 / 423.1 MB, free: 7.027 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001098/0.1073, allocations: 19.98 kB / 423.1 MB, free: 7.008 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.1073, allocations: 0 / 423.1 MB, free: 7.008 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.5e-05/0.1073, allocations: 7.938 kB / 423.1 MB, free: 7 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.1073, allocations: 0 / 423.1 MB, free: 7 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1073, allocations: 0 / 423.1 MB, free: 7 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002429/0.1075, allocations: 199.4 kB / 423.3 MB, free: 6.789 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.18e-05/0.1076, allocations: 77.11 kB / 423.4 MB, free: 6.695 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.909e-05/0.1076, allocations: 11.91 kB / 423.4 MB, free: 6.684 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.862e-05/0.1076, allocations: 0 / 423.4 MB, free: 6.684 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.759e-05/0.1077, allocations: 0 / 423.4 MB, free: 6.684 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.562e-06/0.1077, allocations: 4 kB / 423.4 MB, free: 6.68 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.661e-05/0.1077, allocations: 87.27 kB / 423.5 MB, free: 6.594 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1077, allocations: 0 / 423.5 MB, free: 6.594 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000253/0.108, allocations: 27.95 kB / 423.5 MB, free: 6.566 MB / 350.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.0005408/0.1085, allocations: 0.7281 MB / 424.2 MB, free: 5.812 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001652/0.1087, allocations: 55.97 kB / 424.3 MB, free: 5.758 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1087, allocations: 0 / 424.3 MB, free: 5.758 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.041e-05/0.1087, allocations: 24.39 kB / 424.3 MB, free: 5.734 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003209/0.1091, allocations: 12.41 kB / 424.3 MB, free: 5.723 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001806/0.1109, allocations: 1.559 MB / 425.9 MB, free: 4.074 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000356/0.1112, allocations: 0.6963 MB / 426.6 MB, free: 3.352 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.65e-05/0.1113, allocations: 4 kB / 426.6 MB, free: 3.348 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.355e-05/0.1113, allocations: 23.42 kB / 426.6 MB, free: 3.324 MB / 350.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1113, allocations: 4 kB / 426.6 MB, free: 3.32 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02716/0.1385, allocations: 1.814 MB / 428.4 MB, free: 1.59 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.934/8.072, allocations: 6.828 kB / 428.4 MB, free: 1.586 MB / 350.1 MB " [Timeout remaining time 652] (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/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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.53967672912404]