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.PadeDelay2.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.PadeDelay2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|padeDelay1a.y|padeDelay1b.y|padeDelay2a.y|padeDelay2b.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.PadeDelay2") Notification: Performance of loadModel(ModelicaTest): time 2.182/2.182, allocations: 234.9 MB / 250.5 MB, free: 9.547 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004275/0.0004276, allocations: 8 kB / 314.3 MB, free: 9.598 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2949/0.2953, allocations: 54.87 MB / 369.2 MB, free: 10.73 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.002251/0.2977, allocations: 1.478 MB / 370.7 MB, free: 9.227 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002338/0.3, allocations: 1.291 MB / 371.9 MB, free: 7.934 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.314e-05/0.3001, allocations: 7.938 kB / 372 MB, free: 7.926 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001451/0.3003, allocations: 23.8 kB / 372 MB, free: 7.902 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 8.621e-05/0.3004, allocations: 35.88 kB / 372 MB, free: 7.867 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00152/0.3019, allocations: 435 kB / 372.4 MB, free: 7.441 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002705/0.3022, allocations: 163.7 kB / 372.6 MB, free: 7.281 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001286/0.3023, allocations: 40.27 kB / 372.6 MB, free: 7.242 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002311/0.3026, allocations: 111.7 kB / 372.7 MB, free: 7.133 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002398/0.3028, allocations: 151.5 kB / 372.9 MB, free: 6.984 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.49e-05/0.3029, allocations: 12 kB / 372.9 MB, free: 6.973 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001154/0.3041, allocations: 0.6239 MB / 373.5 MB, free: 6.348 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001517/0.3042, allocations: 103.8 kB / 373.6 MB, free: 6.246 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.233e-05/0.3043, allocations: 65.52 kB / 373.7 MB, free: 6.176 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001167/0.3055, allocations: 0.8231 MB / 374.5 MB, free: 5.352 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.547e-06/0.3055, allocations: 0 / 374.5 MB, free: 5.352 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.013e-06/0.3056, allocations: 0 / 374.5 MB, free: 5.352 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.101e-06/0.3056, allocations: 0 / 374.5 MB, free: 5.352 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001326/0.3069, allocations: 0.6854 MB / 375.2 MB, free: 4.617 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.307, allocations: 8.031 kB / 375.2 MB, free: 4.609 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001051/0.3071, allocations: 27.62 kB / 375.2 MB, free: 4.582 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004418/0.3075, allocations: 279.2 kB / 375.5 MB, free: 4.266 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.281e-05/0.3076, allocations: 8 kB / 375.5 MB, free: 4.258 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.111e-05/0.3077, allocations: 27.91 kB / 375.5 MB, free: 4.23 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006493/0.3083, allocations: 287.1 kB / 375.8 MB, free: 3.938 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.3084, allocations: 0 / 375.8 MB, free: 3.938 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.761e-05/0.3084, allocations: 11.94 kB / 375.8 MB, free: 3.926 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.531e-06/0.3084, allocations: 4 kB / 375.8 MB, free: 3.922 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005847/0.309, allocations: 227.8 kB / 376.1 MB, free: 3.699 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001623/0.3107, allocations: 0.7616 MB / 376.8 MB, free: 2.883 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006426/0.3113, allocations: 292.9 kB / 377.1 MB, free: 2.578 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.284e-05/0.3114, allocations: 8 kB / 377.1 MB, free: 2.57 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.625e-05/0.3114, allocations: 34.56 kB / 377.2 MB, free: 2.527 MB / 298.7 MB Notification: Performance of pre-optimization done (n=24): time 2.517e-06/0.3114, allocations: 0 / 377.2 MB, free: 2.527 MB / 298.7 MB Notification: Performance of matching and sorting (n=24): time 0.001424/0.3129, allocations: 0.5486 MB / 377.7 MB, free: 1.973 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.892e-05/0.313, allocations: 85.09 kB / 377.8 MB, free: 1.871 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004619/0.3134, allocations: 344.5 kB / 378.1 MB, free: 1.531 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.136e-05/0.3135, allocations: 37.7 kB / 378.2 MB, free: 1.488 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000151/0.3137, allocations: 199.2 kB / 378.4 MB, free: 1.293 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001159/0.3138, allocations: 102.6 kB / 378.5 MB, free: 1.191 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.155e-05/0.3138, allocations: 4 kB / 378.5 MB, free: 1.188 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001895/0.314, allocations: 342.8 kB / 378.8 MB, free: 0.8438 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006027/0.3146, allocations: 292.8 kB / 379.1 MB, free: 0.5586 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000672/0.3153, allocations: 347.4 kB / 379.4 MB, free: 216 kB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007199/0.3161, allocations: 337 kB / 379.7 MB, free: 15.88 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.729e-06/0.3161, allocations: 0 / 379.7 MB, free: 15.88 MB / 314.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001579/0.3177, allocations: 0.7447 MB / 380.5 MB, free: 15.13 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.906e-05/0.3177, allocations: 7.938 kB / 380.5 MB, free: 15.12 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.021e-05/0.3178, allocations: 7.984 kB / 380.5 MB, free: 15.11 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.966e-05/0.3178, allocations: 4 kB / 380.5 MB, free: 15.11 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006072/0.3184, allocations: 103.8 kB / 380.6 MB, free: 15.01 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.148e-05/0.3184, allocations: 4 kB / 380.6 MB, free: 15 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002692/0.3187, allocations: 71.05 kB / 380.7 MB, free: 14.93 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.426e-05/0.3188, allocations: 12 kB / 380.7 MB, free: 14.92 MB / 314.7 MB Warning: Assuming fixed start value for the following 6 variables: padeDelay2a.x[3]:VARIABLE(fixed = true final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [4] padeDelay2a.x[2]:VARIABLE(fixed = true final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [4] padeDelay2a.x[1]:VARIABLE(fixed = true final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [4] padeDelay1a.x[3]:VARIABLE(fixed = true final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [4] padeDelay1a.x[2]:VARIABLE(fixed = true final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [4] padeDelay1a.x[1]:VARIABLE(fixed = true final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [4] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0003368/0.3191, allocations: 185 kB / 380.9 MB, free: 14.73 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00012/0.3193, allocations: 31.61 kB / 380.9 MB, free: 14.7 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.749e-05/0.3194, allocations: 34.72 kB / 380.9 MB, free: 14.66 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.844e-06/0.3194, allocations: 4 kB / 380.9 MB, free: 14.66 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.089e-06/0.3194, allocations: 0 / 380.9 MB, free: 14.66 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/0.3194, allocations: 4 kB / 381 MB, free: 14.65 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005948/0.32, allocations: 341.2 kB / 381.3 MB, free: 14.27 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.32, allocations: 0 / 381.3 MB, free: 14.27 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004672/0.3205, allocations: 47.92 kB / 381.3 MB, free: 14.22 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.52e-06/0.3205, allocations: 4 kB / 381.3 MB, free: 14.22 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.486e-05/0.3206, allocations: 19.98 kB / 381.4 MB, free: 14.2 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.492e-06/0.3206, allocations: 4 kB / 381.4 MB, free: 14.2 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.52e-06/0.3206, allocations: 0 / 381.4 MB, free: 14.2 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001459/0.3221, allocations: 0.7699 MB / 382.1 MB, free: 13.41 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.566e-05/0.3222, allocations: 108.8 kB / 382.2 MB, free: 13.29 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.028e-05/0.3223, allocations: 16 kB / 382.3 MB, free: 13.27 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003017/0.3226, allocations: 11.98 kB / 382.3 MB, free: 13.26 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.752e-05/0.3227, allocations: 19.97 kB / 382.3 MB, free: 13.24 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.523e-05/0.3228, allocations: 8 kB / 382.3 MB, free: 13.23 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002979/0.3231, allocations: 223 kB / 382.5 MB, free: 13.02 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.09e-07/0.3231, allocations: 3.938 kB / 382.5 MB, free: 13.01 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000947/0.324, allocations: 248 kB / 382.8 MB, free: 12.77 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 16 (padeDelay2a.x[1],padeDelay2a.x[2],padeDelay2a.x[3],padeDelay2a.x[4],padeDelay2b.x[1],padeDelay2b.x[2],padeDelay2b.x[3],padeDelay2b.x[4],padeDelay1b.x[1],padeDelay1b.x[2],padeDelay1b.x[3],padeDelay1b.x[4],padeDelay1a.x[1],padeDelay1a.x[2],padeDelay1a.x[3],padeDelay1a.x[4]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * 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.0006394/0.3247, allocations: 255.1 kB / 383 MB, free: 12.51 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001428/0.3261, allocations: 0.7403 MB / 383.7 MB, free: 11.74 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.533e-06/0.3262, allocations: 0 / 383.7 MB, free: 11.74 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004575/0.3266, allocations: 192.9 kB / 383.9 MB, free: 11.55 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004213/0.3271, allocations: 40.95 kB / 384 MB, free: 11.52 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001822/0.3289, allocations: 1.086 MB / 385.1 MB, free: 10.4 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005712/0.3295, allocations: 0.8148 MB / 385.9 MB, free: 9.559 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001705/0.3297, allocations: 23.42 kB / 385.9 MB, free: 9.535 MB / 314.7 MB Notification: Performance of SimCode: time 1.555e-06/0.3297, allocations: 0 / 385.9 MB, free: 9.535 MB / 314.7 MB Notification: Performance of Templates: time 0.01263/0.3423, allocations: 6.522 MB / 392.4 MB, free: 3.031 MB / 314.7 MB make -j1 -f ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.PadeDelay2.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.PadeDelay2CalcHelperMain.o OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.PadeDelay2CalcHelperMain.cpp\nIn file included from OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.PadeDelay2CalcHelperMain.cpp:28:\n./OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.PadeDelay2Functions.cpp:155:49: error: use of undeclared identifier \'_omcQ_24i1_\'\n _omcQ_24tmpVar0_ = std::abs(As_(_omcQ_24i1_,i_));\n ^\n./OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.PadeDelay2Functions.cpp:197:49: error: use of undeclared identifier \'_omcQ_24i1_\'\n _omcQ_24tmpVar2_ = std::abs(Cs_(_omcQ_24i1_,i_));\n ^\n./OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.PadeDelay2Functions.cpp:243:52: error: use of undeclared identifier \'_omcQ_24i1_\'\n _omcQ_24tmpVar4_ = std::abs(As_(i_,_omcQ_24i1_));\n ^\n./OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.PadeDelay2Functions.cpp:285:52: error: use of undeclared identifier \'_omcQ_24i1_\'\n _omcQ_24tmpVar6_ = std::abs(Bs_(i_,_omcQ_24i1_));\n ^\n4 errors generated.\n: recipe for target \'OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.PadeDelay2CalcHelperMain.o\' failed\nmake: *** [OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.PadeDelay2CalcHelperMain.o] Error 1\n'