Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Blocks.BooleanTable.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Blocks.BooleanTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booleanTable1.index|booleanTable1.nextTime|booleanTable1.y|booleanTable2a.index|booleanTable2a.nextTime|booleanTable2a.y|booleanTable2b.index|booleanTable2b.nextTime|booleanTable2b.y|booleanTable3a.index|booleanTable3a.nextTime|booleanTable3a.y|booleanTable3b.index|booleanTable3b.nextTime|booleanTable3b.y|booleanTable3c.index|booleanTable3c.nextTime|booleanTable3c.y|booleanTable4a.index|booleanTable4a.nextTime|booleanTable4a.y|booleanTable4b.index|booleanTable4b.nextTime|booleanTable4b.y",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Blocks.BooleanTable") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002849/0.002849, allocations: 363.1 kB / 15.95 MB, free: 6.203 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 4.332/4.332, allocations: 388.9 MB / 405.6 MB, free: 9.594 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003672/0.003672, allocations: 226.4 kB / 451 MB, free: 145 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.6873/0.6873, allocations: 80.02 MB / 0.5627 GB, free: 19.77 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000452/0.0004522, allocations: 12 kB / 0.6265 GB, free: 96.55 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.1069, allocations: 54.87 MB / 0.6801 GB, free: 41.67 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4788/0.5858, allocations: 80.59 MB / 0.7588 GB, free: 4.711 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002522/0.5861, allocations: 64.22 kB / 0.7588 GB, free: 4.68 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02629/0.6124, allocations: 5.221 MB / 0.7639 GB, free: 15.97 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.036e-06/0.6124, allocations: 0 / 0.7639 GB, free: 15.97 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.688e-06/0.6125, allocations: 3.938 kB / 0.7639 GB, free: 15.96 MB / 362.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.001137/0.6136, allocations: 0.9094 MB / 0.7648 GB, free: 14.93 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.093e-05/0.6137, allocations: 8.031 kB / 0.7648 GB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001184/0.6138, allocations: 31.77 kB / 0.7649 GB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001958/0.614, allocations: 182.8 kB / 0.765 GB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.288e-05/0.6141, allocations: 15.56 kB / 0.7651 GB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.35e-05/0.6141, allocations: 16 kB / 0.7651 GB, free: 14.65 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000553/0.6147, allocations: 227.9 kB / 0.7653 GB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.6147, allocations: 0 / 0.7653 GB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.215e-05/0.6148, allocations: 11.5 kB / 0.7653 GB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.643e-06/0.6148, allocations: 0 / 0.7653 GB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002952/0.6151, allocations: 108.3 kB / 0.7654 GB, free: 14.35 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000444/0.6156, allocations: 328.9 kB / 0.7657 GB, free: 14 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004743/0.6161, allocations: 264.9 kB / 0.766 GB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003531/0.6164, allocations: 169.7 kB / 0.7661 GB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.625e-05/0.6164, allocations: 7.984 kB / 0.7661 GB, free: 13.56 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000779/0.6172, allocations: 0.5328 MB / 0.7667 GB, free: 13 MB / 362.7 MB Notification: Performance of pre-optimization done (n=32): time 3.006e-06/0.6173, allocations: 0 / 0.7667 GB, free: 13 MB / 362.7 MB Notification: Performance of matching and sorting (n=32): time 0.001896/0.6192, allocations: 0.783 MB / 0.7674 GB, free: 12.31 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004172/0.6196, allocations: 0.6754 MB / 0.7681 GB, free: 11.5 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002947/0.6199, allocations: 192.9 kB / 0.7683 GB, free: 11.33 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.974e-05/0.62, allocations: 45.44 kB / 0.7683 GB, free: 11.29 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.335e-05/0.6201, allocations: 102.7 kB / 0.7684 GB, free: 11.19 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001103/0.6203, allocations: 73.78 kB / 0.7685 GB, free: 11.13 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.823e-05/0.6203, allocations: 11.06 kB / 0.7685 GB, free: 11.13 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001567/0.6205, allocations: 334.4 kB / 0.7688 GB, free: 10.8 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002786/0.6208, allocations: 90.2 kB / 0.7689 GB, free: 10.74 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000335/0.6211, allocations: 168.8 kB / 0.7691 GB, free: 10.59 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005599/0.6217, allocations: 0.5205 MB / 0.7696 GB, free: 10.01 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.6217, allocations: 3.938 kB / 0.7696 GB, free: 10 MB / 362.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001403/0.6231, allocations: 0.8467 MB / 0.7704 GB, free: 9.148 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003164/0.6235, allocations: 453.1 kB / 0.7708 GB, free: 8.617 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.19e-05/0.6235, allocations: 4 kB / 0.7708 GB, free: 8.613 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.749e-05/0.6235, allocations: 4 kB / 0.7708 GB, free: 8.609 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.204e-05/0.6236, allocations: 11.94 kB / 0.7709 GB, free: 8.598 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.418e-05/0.6236, allocations: 4 kB / 0.7709 GB, free: 8.594 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003593/0.624, allocations: 37.66 kB / 0.7709 GB, free: 8.562 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.503e-05/0.6241, allocations: 22.73 kB / 0.7709 GB, free: 8.543 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 56 ($whenCondition8,$PRE.booleanTable1.y,booleanTable1.y,$PRE.booleanTable1.nextTime,booleanTable1.nextTime,$PRE.booleanTable1.index,booleanTable1.index,$whenCondition7,$PRE.booleanTable2a.y,booleanTable2a.y,$PRE.booleanTable2a.nextTime,booleanTable2a.nextTime,$PRE.booleanTable2a.index,booleanTable2a.index,$whenCondition6,$PRE.booleanTable2b.y,booleanTable2b.y,$PRE.booleanTable2b.nextTime,booleanTable2b.nextTime,$PRE.booleanTable2b.index,booleanTable2b.index,$whenCondition5,$PRE.booleanTable3a.y,booleanTable3a.y,$PRE.booleanTable3a.nextTime,booleanTable3a.nextTime,$PRE.booleanTable3a.index,booleanTable3a.index,$whenCondition4,$PRE.booleanTable3b.y,booleanTable3b.y,$PRE.booleanTable3b.nextTime,booleanTable3b.nextTime,$PRE.booleanTable3b.index,booleanTable3b.index,$whenCondition3,$PRE.booleanTable3c.y,booleanTable3c.y,$PRE.booleanTable3c.nextTime,booleanTable3c.nextTime,$PRE.booleanTable3c.index,booleanTable3c.index,$whenCondition2,$PRE.booleanTable4a.y,booleanTable4a.y,$PRE.booleanTable4a.nextTime,booleanTable4a.nextTime,$PRE.booleanTable4a.index,booleanTable4a.index,$whenCondition1,$PRE.booleanTable4b.y,booleanTable4b.y,$PRE.booleanTable4b.nextTime,booleanTable4b.nextTime,$PRE.booleanTable4b.index,booleanTable4b.index) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 16 * 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.0005313/0.6246, allocations: 434.9 kB / 0.7713 GB, free: 8.09 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000108/0.6248, allocations: 35.8 kB / 0.7714 GB, free: 8.055 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.876e-05/0.6248, allocations: 20.88 kB / 0.7714 GB, free: 8.035 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.96e-06/0.6248, allocations: 0 / 0.7714 GB, free: 8.035 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.157e-06/0.6248, allocations: 4 kB / 0.7714 GB, free: 8.031 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.6249, allocations: 0 / 0.7714 GB, free: 8.031 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003739/0.6252, allocations: 313 kB / 0.7717 GB, free: 7.711 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.6253, allocations: 0 / 0.7717 GB, free: 7.711 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.719e-06/0.6253, allocations: 4 kB / 0.7717 GB, free: 7.707 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.364e-06/0.6253, allocations: 7.938 kB / 0.7717 GB, free: 7.699 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.247e-05/0.6254, allocations: 23.42 kB / 0.7717 GB, free: 7.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.015e-06/0.6254, allocations: 4 kB / 0.7717 GB, free: 7.676 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/0.6254, allocations: 0 / 0.7717 GB, free: 7.676 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001657/0.6271, allocations: 0.8593 MB / 0.7726 GB, free: 6.891 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.355e-05/0.6272, allocations: 100.8 kB / 0.7727 GB, free: 6.773 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001192/0.6273, allocations: 26.94 kB / 0.7727 GB, free: 6.754 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004504/0.6278, allocations: 39.97 kB / 0.7727 GB, free: 6.715 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001546/0.6279, allocations: 42.09 kB / 0.7728 GB, free: 6.684 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.846e-05/0.628, allocations: 27.41 kB / 0.7728 GB, free: 6.66 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001515/0.6282, allocations: 126.1 kB / 0.7729 GB, free: 6.551 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.6282, allocations: 4 kB / 0.7729 GB, free: 6.547 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009791/0.6292, allocations: 198.7 kB / 0.7731 GB, free: 6.359 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 32 ($whenCondition8,booleanTable1.y,booleanTable1.nextTime,booleanTable1.index,$whenCondition7,booleanTable2a.y,booleanTable2a.nextTime,booleanTable2a.index,$whenCondition6,booleanTable2b.y,booleanTable2b.nextTime,booleanTable2b.index,$whenCondition5,booleanTable3a.y,booleanTable3a.nextTime,booleanTable3a.index,$whenCondition4,booleanTable3b.y,booleanTable3b.nextTime,booleanTable3b.index,$whenCondition3,booleanTable3c.y,booleanTable3c.nextTime,booleanTable3c.index,$whenCondition2,booleanTable4a.y,booleanTable4a.nextTime,booleanTable4a.index,$whenCondition1,booleanTable4b.y,booleanTable4b.nextTime,booleanTable4b.index) * Number of discrete states: 32 (booleanTable4b.y,booleanTable4b.nextTime,booleanTable4b.index,$whenCondition1,booleanTable4a.y,booleanTable4a.nextTime,booleanTable4a.index,$whenCondition2,booleanTable3c.y,booleanTable3c.nextTime,booleanTable3c.index,$whenCondition3,booleanTable3b.y,booleanTable3b.nextTime,booleanTable3b.index,$whenCondition4,booleanTable3a.y,booleanTable3a.nextTime,booleanTable3a.index,$whenCondition5,booleanTable2b.y,booleanTable2b.nextTime,booleanTable2b.index,$whenCondition6,booleanTable2a.y,booleanTable2a.nextTime,booleanTable2a.index,$whenCondition7,booleanTable1.y,booleanTable1.nextTime,booleanTable1.index,$whenCondition8) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 8 * 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.000817/0.63, allocations: 286.6 kB / 0.7734 GB, free: 6.086 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001497/0.6315, allocations: 1.19 MB / 0.7745 GB, free: 4.812 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.6316, allocations: 0 / 0.7745 GB, free: 4.812 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00095/0.6325, allocations: 0.7143 MB / 0.7752 GB, free: 4.129 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003841/0.6329, allocations: 35.56 kB / 0.7753 GB, free: 4.098 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001239/0.6342, allocations: 0.4913 MB / 0.7757 GB, free: 3.625 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003696/0.6346, allocations: 0.7367 MB / 0.7765 GB, free: 2.859 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.992e-05/0.6347, allocations: 13.42 kB / 0.7765 GB, free: 2.848 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.084e-05/0.6347, allocations: 11.44 kB / 0.7765 GB, free: 2.836 MB / 362.7 MB Notification: Performance of SimCode: time 1.593e-06/0.6347, allocations: 0 / 0.7765 GB, free: 2.836 MB / 362.7 MB Notification: Performance of Templates: time 0.01439/0.6491, allocations: 4.901 MB / 0.7813 GB, free: 13.97 MB / 378.7 MB