Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Analog.Examples.ShowVariableResistor.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.Electrical.Analog.Examples.ShowVariableResistor,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Analog_Examples_ShowVariableResistor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.052/2.052, allocations: 194.9 MB / 211.1 MB, free: 7.586 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005096/0.0005097, allocations: 16 kB / 264.1 MB, free: 2.508 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3573/0.3579, allocations: 44.5 MB / 308.6 MB, free: 12.64 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1357/0.4937, allocations: 73.21 MB / 381.8 MB, free: 3.332 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002884/0.494, allocations: 71.95 kB / 381.8 MB, free: 3.262 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02177/0.5158, allocations: 4.905 MB / 386.8 MB, free: 14.34 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.5158, allocations: 0 / 386.8 MB, free: 14.34 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.789e-05/0.5159, allocations: 7.984 kB / 386.8 MB, free: 14.34 MB / 330.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.001394/0.5173, allocations: 0.5962 MB / 387.4 MB, free: 13.69 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.17e-05/0.5174, allocations: 12.03 kB / 387.4 MB, free: 13.68 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001112/0.5175, allocations: 58.55 kB / 387.4 MB, free: 13.61 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001029/0.5176, allocations: 39.61 kB / 387.5 MB, free: 13.57 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004675/0.5181, allocations: 274.5 kB / 387.7 MB, free: 13.27 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.33e-05/0.5181, allocations: 20.56 kB / 387.8 MB, free: 13.25 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.122e-05/0.5182, allocations: 24 kB / 387.8 MB, free: 13.22 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008869/0.5191, allocations: 260.8 kB / 388 MB, free: 12.96 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.492e-05/0.5191, allocations: 0 / 388 MB, free: 12.96 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.543e-05/0.5192, allocations: 16 kB / 388 MB, free: 12.95 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.322e-05/0.5192, allocations: 11.92 kB / 388.1 MB, free: 12.93 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008786/0.5201, allocations: 234.1 kB / 388.3 MB, free: 12.7 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002783/0.5229, allocations: 0.9837 MB / 389.3 MB, free: 11.64 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007914/0.5237, allocations: 227.2 kB / 389.5 MB, free: 11.41 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.133e-05/0.5238, allocations: 4.188 kB / 389.5 MB, free: 11.41 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.582e-05/0.5238, allocations: 38.75 kB / 389.5 MB, free: 11.36 MB / 330.7 MB Notification: Performance of pre-optimization done (n=21): time 3.186e-06/0.5239, allocations: 0 / 389.5 MB, free: 11.36 MB / 330.7 MB Notification: Performance of matching and sorting (n=21): time 0.002195/0.5261, allocations: 0.5848 MB / 390.1 MB, free: 10.73 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.756e-05/0.5261, allocations: 51.41 kB / 390.2 MB, free: 10.67 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003922/0.5265, allocations: 241.6 kB / 390.4 MB, free: 10.43 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.317e-05/0.5266, allocations: 29.7 kB / 390.4 MB, free: 10.4 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001637/0.5268, allocations: 183.9 kB / 390.6 MB, free: 10.21 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.207e-05/0.5269, allocations: 67.02 kB / 390.7 MB, free: 10.14 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.158e-05/0.5269, allocations: 11.94 kB / 390.7 MB, free: 10.13 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001646/0.5271, allocations: 334.8 kB / 391 MB, free: 9.797 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003657/0.5275, allocations: 88.42 kB / 391.1 MB, free: 9.707 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003801/0.5279, allocations: 115.4 kB / 391.2 MB, free: 9.586 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003845/0.5283, allocations: 99.8 kB / 391.3 MB, free: 9.488 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.5283, allocations: 4 kB / 391.3 MB, free: 9.484 MB / 330.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.00125/0.5295, allocations: 330.8 kB / 391.6 MB, free: 9.148 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.145e-05/0.5296, allocations: 10.5 kB / 391.7 MB, free: 9.141 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/0.5296, allocations: 0 / 391.7 MB, free: 9.141 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004401/0.5301, allocations: 77.67 kB / 391.7 MB, free: 9.059 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003885/0.5305, allocations: 39.97 kB / 391.8 MB, free: 9.02 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003449/0.5339, allocations: 2.85 MB / 394.6 MB, free: 5.902 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004123/0.5344, allocations: 31.8 kB / 394.6 MB, free: 5.871 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.015e-05/0.5344, allocations: 11.95 kB / 394.7 MB, free: 5.859 MB / 330.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.0002511/0.5347, allocations: 141.8 kB / 394.8 MB, free: 5.711 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.385e-05/0.5348, allocations: 27.62 kB / 394.8 MB, free: 5.684 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.726e-05/0.5349, allocations: 34.17 kB / 394.9 MB, free: 5.648 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.5349, allocations: 0 / 394.9 MB, free: 5.648 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.173e-05/0.5349, allocations: 4 kB / 394.9 MB, free: 5.645 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.233e-06/0.5349, allocations: 3.984 kB / 394.9 MB, free: 5.641 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005504/0.5355, allocations: 333.4 kB / 395.2 MB, free: 5.266 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.5355, allocations: 3.984 kB / 395.2 MB, free: 5.262 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002839/0.5358, allocations: 23.98 kB / 395.2 MB, free: 5.238 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003514/0.5362, allocations: 81.98 kB / 395.3 MB, free: 5.152 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.014e-05/0.5362, allocations: 4 kB / 395.3 MB, free: 5.148 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003646/0.5399, allocations: 2.855 MB / 398.2 MB, free: 2.031 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.5399, allocations: 0 / 398.2 MB, free: 2.031 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001199/0.5411, allocations: 396.7 kB / 398.5 MB, free: 1.621 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001229/0.5413, allocations: 108.8 kB / 398.7 MB, free: 1.496 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.057e-05/0.5413, allocations: 4 kB / 398.7 MB, free: 1.492 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004625/0.5418, allocations: 39.97 kB / 398.7 MB, free: 1.453 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.194e-05/0.5419, allocations: 15.98 kB / 398.7 MB, free: 1.438 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.617e-05/0.542, allocations: 8 kB / 398.7 MB, free: 1.43 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002911/0.5423, allocations: 186 kB / 398.9 MB, free: 1.25 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.505e-06/0.5423, allocations: 4 kB / 398.9 MB, free: 1.246 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0008845/0.5432, allocations: 95.78 kB / 399 MB, free: 1.152 MB / 330.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.001944/0.5451, allocations: 0.9377 MB / 399.9 MB, free: 184 kB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001684/0.5469, allocations: 461.2 kB / 400.4 MB, free: 15.7 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.159e-06/0.5469, allocations: 0 / 400.4 MB, free: 15.7 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009434/0.5479, allocations: 361.1 kB / 400.7 MB, free: 15.32 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006994/0.5486, allocations: 44.67 kB / 400.8 MB, free: 15.28 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005358/0.554, allocations: 1.863 MB / 402.6 MB, free: 13.35 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005534/0.5546, allocations: 0.7755 MB / 403.4 MB, free: 12.55 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002953/0.5549, allocations: 26.28 kB / 403.4 MB, free: 12.52 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002436/0.5551, allocations: 83.41 kB / 403.5 MB, free: 12.44 MB / 346.7 MB Notification: Performance of SimCode: time 1.102e-06/0.5552, allocations: 0 / 403.5 MB, free: 12.44 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07758/0.6328, allocations: 5.652 MB / 409.2 MB, free: 6.816 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003101/0.6331, allocations: 212.6 kB / 409.4 MB, free: 6.57 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.025/3.658, allocations: 0 / 409.4 MB, free: 6.57 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Analog.Examples.ShowVariableResistor_res.mat does not exist to compare? outputFormat=mat