Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Blocks.Examples.Interaction1.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: translateModel(Modelica.Blocks.Examples.Interaction1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booleanTable.y|integerTable.y|start.on|start.reset.1.|stop.on|stop.reset.1.",fileNamePrefix="Modelica_3.2.1_Modelica.Blocks.Examples.Interaction1") Notification: Performance of loadModel(Modelica): time 1.924/1.924, allocations: 171.2 MB / 186.7 MB, free: 1.117 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000346/0.000346, allocations: 8 kB / 233.8 MB, free: 2.398 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07911/0.07948, allocations: 38.78 MB / 272.6 MB, free: 11.54 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Interaction1): time 0.002314/0.08185, allocations: 1.287 MB / 273.9 MB, free: 10.24 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002201/0.08409, allocations: 0.9553 MB / 274.9 MB, free: 9.277 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001089/0.08424, allocations: 11.88 kB / 274.9 MB, free: 9.266 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002444/0.0845, allocations: 75.81 kB / 274.9 MB, free: 9.191 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001581/0.08468, allocations: 79.81 kB / 275 MB, free: 9.113 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001594/0.08628, allocations: 347.2 kB / 275.4 MB, free: 8.773 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002798/0.08658, allocations: 147.8 kB / 275.5 MB, free: 8.629 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001259/0.08672, allocations: 37.45 kB / 275.5 MB, free: 8.59 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001363/0.08686, allocations: 87.78 kB / 275.6 MB, free: 8.504 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000228/0.0871, allocations: 119.6 kB / 275.8 MB, free: 8.387 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.177e-05/0.08716, allocations: 8 kB / 275.8 MB, free: 8.379 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005156/0.08769, allocations: 231.7 kB / 276 MB, free: 8.152 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001348/0.08784, allocations: 63.81 kB / 276 MB, free: 8.09 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 9.446e-05/0.08794, allocations: 65.58 kB / 276.1 MB, free: 8.02 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005328/0.08849, allocations: 303.7 kB / 276.4 MB, free: 7.723 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.08851, allocations: 4 kB / 276.4 MB, free: 7.719 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.08852, allocations: 3.938 kB / 276.4 MB, free: 7.715 MB / 234.7 MB Notification: Performance of Transformations before backend: time 7.454e-06/0.08854, allocations: 0 / 276.4 MB, free: 7.715 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001228/0.08978, allocations: 0.8038 MB / 277.2 MB, free: 6.801 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.223e-05/0.08984, allocations: 16.02 kB / 277.2 MB, free: 6.785 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.444e-05/0.08994, allocations: 27.72 kB / 277.3 MB, free: 6.758 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004201/0.09037, allocations: 262.5 kB / 277.5 MB, free: 6.457 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.773e-05/0.09043, allocations: 20.08 kB / 277.5 MB, free: 6.438 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.305e-05/0.0905, allocations: 24 kB / 277.6 MB, free: 6.414 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006125/0.09113, allocations: 260.3 kB / 277.8 MB, free: 6.133 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.09116, allocations: 7.938 kB / 277.8 MB, free: 6.125 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.868e-05/0.0912, allocations: 7.984 kB / 277.8 MB, free: 6.117 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.815e-05/0.09124, allocations: 4 kB / 277.8 MB, free: 6.113 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003629/0.09162, allocations: 135.9 kB / 278 MB, free: 5.98 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001166/0.0928, allocations: 0.9623 MB / 278.9 MB, free: 4.945 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005019/0.09332, allocations: 230.5 kB / 279.2 MB, free: 4.684 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.647e-05/0.09335, allocations: 8 kB / 279.2 MB, free: 4.676 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007875/0.09415, allocations: 0.508 MB / 279.7 MB, free: 4.094 MB / 234.7 MB Notification: Performance of pre-optimization done (n=32): time 5.01e-06/0.09417, allocations: 4 kB / 279.7 MB, free: 4.09 MB / 234.7 MB Notification: Performance of matching and sorting (n=32): time 0.002077/0.09626, allocations: 1.267 MB / 280.9 MB, free: 2.672 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002793/0.09656, allocations: 494.6 kB / 281.4 MB, free: 2.078 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004591/0.09703, allocations: 298.5 kB / 281.7 MB, free: 1.781 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 7.232e-05/0.09712, allocations: 45.69 kB / 281.8 MB, free: 1.73 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001483/0.09728, allocations: 140.7 kB / 281.9 MB, free: 1.59 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000103/0.09739, allocations: 83.08 kB / 282 MB, free: 1.508 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.846e-05/0.09743, allocations: 8 kB / 282 MB, free: 1.5 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001693/0.09761, allocations: 346.9 kB / 282.3 MB, free: 1.152 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003003/0.09792, allocations: 128.4 kB / 282.5 MB, free: 1.027 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003819/0.09832, allocations: 212.8 kB / 282.7 MB, free: 0.7812 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005086/0.09884, allocations: 441.2 kB / 283.1 MB, free: 296 kB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.09886, allocations: 0 / 283.1 MB, free: 296 kB / 234.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001365/0.1002, allocations: 0.7752 MB / 283.9 MB, free: 15.45 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002103/0.1005, allocations: 293 kB / 284.2 MB, free: 15.1 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/0.1005, allocations: 160 / 284.2 MB, free: 15.1 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.223e-05/0.1005, allocations: 12 kB / 284.2 MB, free: 15.09 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001272/0.1007, allocations: 15.92 kB / 284.2 MB, free: 15.07 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.498e-05/0.1007, allocations: 7.938 kB / 284.2 MB, free: 15.06 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002569/0.101, allocations: 39.78 kB / 284.2 MB, free: 15.02 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.766e-05/0.101, allocations: 23.94 kB / 284.2 MB, free: 15 MB / 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: 52 ($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,$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.0004945/0.1015, allocations: 387.9 kB / 284.6 MB, free: 14.57 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.406e-05/0.1016, allocations: 39.62 kB / 284.7 MB, free: 14.54 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.989e-05/0.1017, allocations: 30.17 kB / 284.7 MB, free: 14.51 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.1017, allocations: 0 / 284.7 MB, free: 14.51 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.1017, allocations: 0 / 284.7 MB, free: 14.51 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.509e-05/0.1019, allocations: 112.7 kB / 284.8 MB, free: 14.38 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001376/0.102, allocations: 27.95 kB / 284.8 MB, free: 14.35 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002736/0.1023, allocations: 23.98 kB / 284.9 MB, free: 14.33 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001197/0.1024, allocations: 31.95 kB / 284.9 MB, free: 14.3 MB / 250.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001904/0.1043, allocations: 1.384 MB / 286.3 MB, free: 12.79 MB / 250.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.00178/0.1061, allocations: 1.147 MB / 287.4 MB, free: 11.59 MB / 250.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005243/0.1067, allocations: 235.9 kB / 287.6 MB, free: 11.36 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0003262/0.107, allocations: 206 kB / 287.8 MB, free: 11.16 MB / 250.7 MB Notification: Performance of Backend: time 8.52e-07/0.1071, allocations: 4 kB / 287.9 MB, free: 11.15 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.00187/0.1089, allocations: 0.9572 MB / 288.8 MB, free: 10.07 MB / 250.7 MB Notification: Performance of SimCode: time 0.001556/0.1105, allocations: 1.264 MB / 290.1 MB, free: 8.68 MB / 250.7 MB Notification: Performance of Templates: time 0.01716/0.1277, allocations: 4.098 MB / 294.2 MB, free: 4.586 MB / 250.7 MB "" Variables in the reference:time,booleanTable.y,integerTable.y,start.on,start.reset[1],stop.on,stop.reset[1] Variables in the result:booleanTable.n,booleanTable.startValue,booleanTable.table[1],booleanTable.table[2],booleanTable.table[3],booleanTable.table[4],booleanTable.table[5],booleanTable.table[6],booleanTable.table[7],booleanTable.table[8],booleanTable.table[9],booleanTable.y,integerTable.n,integerTable.table[1,1],integerTable.table[1,2],integerTable.table[2,1],integerTable.table[2,2],integerTable.table[3,1],integerTable.table[3,2],integerTable.table[4,1],integerTable.table[4,2],integerTable.table[5,1],integerTable.table[5,2],integerTable.table[6,1],integerTable.table[6,2],integerTable.y,realValue.significantDigits,start.buttonTimeTable[1],start.buttonTimeTable[2],start.nReset,start.on,start.reset[1],start.table.n,start.table.startValue,start.table.table[1],start.table.table[2],stop.buttonTimeTable[1],stop.buttonTimeTable[2],stop.nReset,stop.on,stop.reset[1],stop.table.n,stop.table.startValue,stop.table.table[1],stop.table.table[2],time,timeTable.offset,timeTable.startTime,timeTable.table[1,1],timeTable.table[1,2],timeTable.table[2,1],timeTable.table[2,2],timeTable.table[3,1],timeTable.table[3,2],timeTable.table[4,1],timeTable.table[4,2],timeTable.table[5,1],timeTable.table[5,2],timeTable.table[6,1],timeTable.table[6,2],timeTable.table[7,1],timeTable.table[7,2]