Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Blocks.Examples.BooleanNetwork1.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.Blocks.Examples.BooleanNetwork1,fileNamePrefix="Modelica_3_2_1_Modelica_Blocks_Examples_BooleanNetwork1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.682/1.682, allocations: 171.2 MB / 186.1 MB, free: 1.121 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000371/0.000371, allocations: 12 kB / 233.3 MB, free: 2.277 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08198/0.0824, allocations: 38.77 MB / 272.1 MB, free: 11.43 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3467/0.4292, allocations: 69.87 MB / 342 MB, free: 3.055 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002389/0.4295, allocations: 74.45 kB / 342.1 MB, free: 3.016 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02368/0.4532, allocations: 5.004 MB / 347.1 MB, free: 14.67 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.986e-06/0.4532, allocations: 4 kB / 347.1 MB, free: 14.67 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.678e-05/0.4533, allocations: 15.98 kB / 347.1 MB, free: 14.65 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.00232/0.4557, allocations: 0.68 MB / 347.8 MB, free: 13.94 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.114e-05/0.4558, allocations: 12.03 kB / 347.8 MB, free: 13.93 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002124/0.456, allocations: 74.47 kB / 347.8 MB, free: 13.86 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002133/0.4562, allocations: 47.44 kB / 347.9 MB, free: 13.82 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009496/0.4572, allocations: 289.1 kB / 348.2 MB, free: 13.52 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001622/0.4574, allocations: 56.56 kB / 348.2 MB, free: 13.46 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001786/0.4576, allocations: 39.44 kB / 348.3 MB, free: 13.44 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00176/0.4594, allocations: 403.8 kB / 348.7 MB, free: 13.1 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.773e-05/0.4595, allocations: 11.86 kB / 348.7 MB, free: 13.09 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.063e-05/0.4595, allocations: 23.12 kB / 348.7 MB, free: 13.07 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.787e-05/0.4596, allocations: 8.438 kB / 348.7 MB, free: 13.07 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001198/0.4608, allocations: 248.2 kB / 349 MB, free: 12.89 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003667/0.4645, allocations: 1.571 MB / 350.5 MB, free: 11.4 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007524/0.4653, allocations: 273.1 kB / 350.8 MB, free: 11.17 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.474e-05/0.4654, allocations: 14.98 kB / 350.8 MB, free: 11.16 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006424/0.4661, allocations: 352.6 kB / 351.1 MB, free: 10.82 MB / 282.7 MB Notification: Performance of pre-optimization done (n=36): time 3.126e-06/0.4661, allocations: 4 kB / 351.2 MB, free: 10.81 MB / 282.7 MB Notification: Performance of matching and sorting (n=36): time 0.00153/0.4676, allocations: 0.6658 MB / 351.8 MB, free: 10.2 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001684/0.4678, allocations: 199.5 kB / 352 MB, free: 9.965 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004125/0.4683, allocations: 266 kB / 352.3 MB, free: 9.746 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.528e-05/0.4683, allocations: 39.08 kB / 352.3 MB, free: 9.711 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001762/0.4685, allocations: 191.1 kB / 352.5 MB, free: 9.555 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001071/0.4686, allocations: 77.84 kB / 352.6 MB, free: 9.488 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.129e-05/0.4687, allocations: 15.5 kB / 352.6 MB, free: 9.48 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001545/0.4689, allocations: 345.5 kB / 352.9 MB, free: 9.148 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003464/0.4692, allocations: 114.4 kB / 353 MB, free: 9.07 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004295/0.4697, allocations: 239 kB / 353.3 MB, free: 8.828 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004157/0.4701, allocations: 215.8 kB / 353.5 MB, free: 8.645 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.844e-06/0.4701, allocations: 4 kB / 353.5 MB, free: 8.641 MB / 282.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001213/0.4713, allocations: 0.5167 MB / 354 MB, free: 8.199 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.309e-05/0.4714, allocations: 89.72 kB / 354.1 MB, free: 8.094 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/0.4715, allocations: 4 kB / 354.1 MB, free: 8.09 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.488e-05/0.4715, allocations: 8 kB / 354.1 MB, free: 8.082 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001799/0.4717, allocations: 35.3 kB / 354.1 MB, free: 8.051 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.675e-05/0.4717, allocations: 7.984 kB / 354.1 MB, free: 8.043 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003404/0.4721, allocations: 47.33 kB / 354.2 MB, free: 8.004 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.753e-05/0.4721, allocations: 23.58 kB / 354.2 MB, free: 7.984 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 60 ($PRE.onDelay.u,$PRE.onDelay.t_next,$PRE.triggeredAdd.y,triggeredAdd.y,$whenCondition5,$whenCondition4,rSFlipFlop.Q,rSFlipFlop.QI,$PRE.rSFlipFlop.pre.u,rSFlipFlop.pre.u,rSFlipFlop.S,rSFlipFlop.R,$whenCondition1,$whenCondition2,$whenCondition3,onDelay.u,onDelay.y,onDelay.delaySignal,onDelay.t_next,$PRE.booleanTable.y,booleanTable.y,$PRE.booleanTable.nextTime,booleanTable.nextTime,$PRE.booleanTable.index,booleanTable.index,triggeredAdd.local_set,triggeredAdd.local_reset,$whenCondition6,and1.u[1],and1.u[2],$PRE.booleanPulse1.pulsStart,booleanPulse1.pulsStart,$PRE.booleanPulse2.pulsStart,booleanPulse2.pulsStart,or1.u[1],xor1.u[1],nand1.u[1],or2.u[1],nor1.y,$PRE.rising.u,rising.u,set1.u[1],set1.u[2],$PRE.set1.y,set1.y,set1.firstActiveIndex,$PRE.falling.not_u,falling.not_u,$PRE.changing.u,changing.u,changing.y,set1.expr[1],set1.expr[2],showValue6.active,showValue5.active,showValue1.number,showValue4.active,showValue3.active,showValue2.active,showValue.active) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 3 * 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.0003808/0.4725, allocations: 256.2 kB / 354.5 MB, free: 7.742 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.104e-05/0.4726, allocations: 35.62 kB / 354.5 MB, free: 7.707 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007042/0.4734, allocations: 247.4 kB / 354.7 MB, free: 7.52 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.027e-06/0.4734, allocations: 7.938 kB / 354.7 MB, free: 7.512 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.518e-06/0.4734, allocations: 7.984 kB / 354.8 MB, free: 7.504 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.565e-06/0.4734, allocations: 0 / 354.8 MB, free: 7.504 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001923/0.4754, allocations: 0.9884 MB / 355.7 MB, free: 6.613 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.4754, allocations: 0 / 355.7 MB, free: 6.613 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.999e-05/0.4755, allocations: 19.36 kB / 355.8 MB, free: 6.598 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.08e-05/0.4755, allocations: 4 kB / 355.8 MB, free: 6.594 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.172e-05/0.4755, allocations: 11.45 kB / 355.8 MB, free: 6.586 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.979e-06/0.4756, allocations: 4 kB / 355.8 MB, free: 6.582 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.4756, allocations: 0 / 355.8 MB, free: 6.582 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001148/0.4767, allocations: 0.6522 MB / 356.4 MB, free: 5.98 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.858e-05/0.4768, allocations: 103.9 kB / 356.5 MB, free: 5.863 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.003e-05/0.4769, allocations: 15.3 kB / 356.5 MB, free: 5.852 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003747/0.4773, allocations: 30.11 kB / 356.6 MB, free: 5.828 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001432/0.4775, allocations: 42.05 kB / 356.6 MB, free: 5.793 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.424e-05/0.4776, allocations: 15.44 kB / 356.6 MB, free: 5.781 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002362/0.4778, allocations: 179.3 kB / 356.8 MB, free: 5.633 MB / 282.7 MB Notification: Performance of sort global known variables: time 2.174e-06/0.4778, allocations: 0 / 356.8 MB, free: 5.633 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0007098/0.4785, allocations: 108 kB / 356.9 MB, free: 5.539 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 38 (onDelay.u,$whenCondition1,$whenCondition2,$whenCondition3,onDelay.y,onDelay.delaySignal,onDelay.t_next,booleanTable.y,booleanTable.nextTime,booleanTable.index,rSFlipFlop.Q,rSFlipFlop.QI,rSFlipFlop.pre.u,rSFlipFlop.S,rSFlipFlop.R,nor1.y,or2.u[1],changing.y,$cse1,$cse2,$whenCondition6,$whenCondition5,$whenCondition4,and1.u[1],and1.u[2],booleanPulse1.pulsStart,booleanPulse2.pulsStart,or1.u[1],xor1.u[1],nand1.u[1],rising.u,set1.u[1],set1.u[2],set1.y,set1.firstActiveIndex,falling.not_u,changing.u,triggeredAdd.y) * Number of discrete states: 14 (rising.u,falling.not_u,set1.y,changing.u,triggeredAdd.y,rSFlipFlop.pre.u,booleanTable.y,booleanTable.nextTime,booleanTable.index,$whenCondition3,onDelay.t_next,onDelay.delaySignal,$whenCondition2,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 2 * 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.001743/0.4803, allocations: 1.389 MB / 358.3 MB, free: 4.203 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001061/0.4814, allocations: 0.4932 MB / 358.8 MB, free: 3.762 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.4814, allocations: 0 / 358.8 MB, free: 3.762 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005389/0.482, allocations: 316.1 kB / 359.1 MB, free: 3.492 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005426/0.4825, allocations: 43.72 kB / 359.1 MB, free: 3.461 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005216/0.4877, allocations: 4.315 MB / 363.5 MB, free: 15.32 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004731/0.4883, allocations: 0.8109 MB / 364.3 MB, free: 14.49 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002764/0.4886, allocations: 59.17 kB / 364.3 MB, free: 14.44 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002242/0.4888, allocations: 121.8 kB / 364.5 MB, free: 14.4 MB / 298.7 MB Notification: Performance of SimCode: time 9.72e-07/0.4888, allocations: 0 / 364.5 MB, free: 14.4 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0368/0.5256, allocations: 6.572 MB / 371 MB, free: 7.895 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003448/0.526, allocations: 169 kB / 371.2 MB, free: 7.652 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.88/3.406, allocations: 0 / 371.2 MB, free: 7.652 MB / 298.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Blocks.Examples.BooleanNetwork1_res.mat does not exist to compare? outputFormat=mat