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.001047/0.001051, allocations: 114.5 kB / 17.73 MB, free: 5.34 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.001064/0.001065, allocations: 183 kB / 18.66 MB, free: 4.418 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.259/1.259, allocations: 205.1 MB / 224.5 MB, free: 12.23 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.001181/0.001181, allocations: 55.92 kB / 328 MB, free: 3.82 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07664/0.07783, allocations: 46.61 MB / 374.6 MB, free: 5.102 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.002646/0.08051, allocations: 1.623 MB / 376.2 MB, free: 3.469 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009286/0.08147, allocations: 0.5197 MB / 376.8 MB, free: 2.941 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.083e-05/0.08156, allocations: 4 kB / 376.8 MB, free: 2.938 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 6.853e-05/0.08166, allocations: 15.86 kB / 376.8 MB, free: 2.922 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.497e-05/0.08175, allocations: 19.78 kB / 376.8 MB, free: 2.902 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002369/0.08199, allocations: 35.89 kB / 376.8 MB, free: 2.867 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001456/0.08214, allocations: 95.53 kB / 376.9 MB, free: 2.773 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000147/0.0823, allocations: 35.97 kB / 377 MB, free: 2.738 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.542e-05/0.08237, allocations: 39.91 kB / 377 MB, free: 2.699 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001037/0.08248, allocations: 35.86 kB / 377 MB, free: 2.664 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.967e-05/0.08251, allocations: 8 kB / 377 MB, free: 2.656 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.309e-05/0.0826, allocations: 19.98 kB / 377.1 MB, free: 2.637 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.132e-05/0.08262, allocations: 15.94 kB / 377.1 MB, free: 2.621 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.657e-05/0.08269, allocations: 43.8 kB / 377.1 MB, free: 2.578 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001781/0.08287, allocations: 99.95 kB / 377.2 MB, free: 2.48 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.339e-06/0.08288, allocations: 0 / 377.2 MB, free: 2.48 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.08289, allocations: 0 / 377.2 MB, free: 2.48 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.394e-06/0.0829, allocations: 0 / 377.2 MB, free: 2.48 MB / 318.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.0005082/0.08342, allocations: 383.3 kB / 377.6 MB, free: 2.059 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.08347, allocations: 8.031 kB / 377.6 MB, free: 2.051 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.328e-05/0.08352, allocations: 46.69 kB / 377.6 MB, free: 1.996 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001249/0.08366, allocations: 16.83 kB / 377.7 MB, free: 1.98 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001244/0.08379, allocations: 164.3 kB / 377.8 MB, free: 1.781 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.676e-05/0.08381, allocations: 8.375 kB / 377.8 MB, free: 1.773 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.649e-05/0.08385, allocations: 8.375 kB / 377.8 MB, free: 1.766 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001706/0.08403, allocations: 93.66 kB / 377.9 MB, free: 1.668 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/0.08405, allocations: 3.906 kB / 377.9 MB, free: 1.664 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.08407, allocations: 8 kB / 377.9 MB, free: 1.656 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.08408, allocations: 4 kB / 377.9 MB, free: 1.652 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000103/0.08419, allocations: 55.92 kB / 378 MB, free: 1.598 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006258/0.08482, allocations: 392.4 kB / 378.4 MB, free: 1.164 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001183/0.08495, allocations: 66.56 kB / 378.5 MB, free: 1.09 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.611e-05/0.08502, allocations: 37 kB / 378.5 MB, free: 1.051 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.202e-05/0.08503, allocations: 3.984 kB / 378.5 MB, free: 1.047 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/0.08506, allocations: 38.56 kB / 378.5 MB, free: 1 MB / 318.1 MB Notification: Performance of pre-optimization done (n=8): time 1.082e-06/0.08507, allocations: 0 / 378.5 MB, free: 1 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0001913/0.08526, allocations: 89.55 kB / 378.6 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.787e-05/0.08531, allocations: 55.41 kB / 378.7 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.94e-05/0.08539, allocations: 105.9 kB / 378.8 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.6e-05/0.08541, allocations: 29.69 kB / 378.8 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.256e-05/0.08548, allocations: 107.8 kB / 378.9 MB, free: 0.582 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.164e-05/0.0855, allocations: 27.55 kB / 378.9 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.166e-05/0.08555, allocations: 29.72 kB / 379 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001022/0.08566, allocations: 322.8 kB / 379.3 MB, free: 200 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.79e-05/0.0857, allocations: 20 kB / 379.3 MB, free: 180 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.879e-05/0.08577, allocations: 50.55 kB / 379.3 MB, free: 120 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.96e-05/0.08586, allocations: 74.44 kB / 379.4 MB, free: 36 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.08587, allocations: 0 / 379.4 MB, free: 36 kB / 318.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.157/0.2429, allocations: 100.4 kB / 379.5 MB, free: 12.68 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.51e-05/0.2429, allocations: 5.188 kB / 379.5 MB, free: 12.68 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.607e-06/0.2429, allocations: 1.391 kB / 379.5 MB, free: 12.68 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.998e-05/0.243, allocations: 5.328 kB / 379.5 MB, free: 12.68 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001504/0.2431, allocations: 25.02 kB / 379.6 MB, free: 12.68 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/0.2431, allocations: 3.969 kB / 379.6 MB, free: 12.68 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.359e-05/0.2432, allocations: 12.81 kB / 379.6 MB, free: 12.68 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.416e-06/0.2432, allocations: 4.953 kB / 379.6 MB, free: 12.68 MB / 318.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.776e-05/0.2433, allocations: 128.7 kB / 379.7 MB, free: 12.56 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.238e-05/0.2433, allocations: 3.406 kB / 379.7 MB, free: 12.56 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.329e-05/0.2434, allocations: 9.594 kB / 379.7 MB, free: 12.55 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.2434, allocations: 4.531 kB / 379.7 MB, free: 12.55 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.2434, allocations: 0.75 kB / 379.7 MB, free: 12.55 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.2434, allocations: 0 / 379.7 MB, free: 12.55 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001801/0.2436, allocations: 197.5 kB / 379.9 MB, free: 12.36 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.2436, allocations: 1.375 kB / 379.9 MB, free: 12.36 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001005/0.2437, allocations: 17.75 kB / 379.9 MB, free: 12.36 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.2437, allocations: 1.375 kB / 379.9 MB, free: 12.36 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.338e-06/0.2437, allocations: 0.7969 kB / 379.9 MB, free: 12.36 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.2437, allocations: 5.594 kB / 379.9 MB, free: 12.36 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.2437, allocations: 3.781 kB / 379.9 MB, free: 12.36 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001704/0.2439, allocations: 193.2 kB / 380.1 MB, free: 12.23 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.158e-05/0.2439, allocations: 82.7 kB / 380.2 MB, free: 12.14 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.394e-05/0.244, allocations: 0 / 380.2 MB, free: 12.14 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.354e-05/0.244, allocations: 5.484 kB / 380.2 MB, free: 12.14 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.523e-05/0.2441, allocations: 5.094 kB / 380.2 MB, free: 12.14 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.37e-06/0.2441, allocations: 2.828 kB / 380.2 MB, free: 12.14 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.1e-05/0.2441, allocations: 87.14 kB / 380.3 MB, free: 12.06 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2441, allocations: 0 / 380.3 MB, free: 12.06 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002607/0.2444, allocations: 27.33 kB / 380.3 MB, free: 12.06 MB / 318.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.0002753/0.2447, allocations: 0.7272 MB / 381.1 MB, free: 11.41 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001355/0.2448, allocations: 57.8 kB / 381.1 MB, free: 11.41 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.2448, allocations: 3.375 kB / 381.1 MB, free: 11.41 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.173e-05/0.2448, allocations: 23.5 kB / 381.1 MB, free: 11.41 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003207/0.2452, allocations: 11 kB / 381.2 MB, free: 11.41 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001138/0.2463, allocations: 1.549 MB / 382.7 MB, free: 10.15 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001289/0.2465, allocations: 0.6943 MB / 383.4 MB, free: 9.453 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.266e-05/0.2465, allocations: 10.11 kB / 383.4 MB, free: 9.449 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.059e-05/0.2465, allocations: 21.17 kB / 383.4 MB, free: 9.441 MB / 318.1 MB Notification: Performance of SimCode: time 2.31e-07/0.2466, allocations: 1.312 kB / 383.4 MB, free: 9.441 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0182/0.2648, allocations: 1.815 MB / 385.2 MB, free: 8.922 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.261/7.526, allocations: 7.859 kB / 385.3 MB, free: 8.914 MB / 318.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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches