Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingRectifier.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingRectifier,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Analog_Examples_HeatingRectifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.79/1.79, allocations: 171.2 MB / 186.1 MB, free: 1.113 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000378/0.0003782, allocations: 8 kB / 233.4 MB, free: 168 kB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08047/0.08089, allocations: 38.77 MB / 272.1 MB, free: 9.312 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3343/0.4152, allocations: 68.7 MB / 340.8 MB, free: 13.84 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002729/0.4155, allocations: 71.97 kB / 340.9 MB, free: 13.77 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02193/0.4375, allocations: 4.03 MB / 344.9 MB, free: 9.734 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.695e-06/0.4375, allocations: 0 / 344.9 MB, free: 9.734 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.412e-05/0.4376, allocations: 4 kB / 344.9 MB, free: 9.73 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001407/0.439, allocations: 0.5067 MB / 345.4 MB, free: 9.172 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.302e-05/0.4391, allocations: 8.031 kB / 345.4 MB, free: 9.164 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001325/0.4392, allocations: 58.48 kB / 345.5 MB, free: 9.098 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001208/0.4394, allocations: 23.72 kB / 345.5 MB, free: 9.074 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005039/0.4399, allocations: 231.3 kB / 345.8 MB, free: 8.805 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.808e-05/0.4399, allocations: 16.44 kB / 345.8 MB, free: 8.789 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.69e-05/0.4401, allocations: 24 kB / 345.8 MB, free: 8.766 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009214/0.441, allocations: 229.8 kB / 346 MB, free: 8.527 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.233e-05/0.441, allocations: 0 / 346 MB, free: 8.527 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.436e-05/0.4411, allocations: 8 kB / 346 MB, free: 8.52 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.829e-05/0.4411, allocations: 11.94 kB / 346 MB, free: 8.508 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008497/0.442, allocations: 157.7 kB / 346.2 MB, free: 8.355 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00285/0.4449, allocations: 0.8728 MB / 347.1 MB, free: 7.418 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006365/0.4456, allocations: 150.6 kB / 347.2 MB, free: 7.262 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.854e-05/0.4456, allocations: 4 kB / 347.2 MB, free: 7.258 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.552e-05/0.4457, allocations: 34.5 kB / 347.2 MB, free: 7.215 MB / 282.7 MB Notification: Performance of pre-optimization done (n=17): time 3.366e-06/0.4457, allocations: 0 / 347.2 MB, free: 7.215 MB / 282.7 MB Notification: Performance of matching and sorting (n=17): time 0.002682/0.4484, allocations: 425.4 kB / 347.7 MB, free: 6.773 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.882e-05/0.4485, allocations: 59.41 kB / 347.7 MB, free: 6.703 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003202/0.4488, allocations: 166.3 kB / 347.9 MB, free: 6.531 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.508e-05/0.4489, allocations: 25.7 kB / 347.9 MB, free: 6.5 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00016/0.4491, allocations: 163.5 kB / 348.1 MB, free: 6.34 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001016/0.4492, allocations: 63.09 kB / 348.1 MB, free: 6.277 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.138e-05/0.4492, allocations: 4 kB / 348.1 MB, free: 6.273 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002136/0.4494, allocations: 326.8 kB / 348.5 MB, free: 5.945 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002789/0.4497, allocations: 51.97 kB / 348.5 MB, free: 5.895 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000314/0.4501, allocations: 100.2 kB / 348.6 MB, free: 5.781 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003202/0.4504, allocations: 66.91 kB / 348.7 MB, free: 5.719 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/0.4504, allocations: 0 / 348.7 MB, free: 5.719 MB / 282.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001132/0.4516, allocations: 262.1 kB / 348.9 MB, free: 5.453 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.763e-05/0.4516, allocations: 4 kB / 348.9 MB, free: 5.449 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-05/0.4517, allocations: 3.984 kB / 348.9 MB, free: 5.445 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002909/0.4546, allocations: 216.8 kB / 349.1 MB, free: 5.23 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004217/0.4551, allocations: 35.97 kB / 349.2 MB, free: 5.195 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001005/0.4561, allocations: 0.6146 MB / 349.8 MB, free: 4.555 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003724/0.4565, allocations: 23.94 kB / 349.8 MB, free: 4.531 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.197e-05/0.4565, allocations: 11.98 kB / 349.8 MB, free: 4.52 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (17): * Single equations (assignments): 16 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0002698/0.4568, allocations: 129.8 kB / 350 MB, free: 4.383 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.927e-05/0.4569, allocations: 15.81 kB / 350 MB, free: 4.367 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001076/0.458, allocations: 232.2 kB / 350.2 MB, free: 4.129 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.127e-05/0.4581, allocations: 3.953 kB / 350.2 MB, free: 4.125 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.247e-06/0.4581, allocations: 3.984 kB / 350.2 MB, free: 4.121 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.574e-06/0.4581, allocations: 0 / 350.2 MB, free: 4.121 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007363/0.4589, allocations: 293.4 kB / 350.5 MB, free: 3.785 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.903e-06/0.4589, allocations: 3.984 kB / 350.5 MB, free: 3.781 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003832/0.4593, allocations: 27.92 kB / 350.5 MB, free: 3.754 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002705/0.462, allocations: 224.6 kB / 350.7 MB, free: 3.531 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.743e-05/0.4621, allocations: 0 / 350.7 MB, free: 3.531 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009837/0.4631, allocations: 0.6304 MB / 351.4 MB, free: 2.875 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.943e-06/0.4631, allocations: 3.984 kB / 351.4 MB, free: 2.871 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001275/0.4644, allocations: 395.5 kB / 351.8 MB, free: 2.465 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000194/0.4646, allocations: 108.9 kB / 351.9 MB, free: 2.34 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.53e-05/0.4647, allocations: 0 / 351.9 MB, free: 2.34 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003515/0.4651, allocations: 15.98 kB / 351.9 MB, free: 2.324 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.693e-05/0.4652, allocations: 12.05 kB / 351.9 MB, free: 2.312 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.174e-05/0.4652, allocations: 8 kB / 351.9 MB, free: 2.305 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002402/0.4655, allocations: 133.2 kB / 352 MB, free: 2.176 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.4655, allocations: 0 / 352 MB, free: 2.176 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0007476/0.4662, allocations: 59.84 kB / 352.1 MB, free: 2.117 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Capacitor1.v,HeatCapacitor1.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 (10): * Single equations (assignments): 9 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.001842/0.4681, allocations: 0.9476 MB / 353 MB, free: 1.141 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0008782/0.469, allocations: 158.5 kB / 353.2 MB, free: 0.9883 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.441e-06/0.4691, allocations: 8 kB / 353.2 MB, free: 0.9805 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004819/0.4696, allocations: 88.39 kB / 353.3 MB, free: 0.8945 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006226/0.4702, allocations: 25.73 kB / 353.3 MB, free: 0.8711 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005181/0.4754, allocations: 2.004 MB / 355.3 MB, free: 14.79 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000517/0.476, allocations: 0.7517 MB / 356.1 MB, free: 14.01 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001774/0.4762, allocations: 9.547 kB / 356.1 MB, free: 14 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000178/0.4764, allocations: 59.52 kB / 356.1 MB, free: 13.95 MB / 298.7 MB Notification: Performance of SimCode: time 1.824e-06/0.4764, allocations: 3.938 kB / 356.1 MB, free: 13.94 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06001/0.5364, allocations: 4.321 MB / 360.5 MB, free: 9.684 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002401/0.5367, allocations: 211.8 kB / 360.7 MB, free: 9.441 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.773/3.31, allocations: 0 / 360.7 MB, free: 9.441 MB / 298.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingRectifier_res.mat does not exist to compare? outputFormat=mat