Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Blocks.BooleanTable.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/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.1_cpp_ModelicaTest.Blocks.BooleanTable") Notification: Performance of loadModel(ModelicaTest): time 1.97/1.97, allocations: 209.3 MB / 224.8 MB, free: 288 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004281/0.0004283, allocations: 8 kB / 282.5 MB, free: 9.656 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2803/0.2808, allocations: 48.7 MB / 331.2 MB, free: 6.465 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.BooleanTable): time 0.001662/0.2825, allocations: 1.25 MB / 332.4 MB, free: 5.836 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001671/0.2842, allocations: 1.021 MB / 333.5 MB, free: 5.16 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.055e-05/0.2843, allocations: 1.25 kB / 333.5 MB, free: 5.16 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 9.98e-05/0.2844, allocations: 16.95 kB / 333.5 MB, free: 5.148 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 9.772e-05/0.2845, allocations: 20.78 kB / 333.5 MB, free: 5.137 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001703/0.2862, allocations: 483.1 kB / 334 MB, free: 4.902 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002301/0.2865, allocations: 132.8 kB / 334.1 MB, free: 4.844 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.184e-05/0.2865, allocations: 8.594 kB / 334.1 MB, free: 4.844 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001027/0.2866, allocations: 86.64 kB / 334.2 MB, free: 4.812 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001279/0.2868, allocations: 84.12 kB / 334.3 MB, free: 4.781 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.273e-05/0.2868, allocations: 11.53 kB / 334.3 MB, free: 4.781 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005959/0.2874, allocations: 315.6 kB / 334.6 MB, free: 4.691 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.27e-05/0.2875, allocations: 29.39 kB / 334.6 MB, free: 4.68 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.423e-05/0.2876, allocations: 64.09 kB / 334.7 MB, free: 4.641 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005179/0.2881, allocations: 314.9 kB / 335 MB, free: 4.57 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.813e-06/0.2882, allocations: 1 kB / 335 MB, free: 4.57 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.542e-06/0.2882, allocations: 0 / 335 MB, free: 4.57 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.117e-05/0.2882, allocations: 0 / 335 MB, free: 4.57 MB / 266.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.0005945/0.2888, allocations: 0.8972 MB / 335.9 MB, free: 3.621 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.2888, allocations: 17.5 kB / 335.9 MB, free: 3.613 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.913e-05/0.2889, allocations: 25.41 kB / 335.9 MB, free: 3.605 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001143/0.2891, allocations: 195 kB / 336.1 MB, free: 3.387 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.079e-05/0.2891, allocations: 18.34 kB / 336.1 MB, free: 3.379 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.671e-05/0.2892, allocations: 21.78 kB / 336.2 MB, free: 3.375 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004281/0.2896, allocations: 229.3 kB / 336.4 MB, free: 3.23 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.683e-06/0.2896, allocations: 0 / 336.4 MB, free: 3.23 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.611e-05/0.2897, allocations: 12.84 kB / 336.4 MB, free: 3.227 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.036e-06/0.2897, allocations: 1.125 kB / 336.4 MB, free: 3.227 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000251/0.29, allocations: 106.9 kB / 336.5 MB, free: 3.188 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000322/0.2903, allocations: 331.3 kB / 336.8 MB, free: 2.887 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003478/0.2907, allocations: 278.3 kB / 337.1 MB, free: 2.613 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.214e-05/0.2907, allocations: 1.188 kB / 337.1 MB, free: 2.613 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005655/0.2913, allocations: 0.5235 MB / 337.6 MB, free: 2.113 MB / 266.7 MB Notification: Performance of pre-optimization done (n=32): time 2.547e-06/0.2913, allocations: 0 / 337.6 MB, free: 2.113 MB / 266.7 MB Notification: Performance of matching and sorting (n=32): time 0.001605/0.2929, allocations: 1.42 MB / 339 MB, free: 0.8359 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001535/0.2931, allocations: 0.6745 MB / 339.7 MB, free: 28 kB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002432/0.2933, allocations: 187.6 kB / 339.9 MB, free: 15.88 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.772e-05/0.2934, allocations: 42.3 kB / 339.9 MB, free: 15.84 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001119/0.2935, allocations: 166.6 kB / 340.1 MB, free: 15.68 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001095/0.2937, allocations: 80.83 kB / 340.2 MB, free: 15.61 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.645e-05/0.2937, allocations: 6 kB / 340.2 MB, free: 15.61 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001719/0.2939, allocations: 324.5 kB / 340.5 MB, free: 15.29 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002372/0.2941, allocations: 90.41 kB / 340.6 MB, free: 15.24 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003115/0.2945, allocations: 164.2 kB / 340.8 MB, free: 15.11 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005197/0.295, allocations: 0.5251 MB / 341.3 MB, free: 14.55 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.211e-06/0.295, allocations: 6.484 kB / 341.3 MB, free: 14.55 MB / 282.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0012/0.2962, allocations: 0.8205 MB / 342.1 MB, free: 13.87 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000317/0.2966, allocations: 453.2 kB / 342.5 MB, free: 13.34 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.654e-06/0.2966, allocations: 2.719 kB / 342.5 MB, free: 13.34 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.2966, allocations: 6.812 kB / 342.6 MB, free: 13.34 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.044e-05/0.2967, allocations: 9.141 kB / 342.6 MB, free: 13.34 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.328e-05/0.2967, allocations: 8.281 kB / 342.6 MB, free: 13.33 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002747/0.297, allocations: 44.86 kB / 342.6 MB, free: 13.31 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.465e-05/0.2971, allocations: 19.03 kB / 342.6 MB, free: 13.3 MB / 282.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.000479/0.2976, allocations: 424.2 kB / 343 MB, free: 12.89 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001605/0.2977, allocations: 36.23 kB / 343.1 MB, free: 12.88 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.815e-05/0.2978, allocations: 18.12 kB / 343.1 MB, free: 12.86 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.454e-06/0.2978, allocations: 2.781 kB / 343.1 MB, free: 12.86 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.36e-05/0.2979, allocations: 3.094 kB / 343.1 MB, free: 12.86 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.101e-05/0.2979, allocations: 9.266 kB / 343.1 MB, free: 12.85 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005854/0.2985, allocations: 303.1 kB / 343.4 MB, free: 12.55 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.457e-06/0.2985, allocations: 10.03 kB / 343.4 MB, free: 12.55 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.274e-06/0.2985, allocations: 6.391 kB / 343.4 MB, free: 12.54 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.199e-06/0.2986, allocations: 2.188 kB / 343.4 MB, free: 12.54 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.053e-05/0.2986, allocations: 26.84 kB / 343.5 MB, free: 12.53 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.161e-06/0.2986, allocations: 2.406 kB / 343.5 MB, free: 12.53 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.974e-06/0.2987, allocations: 10.19 kB / 343.5 MB, free: 12.52 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001558/0.3002, allocations: 0.8526 MB / 344.3 MB, free: 11.92 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.476e-05/0.3003, allocations: 95.8 kB / 344.4 MB, free: 11.82 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001155/0.3005, allocations: 34.75 kB / 344.4 MB, free: 11.8 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00031/0.3008, allocations: 46.12 kB / 344.5 MB, free: 11.79 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000123/0.3009, allocations: 29.52 kB / 344.5 MB, free: 11.77 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.548e-05/0.301, allocations: 19.56 kB / 344.5 MB, free: 11.77 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001523/0.3012, allocations: 134 kB / 344.7 MB, free: 11.66 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.058e-06/0.3012, allocations: 0 / 344.7 MB, free: 11.66 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0007967/0.302, allocations: 177.7 kB / 344.8 MB, free: 11.64 MB / 282.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.0006508/0.3026, allocations: 278.1 kB / 345.1 MB, free: 11.49 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.00145/0.3041, allocations: 1.185 MB / 346.3 MB, free: 10.32 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.163e-06/0.3041, allocations: 1.406 kB / 346.3 MB, free: 10.32 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008701/0.305, allocations: 0.7139 MB / 347 MB, free: 9.652 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002331/0.3053, allocations: 29.56 kB / 347 MB, free: 9.641 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001156/0.3064, allocations: 0.5265 MB / 347.6 MB, free: 9.238 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004394/0.3069, allocations: 0.7427 MB / 348.3 MB, free: 8.512 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.222e-05/0.3069, allocations: 13.03 kB / 348.3 MB, free: 8.504 MB / 282.7 MB Notification: Performance of SimCode: time 1.628e-06/0.307, allocations: 0 / 348.3 MB, free: 8.504 MB / 282.7 MB Notification: Performance of Templates: time 0.009194/0.3162, allocations: 4.351 MB / 352.7 MB, free: 6.234 MB / 282.7 MB make -j1 -f ModelicaTest_3.2.1_cpp_ModelicaTest.Blocks.BooleanTable.makefile b'clang++ -fopenmp=libomp -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_3.2.1_cpp_ModelicaTest.Blocks.BooleanTableCalcHelperMain.o OMCppModelicaTest_3.2.1_cpp_ModelicaTest.Blocks.BooleanTableCalcHelperMain.cpp\nIn file included from OMCppModelicaTest_3.2.1_cpp_ModelicaTest.Blocks.BooleanTableCalcHelperMain.cpp:33:\n./OMCppModelicaTest_3.2.1_cpp_ModelicaTest.Blocks.BooleanTable.cpp:192:37: error: use of undeclared identifier \'booleanTable4b_P_table_\'\n _booleanTable4b_P_nextTime_ = booleanTable4b_P_table_(_booleanTable4b_P_index_) /*stmtAssign*/;\n ^\n./OMCppModelicaTest_3.2.1_cpp_ModelicaTest.Blocks.BooleanTable.cpp:265:37: error: use of undeclared identifier \'booleanTable4a_P_table_\'\n _booleanTable4a_P_nextTime_ = booleanTable4a_P_table_(_booleanTable4a_P_index_) /*stmtAssign*/;\n ^\n2 errors generated.\n: recipe for target \'OMCppModelicaTest_3.2.1_cpp_ModelicaTest.Blocks.BooleanTableCalcHelperMain.o\' failed\nmake: *** [OMCppModelicaTest_3.2.1_cpp_ModelicaTest.Blocks.BooleanTableCalcHelperMain.o] Error 1\n'