Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Thermal_HeatTransfer_Examples_TwoMasses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.TwoMasses,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_HeatTransfer_Examples_TwoMasses",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001525/0.001525, allocations: 107.4 kB / 17.15 MB, free: 6.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001486/0.001486, allocations: 198 kB / 18.07 MB, free: 5.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.513/1.513, allocations: 205.1 MB / 223.9 MB, free: 12.48 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001114/0.001114, allocations: 51.92 kB / 280.1 MB, free: 3.504 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09705/0.09818, allocations: 46.62 MB / 326.7 MB, free: 4.809 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.002515/0.1007, allocations: 1.681 MB / 328.4 MB, free: 3.109 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007974/0.1015, allocations: 0.5153 MB / 328.9 MB, free: 2.586 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.617e-05/0.1016, allocations: 4 kB / 328.9 MB, free: 2.582 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 5.065e-05/0.1017, allocations: 3.938 kB / 328.9 MB, free: 2.578 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 6.488e-05/0.1017, allocations: 23.83 kB / 328.9 MB, free: 2.555 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001717/0.1019, allocations: 35.89 kB / 329 MB, free: 2.52 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.000103/0.102, allocations: 91.55 kB / 329 MB, free: 2.43 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000116/0.1021, allocations: 35.91 kB / 329.1 MB, free: 2.395 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.773e-05/0.1022, allocations: 27.92 kB / 329.1 MB, free: 2.367 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.491e-05/0.1023, allocations: 47.83 kB / 329.2 MB, free: 2.32 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.613e-05/0.1023, allocations: 4 kB / 329.2 MB, free: 2.316 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.549e-05/0.1024, allocations: 8 kB / 329.2 MB, free: 2.309 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 2.046e-05/0.1024, allocations: 19.92 kB / 329.2 MB, free: 2.289 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 5.421e-05/0.1025, allocations: 47.8 kB / 329.2 MB, free: 2.242 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001339/0.1026, allocations: 99.95 kB / 329.3 MB, free: 2.145 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.1026, allocations: 0 / 329.3 MB, free: 2.145 MB / 270.1 MB Notification: Performance of FrontEnd: time 8.22e-07/0.1026, allocations: 0 / 329.3 MB, free: 2.145 MB / 270.1 MB Notification: Performance of Transformations before backend: time 3.737e-06/0.1026, allocations: 0 / 329.3 MB, free: 2.145 MB / 270.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.0004492/0.1031, allocations: 379.4 kB / 329.7 MB, free: 1.727 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.1031, allocations: 8.031 kB / 329.7 MB, free: 1.719 MB / 270.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.008e-05/0.1032, allocations: 42.73 kB / 329.7 MB, free: 1.668 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001125/0.1033, allocations: 16.78 kB / 329.8 MB, free: 1.652 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001026/0.1034, allocations: 172.2 kB / 329.9 MB, free: 1.445 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.292e-05/0.1034, allocations: 8.375 kB / 329.9 MB, free: 1.438 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.376e-05/0.1034, allocations: 12.38 kB / 330 MB, free: 1.426 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001573/0.1036, allocations: 85.73 kB / 330 MB, free: 1.336 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.1036, allocations: 0 / 330 MB, free: 1.336 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.902e-05/0.1036, allocations: 8 kB / 330 MB, free: 1.328 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.1037, allocations: 3.938 kB / 330 MB, free: 1.324 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001052/0.1038, allocations: 51.97 kB / 330.1 MB, free: 1.273 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006199/0.1044, allocations: 400.4 kB / 330.5 MB, free: 0.832 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00012/0.1045, allocations: 70.55 kB / 330.6 MB, free: 0.7539 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.435e-05/0.1046, allocations: 32.86 kB / 330.6 MB, free: 0.7188 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.205e-05/0.1046, allocations: 4 kB / 330.6 MB, free: 0.7148 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.159e-05/0.1046, allocations: 38.55 kB / 330.6 MB, free: 0.668 MB / 270.1 MB Notification: Performance of pre-optimization done (n=8): time 1.102e-06/0.1046, allocations: 0 / 330.6 MB, free: 0.668 MB / 270.1 MB Notification: Performance of matching and sorting (n=8): time 0.0001997/0.1048, allocations: 97.59 kB / 330.7 MB, free: 0.5664 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.047e-05/0.1049, allocations: 55.41 kB / 330.8 MB, free: 0.5 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.69e-05/0.105, allocations: 109.8 kB / 330.9 MB, free: 392 kB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.352e-05/0.105, allocations: 29.7 kB / 330.9 MB, free: 356 kB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.45e-05/0.105, allocations: 107.9 kB / 331 MB, free: 244 kB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.125e-05/0.1051, allocations: 27.56 kB / 331 MB, free: 216 kB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.946e-05/0.1051, allocations: 29.7 kB / 331.1 MB, free: 180 kB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.000111/0.1052, allocations: 314.8 kB / 331.4 MB, free: 15.86 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.038e-05/0.1053, allocations: 23.98 kB / 331.4 MB, free: 15.84 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.298e-05/0.1053, allocations: 42.56 kB / 331.5 MB, free: 15.79 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.341e-05/0.1054, allocations: 62.52 kB / 331.5 MB, free: 15.71 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1054, allocations: 4 kB / 331.5 MB, free: 15.71 MB / 286.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001435/0.1056, allocations: 113.5 kB / 331.6 MB, free: 15.59 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.1056, allocations: 11.94 kB / 331.6 MB, free: 15.58 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.1056, allocations: 0 / 331.6 MB, free: 15.58 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.1056, allocations: 3.938 kB / 331.6 MB, free: 15.58 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001221/0.1058, allocations: 20 kB / 331.7 MB, free: 15.56 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.233e-06/0.1058, allocations: 7.938 kB / 331.7 MB, free: 15.55 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.706e-05/0.1058, allocations: 19.83 kB / 331.7 MB, free: 15.53 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.091e-06/0.1059, allocations: 4.062 kB / 331.7 MB, free: 15.53 MB / 286.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 7.575e-05/0.1059, allocations: 113.8 kB / 331.8 MB, free: 15.41 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.626e-05/0.106, allocations: 7.906 kB / 331.8 MB, free: 15.4 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.965e-05/0.106, allocations: 12.31 kB / 331.8 MB, free: 15.39 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.106, allocations: 4 kB / 331.8 MB, free: 15.38 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.106, allocations: 256 / 331.8 MB, free: 15.38 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.106, allocations: 0 / 331.8 MB, free: 15.38 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001833/0.1062, allocations: 193.6 kB / 332 MB, free: 15.14 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.1062, allocations: 0 / 332 MB, free: 15.14 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.677e-05/0.1063, allocations: 23.98 kB / 332 MB, free: 15.12 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.1063, allocations: 0 / 332 MB, free: 15.12 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.196e-05/0.1064, allocations: 3.938 kB / 332 MB, free: 15.12 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/0.1064, allocations: 7.938 kB / 332.1 MB, free: 15.11 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1064, allocations: 0 / 332.1 MB, free: 15.11 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001847/0.1066, allocations: 191.4 kB / 332.2 MB, free: 14.91 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.742e-05/0.1066, allocations: 77.11 kB / 332.3 MB, free: 14.81 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.455e-05/0.1066, allocations: 3.938 kB / 332.3 MB, free: 14.81 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.472e-05/0.1067, allocations: 8.094 kB / 332.3 MB, free: 14.8 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.581e-05/0.1067, allocations: 3.984 kB / 332.3 MB, free: 14.8 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.386e-06/0.1067, allocations: 4 kB / 332.3 MB, free: 14.79 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.296e-05/0.1068, allocations: 83.28 kB / 332.4 MB, free: 14.71 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1068, allocations: 0 / 332.4 MB, free: 14.71 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002295/0.107, allocations: 31.84 kB / 332.4 MB, free: 14.68 MB / 286.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.0003989/0.1074, allocations: 0.7245 MB / 333.2 MB, free: 13.93 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001335/0.1076, allocations: 63.84 kB / 333.2 MB, free: 13.86 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.1076, allocations: 0 / 333.2 MB, free: 13.86 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 3.261e-05/0.1076, allocations: 24 kB / 333.3 MB, free: 13.84 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003287/0.1079, allocations: 3.938 kB / 333.3 MB, free: 13.84 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001367/0.1093, allocations: 1.571 MB / 334.8 MB, free: 12.17 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002537/0.1096, allocations: 0.6926 MB / 335.5 MB, free: 11.45 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 3.604e-05/0.1096, allocations: 7.953 kB / 335.5 MB, free: 11.45 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.294e-05/0.1097, allocations: 23.42 kB / 335.6 MB, free: 11.43 MB / 286.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1097, allocations: 0 / 335.6 MB, free: 11.43 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01102/0.1207, allocations: 1.618 MB / 337.2 MB, free: 9.785 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001748/0.1209, allocations: 204.7 kB / 337.4 MB, free: 9.523 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.621/1.742, allocations: 0 / 337.4 MB, free: 9.523 MB / 286.1 MB (rm -f Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Thermal_HeatTransfer_Examples_TwoMasses_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Thermal_HeatTransfer_Examples_TwoMasses.fmu > Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/HeatTransfer/Examples/TwoMasses/TwoMasses.csv","../files/Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches