Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.556/2.556, allocations: 234.9 MB / 251.1 MB, free: 9.559 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004533/0.0004535, allocations: 12 kB / 314.9 MB, free: 9.625 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3643/0.3648, allocations: 54.87 MB / 369.8 MB, free: 10.75 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1563/0.5211, allocations: 81.84 MB / 451.6 MB, free: 8.797 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002576/0.5214, allocations: 67.97 kB / 451.7 MB, free: 8.73 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05212/0.5736, allocations: 9.397 MB / 461.1 MB, free: 15.31 MB / 394.7 MB Notification: Performance of FrontEnd: time 4.899e-06/0.5736, allocations: 3.984 kB / 461.1 MB, free: 15.31 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.225e-05/0.5737, allocations: 4 kB / 461.1 MB, free: 15.3 MB / 394.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.001936/0.5756, allocations: 0.689 MB / 461.8 MB, free: 14.57 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.242e-05/0.5757, allocations: 8.031 kB / 461.8 MB, free: 14.56 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001238/0.5758, allocations: 35.48 kB / 461.8 MB, free: 14.52 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005951/0.5764, allocations: 291.2 kB / 462.1 MB, free: 14.2 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.773e-05/0.5765, allocations: 12 kB / 462.1 MB, free: 14.18 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.631e-05/0.5766, allocations: 27.98 kB / 462.2 MB, free: 14.16 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00083/0.5774, allocations: 287.1 kB / 462.4 MB, free: 13.86 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.432e-05/0.5775, allocations: 0 / 462.4 MB, free: 13.86 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.84e-05/0.5775, allocations: 4 kB / 462.4 MB, free: 13.86 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.193e-05/0.5775, allocations: 7.953 kB / 462.5 MB, free: 13.85 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000758/0.5783, allocations: 235.8 kB / 462.7 MB, free: 13.62 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002056/0.5804, allocations: 0.7655 MB / 463.4 MB, free: 12.8 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008373/0.5812, allocations: 292.9 kB / 463.7 MB, free: 12.5 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.012e-05/0.5813, allocations: 4 kB / 463.7 MB, free: 12.49 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.852e-05/0.5814, allocations: 38.56 kB / 463.8 MB, free: 12.45 MB / 394.7 MB Notification: Performance of pre-optimization done (n=24): time 3.317e-06/0.5814, allocations: 3.938 kB / 463.8 MB, free: 12.44 MB / 394.7 MB Notification: Performance of matching and sorting (n=24): time 0.001845/0.5832, allocations: 0.5495 MB / 464.3 MB, free: 11.88 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.145e-05/0.5833, allocations: 85.11 kB / 464.4 MB, free: 11.78 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005823/0.5839, allocations: 344.5 kB / 464.8 MB, free: 11.44 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 8.431e-05/0.584, allocations: 33.7 kB / 464.8 MB, free: 11.4 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001504/0.5842, allocations: 207.2 kB / 465 MB, free: 11.2 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001313/0.5843, allocations: 94.56 kB / 465.1 MB, free: 11.1 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.68e-05/0.5844, allocations: 8 kB / 465.1 MB, free: 11.09 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001938/0.5846, allocations: 342.8 kB / 465.4 MB, free: 10.75 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007908/0.5854, allocations: 284.9 kB / 465.7 MB, free: 10.47 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000798/0.5862, allocations: 347.5 kB / 466 MB, free: 10.13 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008941/0.5871, allocations: 333.7 kB / 466.4 MB, free: 9.801 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.5871, allocations: 0 / 466.4 MB, free: 9.801 MB / 394.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001942/0.5891, allocations: 0.7505 MB / 467.1 MB, free: 9.047 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.862e-05/0.5892, allocations: 8 kB / 467.1 MB, free: 9.039 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.3e-05/0.5892, allocations: 4 kB / 467.1 MB, free: 9.035 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.771e-05/0.5892, allocations: 4 kB / 467.1 MB, free: 9.031 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009301/0.5902, allocations: 103.8 kB / 467.2 MB, free: 8.93 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.435e-05/0.5902, allocations: 4 kB / 467.2 MB, free: 8.926 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003786/0.5906, allocations: 63.12 kB / 467.3 MB, free: 8.863 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.296e-05/0.5907, allocations: 15.98 kB / 467.3 MB, free: 8.848 MB / 394.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.0004089/0.5911, allocations: 193.7 kB / 467.5 MB, free: 8.652 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001053/0.5912, allocations: 27.62 kB / 467.5 MB, free: 8.625 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001301/0.5914, allocations: 38.7 kB / 467.6 MB, free: 8.586 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.045e-06/0.5914, allocations: 4 kB / 467.6 MB, free: 8.582 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/0.5914, allocations: 4 kB / 467.6 MB, free: 8.578 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.5914, allocations: 0 / 467.6 MB, free: 8.578 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006366/0.5921, allocations: 345.3 kB / 467.9 MB, free: 8.191 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.5921, allocations: 0 / 467.9 MB, free: 8.191 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007746/0.5929, allocations: 47.91 kB / 468 MB, free: 8.145 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.645e-05/0.5929, allocations: 4 kB / 468 MB, free: 8.141 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.513e-05/0.593, allocations: 19.92 kB / 468 MB, free: 8.121 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.795e-06/0.593, allocations: 4 kB / 468 MB, free: 8.117 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.593, allocations: 0 / 468 MB, free: 8.117 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001827/0.5948, allocations: 0.7637 MB / 468.7 MB, free: 7.332 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001115/0.595, allocations: 100.9 kB / 468.8 MB, free: 7.215 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001037/0.5951, allocations: 23.98 kB / 468.9 MB, free: 7.191 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000388/0.5955, allocations: 11.98 kB / 468.9 MB, free: 7.18 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.675e-05/0.5956, allocations: 15.98 kB / 468.9 MB, free: 7.164 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.644e-05/0.5957, allocations: 4 kB / 468.9 MB, free: 7.16 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003813/0.5961, allocations: 227 kB / 469.1 MB, free: 6.941 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.5961, allocations: 0 / 469.1 MB, free: 6.941 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001319/0.5974, allocations: 283.6 kB / 469.4 MB, free: 6.664 MB / 394.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.0009542/0.5984, allocations: 290.9 kB / 469.7 MB, free: 6.367 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001866/0.6003, allocations: 0.7435 MB / 470.4 MB, free: 5.602 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.103e-06/0.6003, allocations: 0 / 470.4 MB, free: 5.602 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006278/0.6009, allocations: 195.8 kB / 470.6 MB, free: 5.41 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005675/0.6015, allocations: 41.02 kB / 470.7 MB, free: 5.371 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002222/0.6038, allocations: 1.084 MB / 471.7 MB, free: 4.254 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005154/0.6043, allocations: 0.8148 MB / 472.6 MB, free: 3.414 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002589/0.6046, allocations: 19.44 kB / 472.6 MB, free: 3.395 MB / 394.7 MB Notification: Performance of SimCode: time 1.262e-06/0.6046, allocations: 0 / 472.6 MB, free: 3.395 MB / 394.7 MB Notification: Performance of Templates: time 0.317/0.9216, allocations: 6.542 MB / 479.1 MB, free: 94.1 MB / 394.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/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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:1285:45: error: use of undeclared identifier \'_omcQ_24tmpVar0_\'; did you mean \'_omcQ_24tmpVar1_\'?\n _omcQ_24tmpVar1_ = std::abs(_omcQ_24tmpVar0_);\n ^~~~~~~~~~~~~~~~\n _omcQ_24tmpVar1_\n./OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.PadeDelay2Functions.cpp:1257:20: note: \'_omcQ_24tmpVar1_\' declared here\n double _omcQ_24tmpVar1_;\n ^\n./OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.PadeDelay2Functions.cpp:1327:45: error: use of undeclared identifier \'_omcQ_24tmpVar3_\'; did you mean \'_omcQ_24tmpVar4_\'?\n _omcQ_24tmpVar4_ = std::abs(_omcQ_24tmpVar3_);\n ^~~~~~~~~~~~~~~~\n _omcQ_24tmpVar4_\n./OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.PadeDelay2Functions.cpp:1299:20: note: \'_omcQ_24tmpVar4_\' declared here\n double _omcQ_24tmpVar4_;\n ^\n./OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.PadeDelay2Functions.cpp:1373:45: error: use of undeclared identifier \'_omcQ_24tmpVar6_\'; did you mean \'_omcQ_24tmpVar7_\'?\n _omcQ_24tmpVar7_ = std::abs(_omcQ_24tmpVar6_);\n ^~~~~~~~~~~~~~~~\n _omcQ_24tmpVar7_\n./OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.PadeDelay2Functions.cpp:1345:20: note: \'_omcQ_24tmpVar7_\' declared here\n double _omcQ_24tmpVar7_;\n ^\n./OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.PadeDelay2Functions.cpp:1415:46: error: use of undeclared identifier \'_omcQ_24tmpVar9_\'; did you mean \'_omcQ_24tmpVar10_\'?\n _omcQ_24tmpVar10_ = std::abs(_omcQ_24tmpVar9_);\n ^~~~~~~~~~~~~~~~\n _omcQ_24tmpVar10_\n./OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.PadeDelay2Functions.cpp:1387:20: note: \'_omcQ_24tmpVar10_\' declared here\n double _omcQ_24tmpVar10_;\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'