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.ShowVariableResistor.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.ShowVariableResistor,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Analog_Examples_ShowVariableResistor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.824/1.824, allocations: 171.2 MB / 186.1 MB, free: 1.125 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003483/0.0003483, allocations: 8 kB / 233.4 MB, free: 2.281 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08636/0.08676, allocations: 38.76 MB / 272.1 MB, free: 11.44 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3436/0.4304, allocations: 68.08 MB / 340.2 MB, free: 4.816 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002735/0.4308, allocations: 82.75 kB / 340.3 MB, free: 4.77 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02164/0.4524, allocations: 5.005 MB / 345.3 MB, free: 460 kB / 266.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.4525, allocations: 4.375 kB / 345.3 MB, free: 456 kB / 266.7 MB Notification: Performance of Transformations before backend: time 3.181e-05/0.4525, allocations: 8 kB / 345.3 MB, free: 448 kB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.001375/0.4539, allocations: 0.5939 MB / 345.9 MB, free: 15.82 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.106e-05/0.454, allocations: 15.95 kB / 345.9 MB, free: 15.8 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000108/0.4541, allocations: 62.73 kB / 346 MB, free: 15.75 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.679e-05/0.4542, allocations: 39.53 kB / 346 MB, free: 15.71 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004412/0.4547, allocations: 272.2 kB / 346.3 MB, free: 15.42 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.411e-05/0.4547, allocations: 27.39 kB / 346.3 MB, free: 15.41 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.866e-05/0.4548, allocations: 23.75 kB / 346.3 MB, free: 15.39 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008233/0.4556, allocations: 263.7 kB / 346.6 MB, free: 15.2 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.42e-05/0.4556, allocations: 0 / 346.6 MB, free: 15.2 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.061e-05/0.4557, allocations: 10.81 kB / 346.6 MB, free: 15.2 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.086e-05/0.4557, allocations: 11.98 kB / 346.6 MB, free: 15.18 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008342/0.4566, allocations: 235.2 kB / 346.8 MB, free: 15.02 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002609/0.4592, allocations: 0.9939 MB / 347.8 MB, free: 14.13 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007615/0.46, allocations: 227 kB / 348 MB, free: 13.97 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.241e-05/0.46, allocations: 4.188 kB / 348 MB, free: 13.97 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.395e-05/0.4601, allocations: 32.69 kB / 348.1 MB, free: 13.93 MB / 282.7 MB Notification: Performance of pre-optimization done (n=21): time 3.557e-06/0.4601, allocations: 7.938 kB / 348.1 MB, free: 13.92 MB / 282.7 MB Notification: Performance of matching and sorting (n=21): time 0.002067/0.4622, allocations: 0.5772 MB / 348.7 MB, free: 13.38 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.684e-05/0.4622, allocations: 55.41 kB / 348.7 MB, free: 13.31 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003694/0.4626, allocations: 232 kB / 348.9 MB, free: 13.11 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.61e-05/0.4627, allocations: 28.95 kB / 349 MB, free: 13.08 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00015/0.4628, allocations: 200.2 kB / 349.2 MB, free: 12.91 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.637e-05/0.4629, allocations: 66.33 kB / 349.2 MB, free: 12.86 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.879e-05/0.463, allocations: 6.875 kB / 349.2 MB, free: 12.86 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001545/0.4631, allocations: 333.1 kB / 349.6 MB, free: 12.53 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003425/0.4635, allocations: 84.42 kB / 349.6 MB, free: 12.47 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000391/0.4639, allocations: 112.3 kB / 349.8 MB, free: 12.38 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003602/0.4643, allocations: 89.17 kB / 349.8 MB, free: 12.32 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/0.4643, allocations: 4 kB / 349.8 MB, free: 12.32 MB / 282.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001103/0.4654, allocations: 335.9 kB / 350.2 MB, free: 12.05 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.89e-05/0.4654, allocations: 8 kB / 350.2 MB, free: 12.04 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.4654, allocations: 0 / 350.2 MB, free: 12.04 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000422/0.4659, allocations: 71.92 kB / 350.3 MB, free: 11.98 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003774/0.4663, allocations: 47.91 kB / 350.3 MB, free: 11.93 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003418/0.4697, allocations: 2.856 MB / 353.2 MB, free: 9.031 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003987/0.4702, allocations: 27.55 kB / 353.2 MB, free: 9.008 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.121e-05/0.4702, allocations: 12.31 kB / 353.2 MB, free: 9 MB / 282.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 (20): * Single equations (assignments): 18 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002545/0.4705, allocations: 143.9 kB / 353.3 MB, free: 8.867 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.067e-05/0.4706, allocations: 23.72 kB / 353.4 MB, free: 8.844 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.519e-05/0.4706, allocations: 36.42 kB / 353.4 MB, free: 8.816 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.4707, allocations: 4 kB / 353.4 MB, free: 8.812 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.239e-05/0.4707, allocations: 4 kB / 353.4 MB, free: 8.809 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.4707, allocations: 0 / 353.4 MB, free: 8.809 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005278/0.4712, allocations: 344.9 kB / 353.7 MB, free: 8.48 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.4712, allocations: 0 / 353.7 MB, free: 8.48 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002774/0.4715, allocations: 27.97 kB / 353.8 MB, free: 8.453 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003329/0.4719, allocations: 74.73 kB / 353.8 MB, free: 8.387 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.722e-05/0.4719, allocations: 7.125 kB / 353.8 MB, free: 8.383 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00313/0.4751, allocations: 2.851 MB / 356.7 MB, free: 5.484 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.4751, allocations: 0 / 356.7 MB, free: 5.484 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001106/0.4762, allocations: 402 kB / 357.1 MB, free: 5.137 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001712/0.4764, allocations: 118.9 kB / 357.2 MB, free: 5.008 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.662e-05/0.4765, allocations: 2.812 kB / 357.2 MB, free: 5.008 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000454/0.4769, allocations: 39.28 kB / 357.2 MB, free: 4.973 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.154e-05/0.477, allocations: 23.03 kB / 357.3 MB, free: 4.953 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.58e-05/0.4771, allocations: 6.312 kB / 357.3 MB, free: 4.949 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002715/0.4773, allocations: 184.8 kB / 357.5 MB, free: 4.801 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.4774, allocations: 0 / 357.5 MB, free: 4.801 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005454/0.4779, allocations: 94.59 kB / 357.5 MB, free: 4.715 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (13): * Single equations (assignments): 11 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001402/0.4793, allocations: 0.9418 MB / 358.5 MB, free: 3.809 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001221/0.4806, allocations: 465.2 kB / 358.9 MB, free: 3.391 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.4806, allocations: 0 / 358.9 MB, free: 3.391 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007264/0.4813, allocations: 373.7 kB / 359.3 MB, free: 3.039 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004914/0.4818, allocations: 39.55 kB / 359.3 MB, free: 3.012 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003876/0.4857, allocations: 1.859 MB / 361.2 MB, free: 1.324 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004834/0.4863, allocations: 0.7719 MB / 362 MB, free: 0.5234 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002405/0.4865, allocations: 26.28 kB / 362 MB, free: 0.4961 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002208/0.4867, allocations: 88.72 kB / 362.1 MB, free: 480 kB / 282.7 MB Notification: Performance of SimCode: time 1.283e-06/0.4868, allocations: 0 / 362.1 MB, free: 480 kB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03162/0.5184, allocations: 5.655 MB / 367.7 MB, free: 10.89 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003556/0.5188, allocations: 212.8 kB / 368 MB, free: 10.64 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.691/3.209, allocations: 0 / 368 MB, free: 10.64 MB / 298.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Electrical.Analog.Examples.ShowVariableResistor_res.mat does not exist to compare? outputFormat=mat