Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001177/0.001177, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001355/0.001355, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8581/0.8581, allocations: 177 MB / 204.1 MB, free: 5.762 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.TwoMasses,fileNamePrefix="Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_TwoMasses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.TwoMasses,fileNamePrefix="Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_TwoMasses",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 324.5 MB, free: 15.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.628e-06/1.107e-05, allocations: 3.125 kB / 324.5 MB, free: 15.93 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.001664/0.001675, allocations: 1.61 MB / 326.1 MB, free: 14.31 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005694/0.002244, allocations: 0.5104 MB / 326.6 MB, free: 13.79 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.173e-05/0.002286, allocations: 4 kB / 326.6 MB, free: 13.79 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.806e-05/0.002334, allocations: 19.86 kB / 326.6 MB, free: 13.77 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 5.254e-05/0.002387, allocations: 31.7 kB / 326.7 MB, free: 13.74 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001826/0.002569, allocations: 23.91 kB / 326.7 MB, free: 13.71 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001071/0.002676, allocations: 103.5 kB / 326.8 MB, free: 13.61 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.002785, allocations: 27.98 kB / 326.8 MB, free: 13.59 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.465e-05/0.00284, allocations: 59.88 kB / 326.9 MB, free: 13.53 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.568e-05/0.002906, allocations: 23.95 kB / 326.9 MB, free: 13.5 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.73e-05/0.002923, allocations: 8 kB / 326.9 MB, free: 13.5 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.034e-05/0.002983, allocations: 16 kB / 326.9 MB, free: 13.48 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.666e-05/0.003, allocations: 19.92 kB / 326.9 MB, free: 13.46 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.268e-05/0.003033, allocations: 43.91 kB / 327 MB, free: 13.42 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001261/0.003159, allocations: 91.73 kB / 327.1 MB, free: 13.33 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.613e-06/0.00316, allocations: 3.938 kB / 327.1 MB, free: 13.32 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.003161, allocations: 0 / 327.1 MB, free: 13.32 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.486e-06/0.003165, allocations: 0 / 327.1 MB, free: 13.32 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.0003308/0.003495, allocations: 310.1 kB / 327.4 MB, free: 12.99 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.00353, allocations: 15.92 kB / 327.4 MB, free: 12.98 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.892e-05/0.003559, allocations: 38.75 kB / 327.4 MB, free: 12.93 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.303e-05/0.003632, allocations: 16.88 kB / 327.4 MB, free: 12.91 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.073e-05/0.003703, allocations: 113.7 kB / 327.6 MB, free: 12.78 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.25e-05/0.003715, allocations: 8.375 kB / 327.6 MB, free: 12.77 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.151e-05/0.003737, allocations: 8.375 kB / 327.6 MB, free: 12.76 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001174/0.003854, allocations: 82.22 kB / 327.7 MB, free: 12.68 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.003865, allocations: 4.125 kB / 327.7 MB, free: 12.67 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.003876, allocations: 12.12 kB / 327.7 MB, free: 12.66 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.00388, allocations: 0 / 327.7 MB, free: 12.66 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.094e-05/0.003961, allocations: 51.97 kB / 327.7 MB, free: 12.61 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004535/0.004414, allocations: 355.6 kB / 328.1 MB, free: 12.22 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.499e-05/0.004509, allocations: 62.56 kB / 328.1 MB, free: 12.15 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.907e-05/0.004548, allocations: 40.81 kB / 328.2 MB, free: 12.11 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.716e-06/0.004557, allocations: 0 / 328.2 MB, free: 12.11 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.88e-05/0.004576, allocations: 34.56 kB / 328.2 MB, free: 12.06 MB / 298.7 MB Notification: Performance of pre-optimization done (n=8): time 1.072e-06/0.004577, allocations: 0 / 328.2 MB, free: 12.06 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001496/0.004727, allocations: 89.77 kB / 328.3 MB, free: 11.97 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.5e-05/0.004752, allocations: 55.41 kB / 328.3 MB, free: 11.9 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.399e-05/0.004806, allocations: 121.8 kB / 328.5 MB, free: 11.77 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.536e-06/0.004814, allocations: 25.7 kB / 328.5 MB, free: 11.74 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.05e-05/0.004855, allocations: 108 kB / 328.6 MB, free: 11.63 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.628e-05/0.004871, allocations: 27.75 kB / 328.6 MB, free: 11.61 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.066e-05/0.004902, allocations: 29.7 kB / 328.7 MB, free: 11.57 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.666e-05/0.004968, allocations: 310.8 kB / 329 MB, free: 11.26 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.925e-05/0.004998, allocations: 23.98 kB / 329 MB, free: 11.23 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002865/0.005284, allocations: 46.56 kB / 329 MB, free: 11.18 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.814e-05/0.005352, allocations: 70.45 kB / 329.1 MB, free: 11.1 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.005354, allocations: 0 / 329.1 MB, free: 11.1 MB / 298.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 9.775e-05/0.005452, allocations: 109.6 kB / 329.2 MB, free: 10.99 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.038e-05/0.005462, allocations: 4 kB / 329.2 MB, free: 10.98 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.005467, allocations: 0 / 329.2 MB, free: 10.98 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.005479, allocations: 4 kB / 329.2 MB, free: 10.98 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.255e-05/0.005562, allocations: 23.94 kB / 329.2 MB, free: 10.96 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.005568, allocations: 7.922 kB / 329.2 MB, free: 10.95 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.656e-05/0.005595, allocations: 15.89 kB / 329.3 MB, free: 10.93 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.708e-06/0.0056, allocations: 0 / 329.3 MB, free: 10.93 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.431e-05/0.005654, allocations: 125.8 kB / 329.4 MB, free: 10.8 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.16e-05/0.005665, allocations: 0 / 329.4 MB, free: 10.8 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.091e-05/0.005686, allocations: 12.47 kB / 329.4 MB, free: 10.79 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.005688, allocations: 4 kB / 329.4 MB, free: 10.79 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.005692, allocations: 0 / 329.4 MB, free: 10.79 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.005695, allocations: 7.875 kB / 329.4 MB, free: 10.78 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001162/0.005811, allocations: 156.7 kB / 329.6 MB, free: 10.58 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.005812, allocations: 0 / 329.6 MB, free: 10.58 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.61e-05/0.005868, allocations: 19.98 kB / 329.6 MB, free: 10.56 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.00587, allocations: 7.938 kB / 329.6 MB, free: 10.55 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.173e-06/0.005877, allocations: 0 / 329.6 MB, free: 10.55 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.71e-07/0.005878, allocations: 0 / 329.6 MB, free: 10.55 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.005879, allocations: 0 / 329.6 MB, free: 10.55 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001413/0.00602, allocations: 191.5 kB / 329.8 MB, free: 10.35 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.127e-06/0.006029, allocations: 11.98 kB / 329.8 MB, free: 10.34 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.989e-06/0.006039, allocations: 0 / 329.8 MB, free: 10.34 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.987e-05/0.006069, allocations: 0 / 329.8 MB, free: 10.34 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.595e-05/0.006085, allocations: 11.92 kB / 329.8 MB, free: 10.33 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.144e-06/0.006087, allocations: 0 / 329.8 MB, free: 10.33 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.717e-05/0.006114, allocations: 91.53 kB / 329.9 MB, free: 10.24 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.006114, allocations: 0 / 329.9 MB, free: 10.24 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001554/0.00627, allocations: 23.94 kB / 329.9 MB, free: 10.21 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.0002658/0.006536, allocations: 0.7242 MB / 330.6 MB, free: 9.461 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.815e-05/0.006634, allocations: 63.91 kB / 330.7 MB, free: 9.398 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.202e-06/0.006635, allocations: 0 / 330.7 MB, free: 9.398 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.137e-05/0.006656, allocations: 23.94 kB / 330.7 MB, free: 9.375 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001945/0.006851, allocations: 11.55 kB / 330.7 MB, free: 9.367 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009148/0.007766, allocations: 1.486 MB / 332.2 MB, free: 7.789 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.687e-05/0.007812, allocations: 83.08 kB / 332.3 MB, free: 7.688 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.478e-05/0.007837, allocations: 11.94 kB / 332.3 MB, free: 7.676 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.809e-05/0.007875, allocations: 24.5 kB / 332.3 MB, free: 7.652 MB / 298.7 MB Notification: Performance of SimCode: time 4.61e-07/0.007876, allocations: 0 / 332.3 MB, free: 7.652 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01427/0.02214, allocations: 2.461 MB / 334.8 MB, free: 5.293 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.815/6.837, allocations: 6.938 kB / 334.8 MB, free: 5.289 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe >> ../files/Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Thermal_HeatTransfer_Examples_TwoMasses.fmu > Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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.51264553423971]