Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001304/0.001304, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.002158/0.002158, allocations: 208.6 kB / 23.73 MB, free: 4.523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.508/1.508, allocations: 230.6 MB / 257.5 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_1_0_Modelica_Thermal_HeatTransfer_Examples_TwoMasses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.TwoMasses,fileNamePrefix="Modelica_4_1_0_Modelica_Thermal_HeatTransfer_Examples_TwoMasses",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001588/0.001588, allocations: 47.92 kB / 377.7 MB, free: 3.012 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2951/0.2967, allocations: 53.37 MB / 431.1 MB, free: 6.688 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.002899/0.2996, allocations: 1.601 MB / 432.7 MB, free: 5.082 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009441/0.3005, allocations: 0.5182 MB / 433.2 MB, free: 4.559 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.214e-05/0.3006, allocations: 8 kB / 433.2 MB, free: 4.551 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.413e-05/0.3006, allocations: 11.86 kB / 433.2 MB, free: 4.539 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.514e-05/0.3007, allocations: 23.78 kB / 433.2 MB, free: 4.516 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002301/0.3009, allocations: 35.89 kB / 433.3 MB, free: 4.48 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001635/0.3011, allocations: 95.53 kB / 433.4 MB, free: 4.387 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001271/0.3012, allocations: 27.98 kB / 433.4 MB, free: 4.359 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.049e-05/0.3013, allocations: 39.84 kB / 433.4 MB, free: 4.32 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.316e-05/0.3014, allocations: 39.84 kB / 433.5 MB, free: 4.281 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.826e-05/0.3014, allocations: 12 kB / 433.5 MB, free: 4.27 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.622e-05/0.3015, allocations: 15.94 kB / 433.5 MB, free: 4.254 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.759e-05/0.3015, allocations: 19.98 kB / 433.5 MB, free: 4.234 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.73e-05/0.3015, allocations: 31.88 kB / 433.5 MB, free: 4.203 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001672/0.3017, allocations: 105.3 kB / 433.6 MB, free: 4.102 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.3017, allocations: 3.984 kB / 433.6 MB, free: 4.098 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.3017, allocations: 0 / 433.6 MB, free: 4.098 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.179e-06/0.3017, allocations: 3.938 kB / 433.6 MB, free: 4.094 MB / 334.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.000481/0.3022, allocations: 302.1 kB / 433.9 MB, free: 3.77 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.3022, allocations: 8.031 kB / 434 MB, free: 3.762 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.707e-05/0.3023, allocations: 42.73 kB / 434 MB, free: 3.711 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001159/0.3024, allocations: 12.89 kB / 434 MB, free: 3.699 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001172/0.3025, allocations: 114.5 kB / 434.1 MB, free: 3.562 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.779e-05/0.3025, allocations: 8.312 kB / 434.1 MB, free: 3.555 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.033e-05/0.3026, allocations: 8.375 kB / 434.1 MB, free: 3.547 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002336/0.3028, allocations: 92.53 kB / 434.2 MB, free: 3.453 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.3028, allocations: 0 / 434.2 MB, free: 3.453 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.798e-06/0.3028, allocations: 0 / 434.2 MB, free: 3.453 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.3028, allocations: 4 kB / 434.2 MB, free: 3.449 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001084/0.3029, allocations: 51.97 kB / 434.3 MB, free: 3.398 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006609/0.3036, allocations: 359.5 kB / 434.6 MB, free: 3.004 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001453/0.3037, allocations: 66.55 kB / 434.7 MB, free: 2.93 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.981e-05/0.3038, allocations: 40.78 kB / 434.7 MB, free: 2.887 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.357e-05/0.3038, allocations: 0 / 434.7 MB, free: 2.887 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.232e-05/0.3039, allocations: 34.56 kB / 434.8 MB, free: 2.844 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 8.91e-07/0.3039, allocations: 0 / 434.8 MB, free: 2.844 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002288/0.3041, allocations: 81.62 kB / 434.8 MB, free: 2.758 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.662e-05/0.3041, allocations: 55.39 kB / 434.9 MB, free: 2.691 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001026/0.3042, allocations: 113.9 kB / 435 MB, free: 2.57 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.724e-05/0.3043, allocations: 33.7 kB / 435 MB, free: 2.531 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.662e-05/0.3043, allocations: 104 kB / 435.1 MB, free: 2.426 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.964e-05/0.3044, allocations: 27.73 kB / 435.2 MB, free: 2.398 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.004e-05/0.3044, allocations: 21.72 kB / 435.2 MB, free: 2.371 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002059/0.3046, allocations: 322.8 kB / 435.5 MB, free: 2.047 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.525e-05/0.3047, allocations: 23.94 kB / 435.5 MB, free: 2.023 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.426e-05/0.3047, allocations: 42.56 kB / 435.6 MB, free: 1.973 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001101/0.3048, allocations: 70.5 kB / 435.6 MB, free: 1.895 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.3048, allocations: 0 / 435.6 MB, free: 1.895 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002202/0.3051, allocations: 109.8 kB / 435.8 MB, free: 1.781 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.3051, allocations: 4 kB / 435.8 MB, free: 1.777 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.3051, allocations: 0 / 435.8 MB, free: 1.777 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/0.3051, allocations: 3.938 kB / 435.8 MB, free: 1.773 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001334/0.3052, allocations: 35.92 kB / 435.8 MB, free: 1.738 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.3052, allocations: 0 / 435.8 MB, free: 1.738 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.352e-05/0.3053, allocations: 7.953 kB / 435.8 MB, free: 1.73 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.701e-06/0.3053, allocations: 4 kB / 435.8 MB, free: 1.727 MB / 334.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.451e-05/0.3054, allocations: 113.8 kB / 435.9 MB, free: 1.605 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.705e-05/0.3054, allocations: 8.062 kB / 435.9 MB, free: 1.598 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.731e-05/0.3054, allocations: 16.3 kB / 435.9 MB, free: 1.578 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.3054, allocations: 4 kB / 435.9 MB, free: 1.574 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.3054, allocations: 3.938 kB / 435.9 MB, free: 1.57 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.3054, allocations: 0 / 435.9 MB, free: 1.57 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002054/0.3057, allocations: 160.8 kB / 436.1 MB, free: 1.371 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.3057, allocations: 3.938 kB / 436.1 MB, free: 1.367 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001028/0.3058, allocations: 20 kB / 436.1 MB, free: 1.348 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.3058, allocations: 3.984 kB / 436.1 MB, free: 1.344 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.403e-05/0.3058, allocations: 7.938 kB / 436.1 MB, free: 1.336 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.3058, allocations: 0 / 436.1 MB, free: 1.336 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.3058, allocations: 4 kB / 436.1 MB, free: 1.332 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002958/0.3061, allocations: 183.5 kB / 436.3 MB, free: 1.137 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.555e-05/0.3061, allocations: 7.984 kB / 436.3 MB, free: 1.129 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.89e-05/0.3061, allocations: 11.88 kB / 436.3 MB, free: 1.117 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.086e-05/0.3062, allocations: 3.984 kB / 436.3 MB, free: 1.113 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.971e-05/0.3062, allocations: 4 kB / 436.4 MB, free: 1.109 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.166e-06/0.3062, allocations: 0 / 436.4 MB, free: 1.109 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.231e-05/0.3062, allocations: 87.27 kB / 436.4 MB, free: 1.023 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3062, allocations: 0 / 436.4 MB, free: 1.023 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002561/0.3065, allocations: 24 kB / 436.5 MB, free: 1 MB / 334.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.0005315/0.307, allocations: 0.7324 MB / 437.2 MB, free: 248 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001586/0.3072, allocations: 55.86 kB / 437.2 MB, free: 192 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 6.812e-06/0.3072, allocations: 0 / 437.2 MB, free: 192 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.848e-05/0.3072, allocations: 27.92 kB / 437.3 MB, free: 164 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003418/0.3076, allocations: 4 kB / 437.3 MB, free: 160 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001733/0.3093, allocations: 1.554 MB / 438.8 MB, free: 14.51 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.395e-05/0.3094, allocations: 79.19 kB / 438.9 MB, free: 14.41 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.003e-05/0.3094, allocations: 3.953 kB / 438.9 MB, free: 14.41 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.054e-05/0.3095, allocations: 27.42 kB / 438.9 MB, free: 14.38 MB / 350.1 MB Notification: Performance of SimCode: time 3.4e-07/0.3095, allocations: 0 / 438.9 MB, free: 14.38 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02958/0.339, allocations: 2.371 MB / 441.3 MB, free: 12.14 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.99/11.33, allocations: 13.98 kB / 441.3 MB, free: 12.13 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.sim & python3 -m fmpy simulate --output-file Modelica_4.1.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_1_0_Modelica_Thermal_HeatTransfer_Examples_TwoMasses.fmu > Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/HeatTransfer/Examples/TwoMasses/TwoMasses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 13.826567504002014]