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.001157/0.001157, allocations: 111.5 kB / 17.28 MB, free: 6.219 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.00125/0.00125, allocations: 185.3 kB / 18.2 MB, free: 5.301 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.313/1.313, allocations: 205.1 MB / 224.1 MB, free: 12.44 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.001175/0.001175, allocations: 48.16 kB / 280.2 MB, free: 3.402 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08687/0.08806, allocations: 46.63 MB / 326.9 MB, free: 4.707 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.002688/0.09078, allocations: 1.677 MB / 328.6 MB, free: 3.012 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.000752/0.09155, allocations: 0.5192 MB / 329.1 MB, free: 2.484 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.386e-05/0.09161, allocations: 4 kB / 329.1 MB, free: 2.48 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 4.734e-05/0.09167, allocations: 7.984 kB / 329.1 MB, free: 2.473 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 7.147e-05/0.09175, allocations: 23.78 kB / 329.1 MB, free: 2.449 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001946/0.09195, allocations: 23.97 kB / 329.1 MB, free: 2.426 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001045/0.09206, allocations: 99.47 kB / 329.2 MB, free: 2.328 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001168/0.09219, allocations: 35.97 kB / 329.3 MB, free: 2.293 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.932e-05/0.09223, allocations: 31.94 kB / 329.3 MB, free: 2.262 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.109e-05/0.09232, allocations: 39.84 kB / 329.3 MB, free: 2.223 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.703e-05/0.09234, allocations: 12 kB / 329.3 MB, free: 2.211 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.56e-05/0.09241, allocations: 12 kB / 329.4 MB, free: 2.199 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 1.923e-05/0.09244, allocations: 19.92 kB / 329.4 MB, free: 2.18 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 5.026e-05/0.09249, allocations: 51.78 kB / 329.4 MB, free: 2.129 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001303/0.09263, allocations: 95.97 kB / 329.5 MB, free: 2.035 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.09264, allocations: 0 / 329.5 MB, free: 2.035 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.09265, allocations: 3.938 kB / 329.5 MB, free: 2.031 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.09266, allocations: 0 / 329.5 MB, free: 2.031 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.0004489/0.09311, allocations: 375.3 kB / 329.9 MB, free: 1.617 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.09316, allocations: 16.03 kB / 329.9 MB, free: 1.602 MB / 270.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.514e-05/0.0932, allocations: 34.75 kB / 329.9 MB, free: 1.559 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000109/0.09331, allocations: 12.84 kB / 329.9 MB, free: 1.547 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001151/0.09343, allocations: 184.2 kB / 330.1 MB, free: 1.328 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.13e-05/0.09345, allocations: 4.375 kB / 330.1 MB, free: 1.324 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.638e-05/0.09348, allocations: 8.375 kB / 330.1 MB, free: 1.316 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001622/0.09365, allocations: 89.75 kB / 330.2 MB, free: 1.223 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.09367, allocations: 0 / 330.2 MB, free: 1.223 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.888e-06/0.09368, allocations: 0 / 330.2 MB, free: 1.223 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.09369, allocations: 4 kB / 330.2 MB, free: 1.219 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.985e-05/0.0938, allocations: 55.91 kB / 330.3 MB, free: 1.164 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005975/0.0944, allocations: 412.3 kB / 330.7 MB, free: 0.7109 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001155/0.09453, allocations: 78.55 kB / 330.8 MB, free: 0.625 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.41e-05/0.09459, allocations: 32.84 kB / 330.8 MB, free: 0.5898 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.072e-05/0.09461, allocations: 0 / 330.8 MB, free: 0.5898 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.822e-05/0.09463, allocations: 30.56 kB / 330.8 MB, free: 0.5508 MB / 270.1 MB Notification: Performance of pre-optimization done (n=8): time 2.124e-06/0.09464, allocations: 0 / 330.8 MB, free: 0.5508 MB / 270.1 MB Notification: Performance of matching and sorting (n=8): time 0.0001868/0.09483, allocations: 105.4 kB / 330.9 MB, free: 452 kB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.003e-05/0.09487, allocations: 51.41 kB / 331 MB, free: 388 kB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.255e-05/0.09494, allocations: 105.8 kB / 331.1 MB, free: 272 kB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.339e-05/0.09497, allocations: 29.7 kB / 331.1 MB, free: 236 kB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.703e-05/0.09503, allocations: 107.9 kB / 331.2 MB, free: 124 kB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.277e-05/0.09506, allocations: 31.55 kB / 331.3 MB, free: 92 kB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.964e-05/0.0951, allocations: 25.72 kB / 331.3 MB, free: 60 kB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001073/0.09521, allocations: 314.8 kB / 331.6 MB, free: 15.74 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.991e-05/0.09526, allocations: 24 kB / 331.6 MB, free: 15.72 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.939e-05/0.09532, allocations: 50.56 kB / 331.7 MB, free: 15.66 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.856e-05/0.09542, allocations: 74.5 kB / 331.7 MB, free: 15.58 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.09543, allocations: 0 / 331.7 MB, free: 15.58 MB / 286.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001341/0.09557, allocations: 101.6 kB / 331.8 MB, free: 15.47 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.09559, allocations: 4 kB / 331.8 MB, free: 15.47 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.09559, allocations: 0 / 331.8 MB, free: 15.47 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.09561, allocations: 7.938 kB / 331.8 MB, free: 15.46 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001221/0.09574, allocations: 23.98 kB / 331.9 MB, free: 15.44 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.09576, allocations: 8 kB / 331.9 MB, free: 15.43 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.678e-05/0.09582, allocations: 15.84 kB / 331.9 MB, free: 15.41 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.686e-06/0.09583, allocations: 4 kB / 331.9 MB, free: 15.41 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.557e-05/0.09592, allocations: 113.8 kB / 332 MB, free: 15.29 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.448e-05/0.09595, allocations: 3.906 kB / 332 MB, free: 15.29 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.352e-05/0.09599, allocations: 24.25 kB / 332 MB, free: 15.26 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.816e-06/0.09599, allocations: 3.984 kB / 332 MB, free: 15.26 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.096, allocations: 0 / 332 MB, free: 15.26 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.09601, allocations: 4 kB / 332 MB, free: 15.25 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001898/0.09621, allocations: 181.8 kB / 332.2 MB, free: 15.03 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.09622, allocations: 3.984 kB / 332.2 MB, free: 15.02 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.89e-05/0.09632, allocations: 16 kB / 332.2 MB, free: 15.01 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.09633, allocations: 4 kB / 332.2 MB, free: 15 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.09635, allocations: 3.938 kB / 332.2 MB, free: 15 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.09635, allocations: 256 / 332.2 MB, free: 15 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.09636, allocations: 3.938 kB / 332.2 MB, free: 15 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001901/0.09655, allocations: 195.4 kB / 332.4 MB, free: 14.79 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.647e-05/0.09661, allocations: 85.14 kB / 332.5 MB, free: 14.69 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.461e-05/0.09663, allocations: 3.938 kB / 332.5 MB, free: 14.68 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.454e-05/0.0967, allocations: 3.984 kB / 332.5 MB, free: 14.68 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.049e-05/0.09672, allocations: 8 kB / 332.5 MB, free: 14.67 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.327e-06/0.09673, allocations: 0 / 332.5 MB, free: 14.67 MB / 286.1 MB Notification: Performance of sorting global known variables: time 3.447e-05/0.09677, allocations: 83.27 kB / 332.6 MB, free: 14.59 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.09678, allocations: 4 kB / 332.6 MB, free: 14.59 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002344/0.09702, allocations: 27.84 kB / 332.6 MB, free: 14.56 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.0004192/0.09744, allocations: 0.7242 MB / 333.4 MB, free: 13.8 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.00014/0.09759, allocations: 59.86 kB / 333.4 MB, free: 13.75 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.0976, allocations: 3.938 kB / 333.4 MB, free: 13.74 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 3.164e-05/0.09764, allocations: 27.92 kB / 333.5 MB, free: 13.71 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002901/0.09793, allocations: 12.19 kB / 333.5 MB, free: 13.7 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001336/0.09928, allocations: 1.562 MB / 335 MB, free: 12.05 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002243/0.09951, allocations: 0.6924 MB / 335.7 MB, free: 11.33 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 3.864e-05/0.09956, allocations: 11.94 kB / 335.7 MB, free: 11.32 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.905e-05/0.0996, allocations: 27.31 kB / 335.8 MB, free: 11.29 MB / 286.1 MB Notification: Performance of SimCode: time 2.31e-07/0.09961, allocations: 0 / 335.8 MB, free: 11.29 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0133/0.1129, allocations: 1.663 MB / 337.4 MB, free: 9.625 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002152/0.1132, allocations: 208.7 kB / 337.6 MB, free: 9.359 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.718/1.831, allocations: 0 / 337.6 MB, free: 9.359 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