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.001626/0.001626, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.001977/0.001977, allocations: 214.7 kB / 23.75 MB, free: 4.668 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.46/1.46, allocations: 230.6 MB / 257.5 MB, free: 7.996 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.002212/0.002212, allocations: 47.92 kB / 377.8 MB, free: 3.117 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2927/0.2949, allocations: 53.35 MB / 431.1 MB, free: 6.82 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.002887/0.2978, allocations: 1.662 MB / 432.8 MB, free: 5.156 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009443/0.2987, allocations: 0.5533 MB / 433.3 MB, free: 4.598 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.778e-05/0.2988, allocations: 4 kB / 433.3 MB, free: 4.594 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.958e-05/0.2988, allocations: 15.8 kB / 433.3 MB, free: 4.578 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.208e-05/0.2989, allocations: 27.77 kB / 433.4 MB, free: 4.551 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002069/0.2991, allocations: 31.91 kB / 433.4 MB, free: 4.52 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001525/0.2993, allocations: 95.53 kB / 433.5 MB, free: 4.426 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000125/0.2994, allocations: 35.97 kB / 433.5 MB, free: 4.391 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.19e-05/0.2995, allocations: 39.86 kB / 433.6 MB, free: 4.352 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.607e-05/0.2995, allocations: 39.84 kB / 433.6 MB, free: 4.312 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.882e-05/0.2996, allocations: 8 kB / 433.6 MB, free: 4.305 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.091e-05/0.2996, allocations: 12 kB / 433.6 MB, free: 4.293 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.572e-05/0.2997, allocations: 23.91 kB / 433.7 MB, free: 4.27 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.225e-05/0.2997, allocations: 39.86 kB / 433.7 MB, free: 4.23 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000182/0.2999, allocations: 100 kB / 433.8 MB, free: 4.137 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.2999, allocations: 0 / 433.8 MB, free: 4.137 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.2999, allocations: 0 / 433.8 MB, free: 4.137 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.73e-06/0.2999, allocations: 7.938 kB / 433.8 MB, free: 4.129 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.0004885/0.3004, allocations: 306.1 kB / 434.1 MB, free: 3.801 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.3004, allocations: 8.031 kB / 434.1 MB, free: 3.793 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.147e-05/0.3005, allocations: 42.73 kB / 434.1 MB, free: 3.742 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001134/0.3006, allocations: 12.89 kB / 434.2 MB, free: 3.73 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001176/0.3007, allocations: 114.4 kB / 434.3 MB, free: 3.594 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.539e-05/0.3007, allocations: 8.359 kB / 434.3 MB, free: 3.586 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.722e-05/0.3008, allocations: 8.375 kB / 434.3 MB, free: 3.578 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001713/0.3009, allocations: 89.8 kB / 434.4 MB, free: 3.484 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.3009, allocations: 0 / 434.4 MB, free: 3.484 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.359e-05/0.301, allocations: 4 kB / 434.4 MB, free: 3.48 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.301, allocations: 3.984 kB / 434.4 MB, free: 3.477 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001122/0.3011, allocations: 51.97 kB / 434.4 MB, free: 3.426 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000681/0.3018, allocations: 371.5 kB / 434.8 MB, free: 3.02 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001327/0.3019, allocations: 74.5 kB / 434.9 MB, free: 2.938 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.609e-05/0.3019, allocations: 28.84 kB / 434.9 MB, free: 2.906 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.046e-05/0.302, allocations: 4 kB / 434.9 MB, free: 2.902 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.55e-05/0.302, allocations: 34.56 kB / 434.9 MB, free: 2.859 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 1.202e-06/0.302, allocations: 0 / 434.9 MB, free: 2.859 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002232/0.3022, allocations: 89.77 kB / 435 MB, free: 2.766 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/0.3022, allocations: 55.34 kB / 435.1 MB, free: 2.699 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.473e-05/0.3023, allocations: 110 kB / 435.2 MB, free: 2.582 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.684e-05/0.3024, allocations: 25.7 kB / 435.2 MB, free: 2.551 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.805e-05/0.3024, allocations: 107.9 kB / 435.3 MB, free: 2.441 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.862e-05/0.3025, allocations: 31.73 kB / 435.3 MB, free: 2.41 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.286e-05/0.3025, allocations: 25.72 kB / 435.4 MB, free: 2.379 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001558/0.3027, allocations: 318.8 kB / 435.7 MB, free: 2.059 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.399e-05/0.3027, allocations: 20 kB / 435.7 MB, free: 2.039 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.445e-05/0.3028, allocations: 54.12 kB / 435.8 MB, free: 1.98 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001062/0.3029, allocations: 74.38 kB / 435.8 MB, free: 1.898 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.3029, allocations: 4 kB / 435.8 MB, free: 1.895 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001653/0.303, allocations: 101.6 kB / 435.9 MB, free: 1.789 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.3031, allocations: 8 kB / 435.9 MB, free: 1.781 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.3031, allocations: 0 / 435.9 MB, free: 1.781 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.3031, allocations: 8 kB / 435.9 MB, free: 1.773 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001301/0.3032, allocations: 24.23 kB / 436 MB, free: 1.75 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.108e-06/0.3032, allocations: 4 kB / 436 MB, free: 1.746 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.095e-05/0.3033, allocations: 4 kB / 436 MB, free: 1.742 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.3033, allocations: 4 kB / 436 MB, free: 1.738 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 0.0001061/0.3034, allocations: 121.8 kB / 436.1 MB, free: 1.609 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.889e-05/0.3034, allocations: 7.953 kB / 436.1 MB, free: 1.602 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.123e-05/0.3034, allocations: 12.31 kB / 436.1 MB, free: 1.586 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.698e-06/0.3034, allocations: 3.984 kB / 436.1 MB, free: 1.582 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.3034, allocations: 4 kB / 436.1 MB, free: 1.578 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.3034, allocations: 0 / 436.1 MB, free: 1.578 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001994/0.3036, allocations: 156.7 kB / 436.3 MB, free: 1.383 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.3036, allocations: 3.938 kB / 436.3 MB, free: 1.379 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001177/0.3038, allocations: 19.98 kB / 436.3 MB, free: 1.359 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.3038, allocations: 0 / 436.3 MB, free: 1.359 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.579e-05/0.3038, allocations: 7.938 kB / 436.3 MB, free: 1.352 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.3038, allocations: 0 / 436.3 MB, free: 1.352 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.3038, allocations: 4 kB / 436.3 MB, free: 1.348 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002282/0.304, allocations: 199.4 kB / 436.5 MB, free: 1.137 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.046e-05/0.304, allocations: 3.953 kB / 436.5 MB, free: 1.133 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.679e-05/0.304, allocations: 7.938 kB / 436.5 MB, free: 1.125 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.978e-05/0.3041, allocations: 4 kB / 436.5 MB, free: 1.121 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.918e-05/0.3041, allocations: 3.984 kB / 436.5 MB, free: 1.117 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.416e-06/0.3041, allocations: 0 / 436.5 MB, free: 1.117 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.879e-05/0.3042, allocations: 91.27 kB / 436.6 MB, free: 1.027 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3042, allocations: 0 / 436.6 MB, free: 1.027 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002418/0.3044, allocations: 20 kB / 436.6 MB, free: 1.008 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.0004968/0.3049, allocations: 0.7242 MB / 437.4 MB, free: 264 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001535/0.3051, allocations: 59.84 kB / 437.4 MB, free: 204 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.3051, allocations: 0 / 437.4 MB, free: 204 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.314e-05/0.3051, allocations: 23.94 kB / 437.4 MB, free: 180 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003124/0.3054, allocations: 12.8 kB / 437.5 MB, free: 168 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001779/0.3072, allocations: 1.548 MB / 439 MB, free: 14.53 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00036/0.3075, allocations: 0.704 MB / 439.7 MB, free: 13.8 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.856e-05/0.3076, allocations: 7.953 kB / 439.7 MB, free: 13.79 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.037e-05/0.3076, allocations: 23.44 kB / 439.7 MB, free: 13.77 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3076, allocations: 0 / 439.7 MB, free: 13.77 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03048/0.3381, allocations: 1.968 MB / 441.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.61/10.95, allocations: 8.75 kB / 441.7 MB, free: 11.92 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.52997671599951]