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.0009803/0.0009803, allocations: 79.7 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.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.0009028/0.0009028, allocations: 174 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.8615/0.8615, allocations: 177.1 MB / 204.3 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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 1.242e-06/1.242e-06, allocations: 0 / 324.5 MB, free: 15.98 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.272e-05/1.397e-05, allocations: 8.75 kB / 324.5 MB, free: 15.97 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.001715/0.001729, allocations: 1.598 MB / 326.1 MB, free: 14.36 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006637/0.002393, allocations: 0.5342 MB / 326.7 MB, free: 13.82 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.576e-05/0.002438, allocations: 0 / 326.7 MB, free: 13.82 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.159e-05/0.00248, allocations: 7.922 kB / 326.7 MB, free: 13.82 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.151e-05/0.002541, allocations: 35.7 kB / 326.7 MB, free: 13.78 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002027/0.002744, allocations: 31.89 kB / 326.8 MB, free: 13.75 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001076/0.002852, allocations: 99.47 kB / 326.8 MB, free: 13.65 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001162/0.002968, allocations: 27.97 kB / 326.9 MB, free: 13.62 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.926e-05/0.003027, allocations: 59.88 kB / 326.9 MB, free: 13.57 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.913e-05/0.003096, allocations: 27.91 kB / 327 MB, free: 13.54 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.733e-05/0.003114, allocations: 8 kB / 327 MB, free: 13.53 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.29e-05/0.003177, allocations: 12 kB / 327 MB, free: 13.52 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.019e-05/0.003197, allocations: 23.91 kB / 327 MB, free: 13.5 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.875e-05/0.003225, allocations: 27.98 kB / 327 MB, free: 13.47 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001323/0.003358, allocations: 107.6 kB / 327.1 MB, free: 13.36 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.00336, allocations: 4 kB / 327.1 MB, free: 13.36 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.003361, allocations: 0 / 327.1 MB, free: 13.36 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.888e-06/0.003365, allocations: 0 / 327.1 MB, free: 13.36 MB / 298.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.0003582/0.003723, allocations: 310.1 kB / 327.4 MB, free: 13.03 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.003758, allocations: 12.03 kB / 327.5 MB, free: 13.02 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.14e-05/0.003789, allocations: 34.75 kB / 327.5 MB, free: 12.97 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.008e-05/0.003869, allocations: 16.88 kB / 327.5 MB, free: 12.96 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.984e-05/0.003949, allocations: 117.6 kB / 327.6 MB, free: 12.82 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.269e-05/0.003962, allocations: 8.375 kB / 327.6 MB, free: 12.81 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.134e-05/0.003983, allocations: 12.38 kB / 327.6 MB, free: 12.8 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001195/0.004103, allocations: 78.23 kB / 327.7 MB, free: 12.71 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.004112, allocations: 192 / 327.7 MB, free: 12.71 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.331e-05/0.004126, allocations: 16.09 kB / 327.7 MB, free: 12.7 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.004131, allocations: 4 kB / 327.7 MB, free: 12.7 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.025e-05/0.004211, allocations: 51.97 kB / 327.8 MB, free: 12.64 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005793/0.004791, allocations: 347.5 kB / 328.1 MB, free: 12.26 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.99e-05/0.00489, allocations: 74.48 kB / 328.2 MB, free: 12.18 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.734e-05/0.004928, allocations: 32.84 kB / 328.2 MB, free: 12.14 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.759e-06/0.004938, allocations: 4 kB / 328.2 MB, free: 12.14 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.781e-05/0.004955, allocations: 34.56 kB / 328.3 MB, free: 12.1 MB / 298.7 MB Notification: Performance of pre-optimization done (n=8): time 1.152e-06/0.004957, allocations: 0 / 328.3 MB, free: 12.1 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001605/0.005117, allocations: 81.69 kB / 328.4 MB, free: 12.01 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.598e-05/0.005143, allocations: 55.34 kB / 328.4 MB, free: 11.95 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.803e-05/0.005201, allocations: 113.9 kB / 328.5 MB, free: 11.82 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.008e-05/0.005211, allocations: 29.64 kB / 328.5 MB, free: 11.79 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.57e-05/0.005257, allocations: 108.1 kB / 328.7 MB, free: 11.68 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.685e-05/0.005274, allocations: 27.75 kB / 328.7 MB, free: 11.65 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.093e-05/0.005305, allocations: 33.7 kB / 328.7 MB, free: 11.61 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.11e-05/0.005376, allocations: 318.8 kB / 329 MB, free: 11.29 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.817e-05/0.005404, allocations: 15.98 kB / 329 MB, free: 11.28 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.491e-05/0.005449, allocations: 49.31 kB / 329.1 MB, free: 11.22 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.648e-05/0.005515, allocations: 66.52 kB / 329.2 MB, free: 11.15 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.005517, allocations: 0 / 329.2 MB, free: 11.15 MB / 298.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001001/0.005617, allocations: 109.5 kB / 329.3 MB, free: 11.04 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.005631, allocations: 8 kB / 329.3 MB, free: 11.03 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.005635, allocations: 64 / 329.3 MB, free: 11.03 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.056e-05/0.005646, allocations: 4 kB / 329.3 MB, free: 11.02 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.042e-05/0.005726, allocations: 24 kB / 329.3 MB, free: 11 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.072e-06/0.005732, allocations: 3.938 kB / 329.3 MB, free: 11 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.446e-05/0.005757, allocations: 15.88 kB / 329.3 MB, free: 10.98 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.141e-06/0.005763, allocations: 4 kB / 329.3 MB, free: 10.98 MB / 298.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.368e-05/0.005817, allocations: 125.8 kB / 329.4 MB, free: 10.84 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.371e-05/0.00583, allocations: 4.25 kB / 329.4 MB, free: 10.84 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.981e-05/0.00585, allocations: 8.438 kB / 329.5 MB, free: 10.83 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.482e-06/0.005852, allocations: 0 / 329.5 MB, free: 10.83 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.005856, allocations: 8 kB / 329.5 MB, free: 10.82 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.005859, allocations: 3.938 kB / 329.5 MB, free: 10.82 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001156/0.005975, allocations: 156.7 kB / 329.6 MB, free: 10.62 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.91e-07/0.005976, allocations: 0 / 329.6 MB, free: 10.62 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.641e-05/0.006032, allocations: 19.98 kB / 329.6 MB, free: 10.61 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.006034, allocations: 0 / 329.6 MB, free: 10.61 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.191e-06/0.00604, allocations: 0 / 329.6 MB, free: 10.61 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.006041, allocations: 0 / 329.6 MB, free: 10.61 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.006042, allocations: 0 / 329.6 MB, free: 10.61 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001405/0.006183, allocations: 203.4 kB / 329.8 MB, free: 10.39 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.692e-06/0.006189, allocations: 3.953 kB / 329.8 MB, free: 10.39 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.836e-06/0.006198, allocations: 4.094 kB / 329.8 MB, free: 10.38 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.939e-05/0.006228, allocations: 4 kB / 329.8 MB, free: 10.38 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.367e-05/0.006241, allocations: 7.922 kB / 329.9 MB, free: 10.37 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-06/0.006245, allocations: 4 kB / 329.9 MB, free: 10.37 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.485e-05/0.006269, allocations: 83.28 kB / 329.9 MB, free: 10.29 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006269, allocations: 0 / 329.9 MB, free: 10.29 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001582/0.006428, allocations: 35.81 kB / 330 MB, free: 10.25 MB / 298.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.0002699/0.006697, allocations: 0.7202 MB / 330.7 MB, free: 9.5 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001005/0.006798, allocations: 51.97 kB / 330.7 MB, free: 9.449 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/0.006799, allocations: 4.188 kB / 330.7 MB, free: 9.445 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.954e-05/0.006819, allocations: 23.92 kB / 330.8 MB, free: 9.422 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001955/0.007014, allocations: 11.94 kB / 330.8 MB, free: 9.41 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001213/0.008227, allocations: 1.497 MB / 332.3 MB, free: 7.824 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.783e-05/0.008275, allocations: 79.08 kB / 332.4 MB, free: 7.727 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.59e-05/0.008301, allocations: 15.94 kB / 332.4 MB, free: 7.711 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.031e-05/0.008371, allocations: 24.5 kB / 332.4 MB, free: 7.688 MB / 298.7 MB Notification: Performance of SimCode: time 5.61e-07/0.008372, allocations: 0 / 332.4 MB, free: 7.688 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01364/0.02202, allocations: 2.461 MB / 334.9 MB, free: 5.348 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.742/6.764, allocations: 3.984 kB / 334.9 MB, free: 5.344 MB / 298.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/HeatTransfer/Examples/TwoMasses/TwoMasses.csv","/var/lib/jenkins/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: 8.421462591737509]