Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Blocks.Examples.Interaction1.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.Blocks.Examples.Interaction1,fileNamePrefix="Modelica_3_2_2_Modelica_Blocks_Examples_Interaction1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.935/1.935, allocations: 194.9 MB / 211.1 MB, free: 8.559 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004688/0.0004689, allocations: 12 kB / 264 MB, free: 3.5 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2832/0.2837, allocations: 44.51 MB / 308.5 MB, free: 12.78 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Interaction1): time 0.002315/0.2861, allocations: 1.308 MB / 309.9 MB, free: 11.46 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00224/0.2883, allocations: 0.9676 MB / 310.8 MB, free: 10.48 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.581e-05/0.2884, allocations: 11.94 kB / 310.8 MB, free: 10.47 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002369/0.2887, allocations: 71.81 kB / 310.9 MB, free: 10.4 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001711/0.2889, allocations: 83.8 kB / 311 MB, free: 10.32 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001513/0.2904, allocations: 347.3 kB / 311.3 MB, free: 9.98 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002775/0.2907, allocations: 155.7 kB / 311.5 MB, free: 9.828 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001154/0.2908, allocations: 29.61 kB / 311.5 MB, free: 9.797 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001535/0.291, allocations: 95.7 kB / 311.6 MB, free: 9.703 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000251/0.2913, allocations: 123.6 kB / 311.7 MB, free: 9.582 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.994e-05/0.2913, allocations: 8 kB / 311.7 MB, free: 9.574 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005632/0.2919, allocations: 231.7 kB / 312 MB, free: 9.348 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001457/0.292, allocations: 59.8 kB / 312 MB, free: 9.289 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001167/0.2922, allocations: 77.58 kB / 312.1 MB, free: 9.207 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005591/0.2927, allocations: 304.4 kB / 312.4 MB, free: 8.91 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.2928, allocations: 0 / 312.4 MB, free: 8.91 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2928, allocations: 3.938 kB / 312.4 MB, free: 8.906 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.2928, allocations: 0 / 312.4 MB, free: 8.906 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001102/0.2939, allocations: 0.804 MB / 313.2 MB, free: 7.992 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.2939, allocations: 11.97 kB / 313.2 MB, free: 7.98 MB / 250.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.542e-05/0.294, allocations: 50.55 kB / 313.3 MB, free: 7.922 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.289e-05/0.2941, allocations: 39.62 kB / 313.3 MB, free: 7.883 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004262/0.2946, allocations: 274.4 kB / 313.6 MB, free: 7.574 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.557e-05/0.2946, allocations: 12.19 kB / 313.6 MB, free: 7.562 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.833e-05/0.2947, allocations: 16 kB / 313.6 MB, free: 7.547 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006144/0.2953, allocations: 273.1 kB / 313.9 MB, free: 7.254 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.2954, allocations: 0 / 313.9 MB, free: 7.254 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.36e-05/0.2954, allocations: 15.97 kB / 313.9 MB, free: 7.238 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.627e-05/0.2954, allocations: 8 kB / 313.9 MB, free: 7.23 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003931/0.2959, allocations: 135.9 kB / 314 MB, free: 7.098 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001177/0.297, allocations: 0.974 MB / 315 MB, free: 6.051 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004969/0.2976, allocations: 234.5 kB / 315.2 MB, free: 5.785 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.761e-05/0.2976, allocations: 4.109 kB / 315.2 MB, free: 5.781 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008327/0.2984, allocations: 0.536 MB / 315.8 MB, free: 5.172 MB / 250.7 MB Notification: Performance of pre-optimization done (n=34): time 2.295e-06/0.2985, allocations: 0 / 315.8 MB, free: 5.172 MB / 250.7 MB Notification: Performance of matching and sorting (n=34): time 0.002093/0.3006, allocations: 1.256 MB / 317 MB, free: 3.762 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002985/0.3009, allocations: 494.6 kB / 317.5 MB, free: 3.168 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004365/0.3013, allocations: 294.6 kB / 317.8 MB, free: 2.867 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 7.28e-05/0.3014, allocations: 45.69 kB / 317.8 MB, free: 2.816 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001542/0.3016, allocations: 149 kB / 318 MB, free: 2.664 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001049/0.3017, allocations: 75.06 kB / 318 MB, free: 2.59 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.562e-05/0.3017, allocations: 12.06 kB / 318.1 MB, free: 2.578 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001724/0.3019, allocations: 346.8 kB / 318.4 MB, free: 2.23 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003103/0.3022, allocations: 132.4 kB / 318.5 MB, free: 2.102 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003944/0.3026, allocations: 225.6 kB / 318.7 MB, free: 1.848 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005585/0.3032, allocations: 433 kB / 319.2 MB, free: 1.363 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.3032, allocations: 4 kB / 319.2 MB, free: 1.359 MB / 250.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001365/0.3046, allocations: 0.7753 MB / 319.9 MB, free: 0.5156 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000241/0.3049, allocations: 294.5 kB / 320.2 MB, free: 172 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/0.3049, allocations: 4 kB / 320.2 MB, free: 168 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.549e-05/0.3049, allocations: 8.406 kB / 320.2 MB, free: 160 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001296/0.3051, allocations: 15.94 kB / 320.3 MB, free: 144 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.469e-05/0.3051, allocations: 7.984 kB / 320.3 MB, free: 136 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002555/0.3054, allocations: 39.72 kB / 320.3 MB, free: 96 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.996e-05/0.3054, allocations: 20 kB / 320.3 MB, free: 76 kB / 250.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: 53 ($PRE.start.pre_reset[1],$PRE.stop.pre_reset[1],$whenCondition9,$PRE.integerTable.y,integerTable.y,$PRE.integerTable.nextTime,integerTable.nextTime,$PRE.integerTable.index,integerTable.index,start.reset[1],$PRE.stop.on,stop.on,$PRE.start.on,start.on,stop.reset[1],$whenCondition6,$whenCondition7,$whenCondition8,$PRE.stop.reset[1],$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],$whenCondition3,$whenCondition4,$whenCondition5,$PRE.start.reset[1],$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],$whenCondition2,timeTable.a,timeTable.b,timeTable.last,$PRE.timeTable.nextEvent,timeTable.nextEvent,timeTable.nextEventScaled,$whenCondition1,$PRE.booleanTable.y,booleanTable.y,$PRE.booleanTable.nextTime,booleanTable.nextTime,$PRE.booleanTable.index,booleanTable.index,booleanValue.active,integerValue.number) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 10 * 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.0005092/0.3059, allocations: 411.8 kB / 320.7 MB, free: 15.62 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.123e-05/0.306, allocations: 39.62 kB / 320.8 MB, free: 15.59 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.878e-05/0.3061, allocations: 26.17 kB / 320.8 MB, free: 15.57 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.3061, allocations: 0 / 320.8 MB, free: 15.57 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/0.3061, allocations: 4 kB / 320.8 MB, free: 15.56 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.3062, allocations: 0 / 320.8 MB, free: 15.56 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001323/0.3075, allocations: 0.8172 MB / 321.6 MB, free: 14.66 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.3075, allocations: 0 / 321.6 MB, free: 14.66 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.23e-05/0.3076, allocations: 7.938 kB / 321.6 MB, free: 14.66 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.508e-06/0.3076, allocations: 0 / 321.6 MB, free: 14.66 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.628e-05/0.3076, allocations: 19.98 kB / 321.6 MB, free: 14.64 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.3077, allocations: 0 / 321.6 MB, free: 14.64 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/0.3077, allocations: 4.25 kB / 321.6 MB, free: 14.63 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001612/0.3093, allocations: 0.8643 MB / 322.5 MB, free: 13.7 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.895e-05/0.3094, allocations: 108.7 kB / 322.6 MB, free: 13.58 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001292/0.3095, allocations: 27.98 kB / 322.6 MB, free: 13.55 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000324/0.3099, allocations: 27.98 kB / 322.7 MB, free: 13.52 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000114/0.31, allocations: 19.97 kB / 322.7 MB, free: 13.5 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.653e-05/0.3101, allocations: 27.98 kB / 322.7 MB, free: 13.48 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003052/0.3104, allocations: 209.9 kB / 322.9 MB, free: 13.27 MB / 266.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.3104, allocations: 0 / 322.9 MB, free: 13.27 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007318/0.3112, allocations: 155.8 kB / 323.1 MB, free: 13.12 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 32 ($whenCondition1,booleanTable.y,booleanTable.nextTime,booleanTable.index,$whenCondition2,timeTable.a,timeTable.b,timeTable.last,timeTable.nextEvent,timeTable.nextEventScaled,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,start.reset[1],start.on,start.table.y,start.table.nextTime,start.table.index,start.pre_reset[1],stop.reset[1],stop.on,stop.table.y,stop.table.nextTime,stop.table.index,stop.pre_reset[1],$whenCondition9,integerTable.y,integerTable.nextTime,integerTable.index) * Number of discrete states: 30 (integerTable.index,integerTable.nextTime,stop.table.y,stop.table.nextTime,stop.table.index,$whenCondition6,$whenCondition8,stop.on,$whenCondition7,stop.pre_reset[1],stop.reset[1],start.table.y,start.table.nextTime,start.table.index,$whenCondition3,$whenCondition5,start.on,$whenCondition4,start.pre_reset[1],start.reset[1],timeTable.nextEvent,timeTable.last,timeTable.nextEventScaled,timeTable.b,timeTable.a,$whenCondition2,booleanTable.y,booleanTable.nextTime,booleanTable.index,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 0 * When equations: 3 * 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.002434/0.3136, allocations: 1.539 MB / 324.6 MB, free: 11.5 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001496/0.3151, allocations: 0.9822 MB / 325.6 MB, free: 10.4 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3151, allocations: 320 / 325.6 MB, free: 10.4 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009985/0.3162, allocations: 0.6135 MB / 326.2 MB, free: 9.711 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003374/0.3165, allocations: 24.88 kB / 326.2 MB, free: 9.684 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004641/0.3212, allocations: 2.205 MB / 328.4 MB, free: 7.391 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004712/0.3217, allocations: 0.7872 MB / 329.2 MB, free: 6.57 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.708e-05/0.3218, allocations: 21.53 kB / 329.3 MB, free: 6.551 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001363/0.3219, allocations: 79.41 kB / 329.3 MB, free: 6.477 MB / 266.7 MB Notification: Performance of SimCode: time 7.584e-06/0.3219, allocations: 4 kB / 329.3 MB, free: 6.473 MB / 266.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03059/0.3525, allocations: 6.906 MB / 336.2 MB, free: 15.6 MB / 282.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003455/0.3529, allocations: 161.9 kB / 336.4 MB, free: 15.36 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.529/2.882, allocations: 7.875 kB / 336.4 MB, free: 15.35 MB / 282.7 MB