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.16/2.16, allocations: 234.9 MB / 250.5 MB, free: 9.43 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004344/0.0004345, allocations: 12 kB / 314.4 MB, free: 9.445 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2762/0.2767, allocations: 54.86 MB / 369.3 MB, free: 10.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1248/0.4015, allocations: 81.85 MB / 451.1 MB, free: 8.738 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002125/0.4018, allocations: 63.97 kB / 451.2 MB, free: 8.676 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04471/0.4465, allocations: 9.385 MB / 460.6 MB, free: 15.27 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.996e-06/0.4466, allocations: 4 kB / 460.6 MB, free: 15.26 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.877e-05/0.4466, allocations: 12 kB / 460.6 MB, free: 15.25 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.001483/0.4481, allocations: 0.6929 MB / 461.3 MB, free: 14.51 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.4482, allocations: 8.031 kB / 461.3 MB, free: 14.5 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.744e-05/0.4483, allocations: 35.48 kB / 461.3 MB, free: 14.46 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004992/0.4488, allocations: 287.2 kB / 461.6 MB, free: 14.14 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.82e-05/0.4488, allocations: 16 kB / 461.6 MB, free: 14.12 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.172e-05/0.4489, allocations: 24 kB / 461.6 MB, free: 14.1 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006719/0.4496, allocations: 283.1 kB / 461.9 MB, free: 13.81 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.4496, allocations: 0 / 461.9 MB, free: 13.81 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.767e-05/0.4497, allocations: 7.984 kB / 461.9 MB, free: 13.8 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.988e-06/0.4497, allocations: 7.953 kB / 461.9 MB, free: 13.8 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006205/0.4503, allocations: 235.8 kB / 462.2 MB, free: 13.57 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001676/0.452, allocations: 0.7616 MB / 462.9 MB, free: 12.75 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006307/0.4527, allocations: 296.9 kB / 463.2 MB, free: 12.44 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.7e-05/0.4527, allocations: 7.969 kB / 463.2 MB, free: 12.43 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.603e-05/0.4528, allocations: 38.56 kB / 463.3 MB, free: 12.39 MB / 394.7 MB Notification: Performance of pre-optimization done (n=24): time 3.102e-06/0.4528, allocations: 0 / 463.3 MB, free: 12.39 MB / 394.7 MB Notification: Performance of matching and sorting (n=24): time 0.001458/0.4543, allocations: 0.5496 MB / 463.8 MB, free: 11.83 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.098e-05/0.4544, allocations: 77.11 kB / 463.9 MB, free: 11.73 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004566/0.4548, allocations: 311.7 kB / 464.2 MB, free: 11.43 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.859e-05/0.4549, allocations: 33.7 kB / 464.2 MB, free: 11.39 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001523/0.4551, allocations: 203.2 kB / 464.4 MB, free: 11.19 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001163/0.4552, allocations: 102.6 kB / 464.5 MB, free: 11.09 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.226e-05/0.4552, allocations: 7.938 kB / 464.5 MB, free: 11.08 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000189/0.4554, allocations: 342.8 kB / 464.9 MB, free: 10.73 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006165/0.4561, allocations: 284.9 kB / 465.1 MB, free: 10.46 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006564/0.4567, allocations: 347.5 kB / 465.5 MB, free: 10.11 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007428/0.4575, allocations: 333.7 kB / 465.8 MB, free: 9.785 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.332e-06/0.4575, allocations: 4 kB / 465.8 MB, free: 9.781 MB / 394.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.00161/0.4591, allocations: 0.7402 MB / 466.5 MB, free: 9.039 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/0.4592, allocations: 8 kB / 466.6 MB, free: 9.031 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.323e-05/0.4592, allocations: 8 kB / 466.6 MB, free: 9.023 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.4592, allocations: 0 / 466.6 MB, free: 9.023 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006165/0.4599, allocations: 103.9 kB / 466.7 MB, free: 8.922 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.092e-05/0.4599, allocations: 3.938 kB / 466.7 MB, free: 8.918 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002704/0.4602, allocations: 67.12 kB / 466.7 MB, free: 8.852 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.908e-05/0.4602, allocations: 15.98 kB / 466.7 MB, free: 8.836 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.0003513/0.4606, allocations: 191 kB / 466.9 MB, free: 8.645 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001087/0.4607, allocations: 23.62 kB / 467 MB, free: 8.621 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000108/0.4609, allocations: 42.7 kB / 467 MB, free: 8.57 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.876e-06/0.4609, allocations: 4 kB / 467 MB, free: 8.566 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.4609, allocations: 0 / 467 MB, free: 8.566 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.203e-06/0.4609, allocations: 0 / 467 MB, free: 8.566 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005926/0.4615, allocations: 345.3 kB / 467.3 MB, free: 8.18 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.498e-06/0.4615, allocations: 4 kB / 467.3 MB, free: 8.176 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005151/0.462, allocations: 47.97 kB / 467.4 MB, free: 8.129 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.849e-06/0.4621, allocations: 3.938 kB / 467.4 MB, free: 8.125 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.476e-05/0.4621, allocations: 15.98 kB / 467.4 MB, free: 8.109 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.949e-06/0.4622, allocations: 3.938 kB / 467.4 MB, free: 8.105 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.912e-06/0.4622, allocations: 4 kB / 467.4 MB, free: 8.102 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001509/0.4637, allocations: 0.784 MB / 468.2 MB, free: 7.293 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.829e-05/0.4638, allocations: 100.9 kB / 468.3 MB, free: 7.176 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.541e-05/0.4639, allocations: 19.98 kB / 468.3 MB, free: 7.156 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002967/0.4642, allocations: 8 kB / 468.3 MB, free: 7.148 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.466e-05/0.4643, allocations: 15.97 kB / 468.3 MB, free: 7.133 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.671e-05/0.4643, allocations: 12 kB / 468.4 MB, free: 7.121 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003219/0.4647, allocations: 219 kB / 468.6 MB, free: 6.91 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.65e-07/0.4647, allocations: 0 / 468.6 MB, free: 6.91 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001064/0.4658, allocations: 275.7 kB / 468.8 MB, free: 6.641 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.0007414/0.4665, allocations: 290.9 kB / 469.1 MB, free: 6.348 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00149/0.468, allocations: 0.7414 MB / 469.9 MB, free: 5.582 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.821e-06/0.4681, allocations: 0 / 469.9 MB, free: 5.582 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004689/0.4685, allocations: 203.8 kB / 470.1 MB, free: 5.383 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004648/0.469, allocations: 40.97 kB / 470.1 MB, free: 5.344 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001925/0.471, allocations: 1.079 MB / 471.2 MB, free: 4.234 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00057/0.4716, allocations: 0.8187 MB / 472 MB, free: 3.391 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001913/0.4718, allocations: 23.44 kB / 472 MB, free: 3.367 MB / 394.7 MB Notification: Performance of SimCode: time 1.888e-06/0.4718, allocations: 0 / 472 MB, free: 3.367 MB / 394.7 MB Notification: Performance of Templates: time 0.2547/0.7265, allocations: 6.537 MB / 478.6 MB, free: 94.18 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=2 -DSUNDIALS_MINOR_VERSION=6 -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: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'