Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.TwoMasses,fileNamePrefix="Modelica_3_2_2_Modelica_Thermal_HeatTransfer_Examples_TwoMasses",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.131/2.131, allocations: 194.9 MB / 211.1 MB, free: 7.582 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004784/0.0004784, allocations: 8 kB / 264.1 MB, free: 2.496 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3465/0.347, allocations: 44.49 MB / 308.6 MB, free: 12.65 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1309/0.478, allocations: 71.42 MB / 380 MB, free: 5.129 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002816/0.4783, allocations: 71.95 kB / 380 MB, free: 5.059 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007322/0.4857, allocations: 1.756 MB / 381.8 MB, free: 3.301 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.295e-06/0.4857, allocations: 0 / 381.8 MB, free: 3.301 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.645e-06/0.4857, allocations: 4 kB / 381.8 MB, free: 3.297 MB / 314.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.0005571/0.4863, allocations: 371.1 kB / 382.2 MB, free: 2.887 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.948e-05/0.4864, allocations: 8.031 kB / 382.2 MB, free: 2.879 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.707e-05/0.4864, allocations: 42.55 kB / 382.2 MB, free: 2.828 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001385/0.4866, allocations: 11.91 kB / 382.2 MB, free: 2.816 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001475/0.4867, allocations: 171 kB / 382.4 MB, free: 2.609 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.273e-05/0.4868, allocations: 15.94 kB / 382.4 MB, free: 2.594 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.544e-05/0.4868, allocations: 11.98 kB / 382.4 MB, free: 2.582 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003519/0.4872, allocations: 81.67 kB / 382.5 MB, free: 2.496 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.864e-05/0.4872, allocations: 0 / 382.5 MB, free: 2.496 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.717e-05/0.4873, allocations: 7.953 kB / 382.5 MB, free: 2.488 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.299e-05/0.4873, allocations: 4 kB / 382.5 MB, free: 2.484 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003585/0.4877, allocations: 55.95 kB / 382.6 MB, free: 2.43 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001806/0.4896, allocations: 396.4 kB / 383 MB, free: 1.992 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003037/0.4899, allocations: 70.55 kB / 383 MB, free: 1.914 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.424e-05/0.49, allocations: 7.938 kB / 383 MB, free: 1.906 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.504e-05/0.49, allocations: 30.56 kB / 383.1 MB, free: 1.867 MB / 314.7 MB Notification: Performance of pre-optimization done (n=8): time 3.847e-06/0.4901, allocations: 3.938 kB / 383.1 MB, free: 1.863 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003485/0.4904, allocations: 89.75 kB / 383.2 MB, free: 1.77 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.733e-05/0.4905, allocations: 63.36 kB / 383.2 MB, free: 1.695 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.662e-05/0.4906, allocations: 93 kB / 383.3 MB, free: 1.598 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.04e-05/0.4906, allocations: 25.7 kB / 383.3 MB, free: 1.566 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.984e-05/0.4907, allocations: 103.9 kB / 383.4 MB, free: 1.461 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.213e-05/0.4908, allocations: 31.55 kB / 383.5 MB, free: 1.43 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.382e-06/0.4908, allocations: 0 / 383.5 MB, free: 1.43 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001392/0.4909, allocations: 318.8 kB / 383.8 MB, free: 1.109 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.899e-05/0.491, allocations: 23.98 kB / 383.8 MB, free: 1.086 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.641e-05/0.4911, allocations: 46.5 kB / 383.8 MB, free: 1.031 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.783e-05/0.4912, allocations: 28 kB / 383.9 MB, free: 1.004 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.4912, allocations: 0 / 383.9 MB, free: 1.004 MB / 314.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002445/0.4915, allocations: 101.5 kB / 384 MB, free: 0.8984 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.186e-05/0.4915, allocations: 8 kB / 384 MB, free: 0.8906 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.4915, allocations: 0 / 384 MB, free: 0.8906 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.4916, allocations: 0 / 384 MB, free: 0.8906 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002275/0.4918, allocations: 32.05 kB / 384 MB, free: 0.8594 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.579e-05/0.4918, allocations: 4 kB / 384 MB, free: 0.8555 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001006/0.4919, allocations: 11.89 kB / 384 MB, free: 0.8438 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.284e-05/0.492, allocations: 4 kB / 384 MB, free: 0.8398 MB / 314.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001202/0.4921, allocations: 125.8 kB / 384.2 MB, free: 0.707 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.573e-05/0.4921, allocations: 3.906 kB / 384.2 MB, free: 0.7031 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.552e-05/0.4922, allocations: 8.375 kB / 384.2 MB, free: 0.6914 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/0.4922, allocations: 4 kB / 384.2 MB, free: 0.6875 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.4922, allocations: 4 kB / 384.2 MB, free: 0.6836 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.4922, allocations: 0 / 384.2 MB, free: 0.6836 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000271/0.4925, allocations: 189.7 kB / 384.4 MB, free: 460 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.4925, allocations: 0 / 384.4 MB, free: 460 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001986/0.4927, allocations: 19.98 kB / 384.4 MB, free: 440 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.508e-06/0.4928, allocations: 0 / 384.4 MB, free: 440 kB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.873e-05/0.4928, allocations: 8 kB / 384.4 MB, free: 432 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.4928, allocations: 3.938 kB / 384.4 MB, free: 428 kB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.4928, allocations: 0 / 384.4 MB, free: 428 kB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003144/0.4931, allocations: 203 kB / 384.6 MB, free: 212 kB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.778e-05/0.4932, allocations: 81.02 kB / 384.7 MB, free: 112 kB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.12e-05/0.4932, allocations: 256 / 384.7 MB, free: 112 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.7e-05/0.4933, allocations: 12.03 kB / 384.7 MB, free: 100 kB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.147e-05/0.4934, allocations: 7.984 kB / 384.7 MB, free: 92 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.242e-06/0.4934, allocations: 0 / 384.7 MB, free: 92 kB / 314.7 MB Notification: Performance of sorting global known variables: time 6.513e-05/0.4935, allocations: 93.5 kB / 384.8 MB, free: 0 / 314.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.4935, allocations: 0 / 384.8 MB, free: 0 / 314.7 MB Notification: Performance of remove unused functions: time 0.0003546/0.4938, allocations: 27.98 kB / 384.8 MB, free: 15.97 MB / 330.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006512/0.4945, allocations: 0.7323 MB / 385.5 MB, free: 15.21 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001956/0.4947, allocations: 59.92 kB / 385.6 MB, free: 15.16 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.4947, allocations: 0 / 385.6 MB, free: 15.16 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.672e-05/0.4948, allocations: 24.05 kB / 385.6 MB, free: 15.13 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002578/0.4951, allocations: 14.69 kB / 385.6 MB, free: 15.12 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001385/0.4965, allocations: 0.8884 MB / 386.5 MB, free: 14.17 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003231/0.4968, allocations: 0.6926 MB / 387.2 MB, free: 13.45 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.476e-05/0.4969, allocations: 11.98 kB / 387.2 MB, free: 13.44 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.096e-05/0.497, allocations: 19.44 kB / 387.2 MB, free: 13.42 MB / 330.7 MB Notification: Performance of SimCode: time 1.323e-06/0.497, allocations: 0 / 387.2 MB, free: 13.42 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02084/0.5178, allocations: 1.497 MB / 388.7 MB, free: 11.96 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003536/0.5183, allocations: 189 kB / 388.9 MB, free: 11.71 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.525/3.044, allocations: 4 kB / 388.9 MB, free: 11.71 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Thermal.HeatTransfer.Examples.TwoMasses_res.mat does not exist to compare? outputFormat=mat