Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_StateGraph2_Modelica_StateGraph2.Examples.Interactive.UseRadioButtonSources.conf.json Using package Modelica_StateGraph2 with version 2.0.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica_StateGraph2 2.0.3/package.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) 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 ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(Modelica_StateGraph2.Examples.Interactive.UseRadioButtonSources,fileNamePrefix="Modelica_StateGraph2_Modelica_StateGraph2_Examples_Interactive_UseRadioButtonSources",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01094/0.01094, allocations: 107.7 kB / 15.06 MB, free: 6.027 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001248/0.001248, allocations: 182.1 kB / 15.95 MB, free: 5.953 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.212/2.212, allocations: 194.6 MB / 211.3 MB, free: 11.05 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica_StateGraph2 2.0.3/package.mo): time 0.1135/0.1135, allocations: 13.5 MB / 270 MB, free: 0.8125 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006339/0.000634, allocations: 12.22 kB / 327.5 MB, free: 29.68 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1011/0.1018, allocations: 47.79 MB / 375.3 MB, free: 13.81 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica_StateGraph2.Examples.Interactive.UseRadioButtonSources): time 0.002799/0.1046, allocations: 1.167 MB / 376.5 MB, free: 12.63 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002096/0.1068, allocations: 0.6832 MB / 377.1 MB, free: 11.94 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.793e-05/0.1069, allocations: 0 / 377.1 MB, free: 11.94 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001428/0.1071, allocations: 7.922 kB / 377.2 MB, free: 11.93 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 9.964e-05/0.1072, allocations: 23.89 kB / 377.2 MB, free: 11.91 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001246/0.1085, allocations: 203.5 kB / 377.4 MB, free: 11.71 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002521/0.1087, allocations: 107.8 kB / 377.5 MB, free: 11.6 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.009e-05/0.1088, allocations: 13.39 kB / 377.5 MB, free: 11.59 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000112/0.1089, allocations: 47.89 kB / 377.5 MB, free: 11.54 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000141/0.1091, allocations: 63.73 kB / 377.6 MB, free: 11.48 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.387e-05/0.1091, allocations: 8 kB / 377.6 MB, free: 11.47 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003868/0.1095, allocations: 115.9 kB / 377.7 MB, free: 11.36 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001528/0.1097, allocations: 43.89 kB / 377.8 MB, free: 11.32 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001056/0.1098, allocations: 57.64 kB / 377.8 MB, free: 11.25 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005023/0.1104, allocations: 203.8 kB / 378 MB, free: 11.05 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.1104, allocations: 4 kB / 378 MB, free: 11.05 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1104, allocations: 0 / 378 MB, free: 11.05 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.236e-06/0.1104, allocations: 0 / 378 MB, free: 11.05 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001009/0.1114, allocations: 0.6661 MB / 378.7 MB, free: 10.28 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.634e-05/0.1115, allocations: 12.03 kB / 378.7 MB, free: 10.27 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.202e-05/0.1116, allocations: 38.56 kB / 378.7 MB, free: 10.22 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001092/0.1117, allocations: 27.77 kB / 378.8 MB, free: 10.2 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004488/0.1122, allocations: 218.9 kB / 379 MB, free: 9.941 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.019e-05/0.1122, allocations: 8 kB / 379 MB, free: 9.934 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.272e-05/0.1123, allocations: 20 kB / 379 MB, free: 9.914 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005992/0.113, allocations: 171.8 kB / 379.2 MB, free: 9.742 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.113, allocations: 0 / 379.2 MB, free: 9.742 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.617e-05/0.1131, allocations: 8 kB / 379.2 MB, free: 9.734 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-05/0.1131, allocations: 11.94 kB / 379.2 MB, free: 9.723 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003462/0.1135, allocations: 83.95 kB / 379.3 MB, free: 9.641 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007891/0.1143, allocations: 376.5 kB / 379.6 MB, free: 9.223 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007958/0.1151, allocations: 406 kB / 380 MB, free: 8.762 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.783e-05/0.1151, allocations: 0 / 380 MB, free: 8.762 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001038/0.1162, allocations: 0.4945 MB / 380.5 MB, free: 8.199 MB / 282.7 MB Notification: Performance of pre-optimization done (n=36): time 5.58e-06/0.1162, allocations: 112 / 380.5 MB, free: 8.199 MB / 282.7 MB Notification: Performance of matching and sorting (n=36): time 0.002428/0.1187, allocations: 1.112 MB / 381.6 MB, free: 6.934 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000396/0.1191, allocations: 480.9 kB / 382.1 MB, free: 6.359 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000287/0.1194, allocations: 158 kB / 382.3 MB, free: 6.191 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001227/0.1195, allocations: 53.69 kB / 382.3 MB, free: 6.133 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001031/0.1197, allocations: 101.1 kB / 382.4 MB, free: 6.031 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000156/0.1198, allocations: 75.09 kB / 382.5 MB, free: 5.957 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.913e-05/0.1199, allocations: 8 kB / 382.5 MB, free: 5.949 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000203/0.1201, allocations: 338.8 kB / 382.8 MB, free: 5.609 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004506/0.1206, allocations: 128.5 kB / 383 MB, free: 5.484 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005648/0.1212, allocations: 209.6 kB / 383.2 MB, free: 5.242 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007368/0.1219, allocations: 403.2 kB / 383.6 MB, free: 4.793 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.117e-06/0.1219, allocations: 4 kB / 383.6 MB, free: 4.789 MB / 282.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001771/0.1237, allocations: 0.6878 MB / 384.3 MB, free: 4.039 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002648/0.124, allocations: 267.2 kB / 384.5 MB, free: 3.723 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.554e-05/0.124, allocations: 4 kB / 384.5 MB, free: 3.719 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.816e-05/0.1241, allocations: 4 kB / 384.5 MB, free: 3.715 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.322e-05/0.1242, allocations: 24.11 kB / 384.5 MB, free: 3.691 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.703e-05/0.1242, allocations: 4 kB / 384.5 MB, free: 3.688 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003832/0.1246, allocations: 35.73 kB / 384.6 MB, free: 3.652 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.303e-05/0.1247, allocations: 20 kB / 384.6 MB, free: 3.633 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 60 ($PRE.start.pre_reset[1],$PRE.start.pre_reset[2],$PRE.stop.pre_reset[1],$PRE.stop.pre_reset[2],$PRE.shut.pre_reset[1],$PRE.shut.pre_reset[2],start.reset[2],stop.reset[2],$PRE.shut.on,shut.on,$PRE.start.on,start.on,stop.reset[1],shut.reset[1],start.reset[1],$PRE.stop.on,stop.on,shut.reset[2],$whenCondition9,$whenCondition11,$whenCondition10,$whenCondition12,$PRE.shut.reset[1],$PRE.shut.reset[2],$PRE.shut.table.y,shut.table.y,$PRE.shut.table.nextTime,shut.table.nextTime,$PRE.shut.table.index,shut.table.index,shut.pre_reset[1],shut.pre_reset[2],$whenCondition5,$whenCondition7,$whenCondition6,$whenCondition8,$PRE.stop.reset[1],$PRE.stop.reset[2],$PRE.stop.table.y,stop.table.y,$PRE.stop.table.nextTime,stop.table.nextTime,$PRE.stop.table.index,stop.table.index,stop.pre_reset[1],stop.pre_reset[2],$whenCondition1,$whenCondition3,$whenCondition2,$whenCondition4,$PRE.start.reset[1],$PRE.start.reset[2],$PRE.start.table.y,start.table.y,$PRE.start.table.nextTime,start.table.nextTime,$PRE.start.table.index,start.table.index,start.pre_reset[1],start.pre_reset[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 9 * 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.0006454/0.1254, allocations: 389 kB / 385 MB, free: 3.207 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001169/0.1255, allocations: 31.81 kB / 385 MB, free: 3.176 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.91e-05/0.1256, allocations: 13.92 kB / 385 MB, free: 3.156 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.065e-06/0.1256, allocations: 4 kB / 385 MB, free: 3.152 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.694e-06/0.1256, allocations: 0 / 385 MB, free: 3.152 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.444e-05/0.1256, allocations: 3.984 kB / 385 MB, free: 3.148 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002369/0.128, allocations: 1 MB / 386 MB, free: 2.055 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/0.128, allocations: 0 / 386 MB, free: 2.055 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.741e-05/0.1281, allocations: 3.953 kB / 386 MB, free: 2.051 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.702e-06/0.1281, allocations: 4 kB / 386 MB, free: 2.047 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.577e-05/0.1282, allocations: 19.98 kB / 386.1 MB, free: 2.027 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.628e-06/0.1282, allocations: 0 / 386.1 MB, free: 2.027 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.1282, allocations: 0 / 386.1 MB, free: 2.027 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001966/0.1302, allocations: 0.7471 MB / 386.8 MB, free: 1.227 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001048/0.1303, allocations: 89.06 kB / 386.9 MB, free: 1.121 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002037/0.1306, allocations: 47.86 kB / 386.9 MB, free: 1.074 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004183/0.131, allocations: 19.98 kB / 387 MB, free: 1.055 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001522/0.1312, allocations: 27.91 kB / 387 MB, free: 1.027 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.472e-05/0.1313, allocations: 16 kB / 387 MB, free: 1.012 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001809/0.1315, allocations: 118.9 kB / 387.1 MB, free: 0.8984 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.41e-07/0.1315, allocations: 0 / 387.1 MB, free: 0.8984 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001022/0.1325, allocations: 119.9 kB / 387.2 MB, free: 0.7812 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: 36 ($whenCondition1,$whenCondition3,$whenCondition2,$whenCondition4,$whenCondition5,$whenCondition7,$whenCondition6,$whenCondition8,$whenCondition9,$whenCondition11,$whenCondition10,$whenCondition12,start.reset[1],start.reset[2],start.on,start.table.y,start.table.nextTime,start.table.index,start.pre_reset[1],start.pre_reset[2],stop.reset[1],stop.reset[2],stop.on,stop.table.y,stop.table.nextTime,stop.table.index,stop.pre_reset[1],stop.pre_reset[2],shut.reset[1],shut.reset[2],shut.on,shut.table.y,shut.table.nextTime,shut.table.index,shut.pre_reset[1],shut.pre_reset[2]) * Number of discrete states: 36 (shut.table.y,shut.table.nextTime,shut.table.index,$whenCondition9,$whenCondition12,shut.on,$whenCondition11,$whenCondition10,shut.pre_reset[2],shut.pre_reset[1],shut.reset[1],shut.reset[2],stop.table.y,stop.table.nextTime,stop.table.index,$whenCondition5,$whenCondition8,stop.on,$whenCondition7,$whenCondition6,stop.pre_reset[2],stop.pre_reset[1],stop.reset[1],stop.reset[2],start.table.y,start.table.nextTime,start.table.index,$whenCondition1,$whenCondition4,start.on,$whenCondition3,$whenCondition2,start.pre_reset[2],start.pre_reset[1],start.reset[1],start.reset[2]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 6 * 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.004143/0.1367, allocations: 1.387 MB / 388.6 MB, free: 15.33 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001951/0.1387, allocations: 0.92 MB / 389.5 MB, free: 14.3 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.703e-06/0.1387, allocations: 4 kB / 389.5 MB, free: 14.3 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001121/0.1399, allocations: 0.6252 MB / 390.2 MB, free: 13.6 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003822/0.1403, allocations: 16 kB / 390.2 MB, free: 13.58 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006122/0.1464, allocations: 3.232 MB / 393.4 MB, free: 10.25 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005201/0.147, allocations: 0.7326 MB / 394.2 MB, free: 9.492 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001482/0.1472, allocations: 29.52 kB / 394.2 MB, free: 9.465 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001201/0.1473, allocations: 43.42 kB / 394.2 MB, free: 9.422 MB / 298.7 MB Notification: Performance of SimCode: time 1.222e-06/0.1473, allocations: 0 / 394.2 MB, free: 9.422 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09261/0.2399, allocations: 5.27 MB / 399.5 MB, free: 4.199 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003014/0.2403, allocations: 204.7 kB / 399.7 MB, free: 3.957 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.726/2.967, allocations: 3.938 kB / 399.7 MB, free: 3.953 MB / 298.7 MB