Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.BooleanTable.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/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_cpp_ModelicaTest.Blocks.BooleanTable") Notification: Performance of loadModel(ModelicaTest): time 2.455/2.455, allocations: 234.9 MB / 250.5 MB, free: 9.551 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004384/0.0004387, allocations: 12 kB / 314.3 MB, free: 9.594 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2815/0.282, allocations: 54.86 MB / 369.2 MB, free: 10.57 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.BooleanTable): time 0.001986/0.284, allocations: 1.262 MB / 370.4 MB, free: 9.285 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001946/0.286, allocations: 1.028 MB / 371.5 MB, free: 8.254 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.332e-05/0.2861, allocations: 3.938 kB / 371.5 MB, free: 8.25 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 8.894e-05/0.2862, allocations: 7.922 kB / 371.5 MB, free: 8.242 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001057/0.2863, allocations: 27.89 kB / 371.5 MB, free: 8.215 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001689/0.288, allocations: 487 kB / 372 MB, free: 7.738 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001986/0.2882, allocations: 127.8 kB / 372.1 MB, free: 7.613 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.058e-05/0.2883, allocations: 13.55 kB / 372.1 MB, free: 7.602 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001129/0.2884, allocations: 87.78 kB / 372.2 MB, free: 7.516 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000135/0.2885, allocations: 87.66 kB / 372.3 MB, free: 7.43 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.023e-05/0.2886, allocations: 12 kB / 372.3 MB, free: 7.418 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005869/0.2892, allocations: 311.6 kB / 372.6 MB, free: 7.113 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.057e-05/0.2893, allocations: 23.92 kB / 372.6 MB, free: 7.09 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.38e-05/0.2894, allocations: 73.58 kB / 372.7 MB, free: 7.012 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005244/0.2899, allocations: 312.1 kB / 373 MB, free: 6.707 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.499e-06/0.2899, allocations: 0 / 373 MB, free: 6.707 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.769e-06/0.2899, allocations: 0 / 373 MB, free: 6.707 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.767e-06/0.29, allocations: 0 / 373 MB, free: 6.707 MB / 298.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.0008899/0.2909, allocations: 0.908 MB / 373.9 MB, free: 5.652 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.2909, allocations: 8.031 kB / 373.9 MB, free: 5.645 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.712e-05/0.291, allocations: 27.81 kB / 374 MB, free: 5.617 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001771/0.2912, allocations: 190.8 kB / 374.1 MB, free: 5.391 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.227e-05/0.2912, allocations: 12 kB / 374.1 MB, free: 5.379 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.126e-05/0.2913, allocations: 20 kB / 374.2 MB, free: 5.359 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004767/0.2918, allocations: 220.4 kB / 374.4 MB, free: 5.113 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.814e-06/0.2918, allocations: 3.938 kB / 374.4 MB, free: 5.109 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.323e-05/0.2919, allocations: 15.98 kB / 374.4 MB, free: 5.094 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.243e-05/0.2919, allocations: 7.953 kB / 374.4 MB, free: 5.086 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002646/0.2922, allocations: 103.8 kB / 374.5 MB, free: 4.984 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004271/0.2926, allocations: 331.6 kB / 374.8 MB, free: 4.59 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004608/0.2931, allocations: 273 kB / 375.1 MB, free: 4.25 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.681e-05/0.2931, allocations: 7.969 kB / 375.1 MB, free: 4.242 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007897/0.2939, allocations: 0.5229 MB / 375.6 MB, free: 3.633 MB / 298.7 MB Notification: Performance of pre-optimization done (n=32): time 2.863e-06/0.2939, allocations: 0 / 375.6 MB, free: 3.633 MB / 298.7 MB Notification: Performance of matching and sorting (n=32): time 0.002189/0.2961, allocations: 1.427 MB / 377.1 MB, free: 2.004 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004449/0.2966, allocations: 0.6782 MB / 377.7 MB, free: 1.172 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002221/0.2968, allocations: 178.3 kB / 377.9 MB, free: 0.9883 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.783e-05/0.2969, allocations: 49.69 kB / 378 MB, free: 0.9336 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001116/0.297, allocations: 163.2 kB / 378.1 MB, free: 0.7695 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001104/0.2972, allocations: 83.08 kB / 378.2 MB, free: 0.6875 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.125e-05/0.2972, allocations: 4 kB / 378.2 MB, free: 0.6836 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001714/0.2974, allocations: 326.8 kB / 378.5 MB, free: 364 kB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002501/0.2977, allocations: 96.78 kB / 378.6 MB, free: 264 kB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000286/0.298, allocations: 158.8 kB / 378.8 MB, free: 84 kB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005269/0.2985, allocations: 0.5148 MB / 379.3 MB, free: 15.47 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.133e-06/0.2985, allocations: 0 / 379.3 MB, free: 15.47 MB / 314.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001222/0.2998, allocations: 0.8324 MB / 380.1 MB, free: 14.53 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003202/0.3001, allocations: 455.2 kB / 380.6 MB, free: 13.99 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.207e-05/0.3001, allocations: 4 kB / 380.6 MB, free: 13.98 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/0.3001, allocations: 4 kB / 380.6 MB, free: 13.98 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.894e-05/0.3002, allocations: 7.938 kB / 380.6 MB, free: 13.97 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.555e-05/0.3002, allocations: 7.984 kB / 380.6 MB, free: 13.96 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002612/0.3005, allocations: 43.64 kB / 380.6 MB, free: 13.92 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.477e-05/0.3006, allocations: 23.98 kB / 380.7 MB, free: 13.9 MB / 314.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.0004639/0.3011, allocations: 420.6 kB / 381.1 MB, free: 13.43 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.606e-05/0.3012, allocations: 43.78 kB / 381.1 MB, free: 13.38 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.852e-05/0.3012, allocations: 8.938 kB / 381.1 MB, free: 13.37 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.204e-06/0.3012, allocations: 4 kB / 381.1 MB, free: 13.37 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.217e-06/0.3012, allocations: 4 kB / 381.1 MB, free: 13.36 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.879e-06/0.3013, allocations: 0 / 381.1 MB, free: 13.36 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003961/0.3017, allocations: 309.2 kB / 381.4 MB, free: 13.01 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.414e-06/0.3017, allocations: 4 kB / 381.4 MB, free: 13.01 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.2e-05/0.3017, allocations: 7.938 kB / 381.4 MB, free: 13 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.231e-06/0.3017, allocations: 4 kB / 381.4 MB, free: 13 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.479e-05/0.3018, allocations: 23.98 kB / 381.5 MB, free: 12.97 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.28e-06/0.3018, allocations: 7.938 kB / 381.5 MB, free: 12.96 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.88e-06/0.3018, allocations: 0 / 381.5 MB, free: 12.96 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001512/0.3034, allocations: 0.8673 MB / 382.3 MB, free: 12.01 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.076e-05/0.3035, allocations: 96.86 kB / 382.4 MB, free: 11.89 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001031/0.3036, allocations: 28 kB / 382.5 MB, free: 11.87 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003045/0.3039, allocations: 43.95 kB / 382.5 MB, free: 11.82 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000117/0.304, allocations: 35.92 kB / 382.5 MB, free: 11.79 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.295e-05/0.3041, allocations: 24.48 kB / 382.6 MB, free: 11.77 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001388/0.3042, allocations: 128.2 kB / 382.7 MB, free: 11.64 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.22e-07/0.3043, allocations: 0 / 382.7 MB, free: 11.64 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007023/0.305, allocations: 176 kB / 382.9 MB, free: 11.47 MB / 314.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.00065/0.3056, allocations: 287.5 kB / 383.1 MB, free: 11.18 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001451/0.3071, allocations: 1.19 MB / 384.3 MB, free: 9.797 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.459e-06/0.3071, allocations: 4 kB / 384.3 MB, free: 9.793 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008455/0.308, allocations: 0.71 MB / 385 MB, free: 8.984 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002291/0.3082, allocations: 20 kB / 385.1 MB, free: 8.965 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001108/0.3094, allocations: 0.5342 MB / 385.6 MB, free: 8.379 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004507/0.3098, allocations: 0.7367 MB / 386.3 MB, free: 7.617 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.134e-05/0.3099, allocations: 15.38 kB / 386.4 MB, free: 7.602 MB / 314.7 MB Notification: Performance of SimCode: time 1.634e-06/0.3099, allocations: 4 kB / 386.4 MB, free: 7.598 MB / 314.7 MB Notification: Performance of Templates: time 0.009267/0.3192, allocations: 4.34 MB / 390.7 MB, free: 3.262 MB / 314.7 MB make -j1 -f ModelicaTest_3.2.2_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.2_cpp_ModelicaTest.Blocks.BooleanTableCalcHelperMain.o OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.BooleanTableCalcHelperMain.cpp\nIn file included from OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.BooleanTableCalcHelperMain.cpp:33:\n./OMCppModelicaTest_3.2.2_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.2_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.2_cpp_ModelicaTest.Blocks.BooleanTableCalcHelperMain.o\' failed\nmake: *** [OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.BooleanTableCalcHelperMain.o] Error 1\n'