Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.PadeDelay2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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.3_cpp_ModelicaTest.Blocks.PadeDelay2") 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.3_cpp_ModelicaTest.Blocks.PadeDelay2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001533/0.001537, allocations: 188.4 kB / 16.41 MB, free: 5.723 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.951/1.951, allocations: 205.4 MB / 222.5 MB, free: 9.121 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001114/0.001114, allocations: 91.55 kB / 270.9 MB, free: 8.363 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5632/0.5632, allocations: 43.55 MB / 362.7 MB, free: 51.95 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004774/0.0004775, allocations: 12 kB / 431.4 MB, free: 5.953 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1227/0.1233, allocations: 58.86 MB / 490.2 MB, free: 11.01 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4593/0.5826, allocations: 86.79 MB / 0.5635 GB, free: 15.76 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002544/0.5829, allocations: 63.98 kB / 0.5635 GB, free: 15.7 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05191/0.6348, allocations: 9.49 MB / 0.5728 GB, free: 6.238 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.6349, allocations: 0 / 0.5728 GB, free: 6.238 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.999e-05/0.6349, allocations: 4 kB / 0.5728 GB, free: 6.234 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.001968/0.6369, allocations: 0.6911 MB / 0.5735 GB, free: 5.496 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.332e-05/0.637, allocations: 12.02 kB / 0.5735 GB, free: 5.484 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001097/0.6371, allocations: 38.95 kB / 0.5735 GB, free: 5.449 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005691/0.6377, allocations: 294.1 kB / 0.5738 GB, free: 5.125 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.127e-05/0.6377, allocations: 18.92 kB / 0.5738 GB, free: 5.109 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001011/0.6378, allocations: 24 kB / 0.5739 GB, free: 5.086 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008019/0.6386, allocations: 267.2 kB / 0.5741 GB, free: 4.812 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.6387, allocations: 0 / 0.5741 GB, free: 4.812 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.174e-05/0.6387, allocations: 8 kB / 0.5741 GB, free: 4.805 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.676e-06/0.6387, allocations: 1.031 kB / 0.5741 GB, free: 4.805 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007904/0.6395, allocations: 239.8 kB / 0.5743 GB, free: 4.57 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002061/0.6416, allocations: 0.7655 MB / 0.5751 GB, free: 3.75 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007871/0.6424, allocations: 293 kB / 0.5754 GB, free: 3.445 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.116e-05/0.6425, allocations: 8.375 kB / 0.5754 GB, free: 3.438 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.12e-05/0.6426, allocations: 38.45 kB / 0.5754 GB, free: 3.391 MB / 394.7 MB Notification: Performance of pre-optimization done (n=24): time 3.506e-06/0.6426, allocations: 0 / 0.5754 GB, free: 3.391 MB / 394.7 MB Notification: Performance of matching and sorting (n=24): time 0.001804/0.6444, allocations: 0.552 MB / 0.576 GB, free: 2.832 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.745e-05/0.6445, allocations: 81.11 kB / 0.576 GB, free: 2.734 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005378/0.6451, allocations: 315.6 kB / 0.5763 GB, free: 2.426 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 7.866e-05/0.6451, allocations: 29.7 kB / 0.5764 GB, free: 2.391 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001503/0.6453, allocations: 207.2 kB / 0.5766 GB, free: 2.184 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001318/0.6455, allocations: 102.5 kB / 0.5767 GB, free: 2.082 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.195e-05/0.6455, allocations: 4 kB / 0.5767 GB, free: 2.078 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001707/0.6457, allocations: 346.8 kB / 0.577 GB, free: 1.73 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000756/0.6465, allocations: 284.8 kB / 0.5773 GB, free: 1.453 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008253/0.6473, allocations: 339.5 kB / 0.5776 GB, free: 1.117 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008834/0.6482, allocations: 329.9 kB / 0.5779 GB, free: 0.793 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/0.6482, allocations: 0 / 0.5779 GB, free: 0.793 MB / 394.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.00192/0.6502, allocations: 0.747 MB / 0.5786 GB, free: 44 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.184e-05/0.6502, allocations: 8 kB / 0.5786 GB, free: 36 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.858e-05/0.6503, allocations: 7.984 kB / 0.5787 GB, free: 28 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.01e-05/0.6503, allocations: 0 / 0.5787 GB, free: 28 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009772/0.6513, allocations: 103.9 kB / 0.5787 GB, free: 15.93 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.412e-05/0.6513, allocations: 4 kB / 0.5788 GB, free: 15.92 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003825/0.6517, allocations: 71.05 kB / 0.5788 GB, free: 15.85 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.257e-05/0.6518, allocations: 12 kB / 0.5788 GB, free: 15.84 MB / 410.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.0004014/0.6522, allocations: 183.9 kB / 0.579 GB, free: 15.65 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001094/0.6523, allocations: 31.48 kB / 0.579 GB, free: 15.62 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001345/0.6525, allocations: 38.72 kB / 0.5791 GB, free: 15.58 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.935e-06/0.6525, allocations: 4 kB / 0.5791 GB, free: 15.58 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/0.6525, allocations: 0 / 0.5791 GB, free: 15.58 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-06/0.6525, allocations: 0 / 0.5791 GB, free: 15.58 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006426/0.6532, allocations: 345.2 kB / 0.5794 GB, free: 15.19 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/0.6532, allocations: 2.094 kB / 0.5794 GB, free: 15.19 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007657/0.654, allocations: 51.97 kB / 0.5795 GB, free: 15.14 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.14e-05/0.654, allocations: 7.953 kB / 0.5795 GB, free: 15.13 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.731e-05/0.6541, allocations: 8 kB / 0.5795 GB, free: 15.12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.674e-06/0.6541, allocations: 4 kB / 0.5795 GB, free: 15.12 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/0.6541, allocations: 3.984 kB / 0.5795 GB, free: 15.12 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001868/0.656, allocations: 0.7707 MB / 0.5802 GB, free: 14.32 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001198/0.6561, allocations: 108.8 kB / 0.5803 GB, free: 14.2 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.969e-05/0.6562, allocations: 12 kB / 0.5804 GB, free: 14.18 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003971/0.6566, allocations: 11.98 kB / 0.5804 GB, free: 14.17 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.64e-05/0.6568, allocations: 19.97 kB / 0.5804 GB, free: 14.15 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.241e-05/0.6568, allocations: 15.98 kB / 0.5804 GB, free: 14.14 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003777/0.6572, allocations: 219.6 kB / 0.5806 GB, free: 13.93 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.6572, allocations: 3.938 kB / 0.5806 GB, free: 13.92 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001232/0.6585, allocations: 267.7 kB / 0.5809 GB, free: 13.66 MB / 410.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.001002/0.6595, allocations: 290.7 kB / 0.5811 GB, free: 13.36 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00184/0.6614, allocations: 0.7454 MB / 0.5819 GB, free: 12.6 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.923e-06/0.6614, allocations: 0 / 0.5819 GB, free: 12.6 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005852/0.662, allocations: 195.8 kB / 0.5821 GB, free: 12.41 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005696/0.6626, allocations: 41.06 kB / 0.5821 GB, free: 12.37 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002197/0.6648, allocations: 1.081 MB / 0.5832 GB, free: 11.26 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005383/0.6654, allocations: 0.8109 MB / 0.5839 GB, free: 10.43 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002657/0.6657, allocations: 23.44 kB / 0.584 GB, free: 10.4 MB / 410.7 MB Notification: Performance of SimCode: time 1.052e-06/0.6657, allocations: 4 kB / 0.584 GB, free: 10.4 MB / 410.7 MB Notification: Performance of Templates: time 0.01653/0.6822, allocations: 6.543 MB / 0.5904 GB, free: 3.902 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.PadeDelay2.makefile make -j1 -f ModelicaTest_3.2.3_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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.PadeDelay2CalcHelperMain.o OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.PadeDelay2CalcHelperMain.cpp\nIn file included from OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.PadeDelay2CalcHelperMain.cpp:28:\n./OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.PadeDelay2Functions.cpp:1285:45: error: use of undeclared identifier \'_omcQ_24tmpVar2_\'; did you mean \'_omcQ_24tmpVar3_\'?\n _omcQ_24tmpVar3_ = std::abs(_omcQ_24tmpVar2_);\n ^~~~~~~~~~~~~~~~\n _omcQ_24tmpVar3_\n./OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.PadeDelay2Functions.cpp:1257:20: note: \'_omcQ_24tmpVar3_\' declared here\n double _omcQ_24tmpVar3_;\n ^\n./OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.PadeDelay2Functions.cpp:1327:45: error: use of undeclared identifier \'_omcQ_24tmpVar5_\'; did you mean \'_omcQ_24tmpVar6_\'?\n _omcQ_24tmpVar6_ = std::abs(_omcQ_24tmpVar5_);\n ^~~~~~~~~~~~~~~~\n _omcQ_24tmpVar6_\n./OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.PadeDelay2Functions.cpp:1299:20: note: \'_omcQ_24tmpVar6_\' declared here\n double _omcQ_24tmpVar6_;\n ^\n./OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.PadeDelay2Functions.cpp:1373:45: error: use of undeclared identifier \'_omcQ_24tmpVar8_\'; did you mean \'_omcQ_24tmpVar9_\'?\n _omcQ_24tmpVar9_ = std::abs(_omcQ_24tmpVar8_);\n ^~~~~~~~~~~~~~~~\n _omcQ_24tmpVar9_\n./OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.PadeDelay2Functions.cpp:1345:20: note: \'_omcQ_24tmpVar9_\' declared here\n double _omcQ_24tmpVar9_;\n ^\n./OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.PadeDelay2Functions.cpp:1415:46: error: use of undeclared identifier \'_omcQ_24tmpVar11_\'; did you mean \'_omcQ_24tmpVar12_\'?\n _omcQ_24tmpVar12_ = std::abs(_omcQ_24tmpVar11_);\n ^~~~~~~~~~~~~~~~~\n _omcQ_24tmpVar12_\n./OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.PadeDelay2Functions.cpp:1387:20: note: \'_omcQ_24tmpVar12_\' declared here\n double _omcQ_24tmpVar12_;\n ^\n4 errors generated.\n: recipe for target \'OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.PadeDelay2CalcHelperMain.o\' failed\nmake: *** [OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.PadeDelay2CalcHelperMain.o] Error 1\n'