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.00229/0.00229, allocations: 181.7 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.064/2.064, allocations: 205.2 MB / 219.4 MB, free: 14.29 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.00103/0.00103, allocations: 86.66 kB / 267.5 MB, free: 14.11 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2692/0.2692, allocations: 43.49 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.896e-05/2.898e-05, allocations: 4 kB / 425.3 MB, free: 23.39 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1144, allocations: 58.86 MB / 484.1 MB, free: 12.48 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4721/0.5866, allocations: 86.7 MB / 0.5575 GB, free: 0.9375 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002098/0.5869, allocations: 62.03 kB / 0.5575 GB, free: 0.9062 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05131/0.6382, allocations: 9.443 MB / 0.5667 GB, free: 8.691 MB / 378.7 MB Notification: Performance of FrontEnd: time 5.3e-06/0.6383, allocations: 0 / 0.5667 GB, free: 8.691 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.336e-05/0.6383, allocations: 11.94 kB / 0.5668 GB, free: 8.68 MB / 378.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.001748/0.6401, allocations: 0.6433 MB / 0.5674 GB, free: 8.008 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.954e-05/0.6401, allocations: 16.03 kB / 0.5674 GB, free: 7.992 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001086/0.6402, allocations: 31.53 kB / 0.5674 GB, free: 7.961 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005861/0.6408, allocations: 292.3 kB / 0.5677 GB, free: 7.652 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.281e-05/0.6409, allocations: 10.88 kB / 0.5677 GB, free: 7.645 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001008/0.641, allocations: 29.67 kB / 0.5677 GB, free: 7.625 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006538/0.6417, allocations: 257.2 kB / 0.568 GB, free: 7.422 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/0.6417, allocations: 0 / 0.568 GB, free: 7.422 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.008e-05/0.6417, allocations: 14.25 kB / 0.568 GB, free: 7.414 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.044e-06/0.6418, allocations: 4 kB / 0.568 GB, free: 7.41 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005521/0.6423, allocations: 210.4 kB / 0.5682 GB, free: 7.266 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00202/0.6444, allocations: 0.7617 MB / 0.569 GB, free: 6.555 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006713/0.6451, allocations: 273.4 kB / 0.5692 GB, free: 6.34 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000429/0.6455, allocations: 185.8 kB / 0.5694 GB, free: 6.211 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.045e-05/0.6456, allocations: 0 / 0.5694 GB, free: 6.211 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.213e-05/0.6456, allocations: 42.02 kB / 0.5694 GB, free: 6.164 MB / 378.7 MB Notification: Performance of pre-optimization done (n=24): time 2.445e-06/0.6457, allocations: 0 / 0.5694 GB, free: 6.164 MB / 378.7 MB Notification: Performance of matching and sorting (n=24): time 0.001096/0.6468, allocations: 381.4 kB / 0.5698 GB, free: 5.875 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.911e-05/0.6468, allocations: 81.14 kB / 0.5699 GB, free: 5.777 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005012/0.6474, allocations: 308.2 kB / 0.5702 GB, free: 5.523 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.602e-05/0.6474, allocations: 36.89 kB / 0.5702 GB, free: 5.488 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001363/0.6476, allocations: 204.6 kB / 0.5704 GB, free: 5.301 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001515/0.6478, allocations: 100.7 kB / 0.5705 GB, free: 5.215 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.239e-05/0.6478, allocations: 3.562 kB / 0.5705 GB, free: 5.215 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001632/0.648, allocations: 345 kB / 0.5708 GB, free: 4.883 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006313/0.6486, allocations: 271 kB / 0.5711 GB, free: 4.711 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006612/0.6493, allocations: 326.7 kB / 0.5714 GB, free: 4.492 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007399/0.6501, allocations: 316.4 kB / 0.5717 GB, free: 4.277 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.401e-06/0.6501, allocations: 0 / 0.5717 GB, free: 4.277 MB / 378.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002025/0.6521, allocations: 0.7193 MB / 0.5724 GB, free: 3.762 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.795e-05/0.6522, allocations: 11.94 kB / 0.5724 GB, free: 3.75 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-05/0.6522, allocations: 4 kB / 0.5724 GB, free: 3.746 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.466e-05/0.6523, allocations: 4 kB / 0.5724 GB, free: 3.742 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009754/0.6533, allocations: 95.44 kB / 0.5725 GB, free: 3.652 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.659e-05/0.6533, allocations: 8 kB / 0.5725 GB, free: 3.645 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003775/0.6537, allocations: 70.98 kB / 0.5726 GB, free: 3.578 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.25e-05/0.6538, allocations: 11.12 kB / 0.5726 GB, free: 3.57 MB / 378.7 MB Warning: Assuming fixed start value for the following 6 variables: padeDelay2a.x[3]:VARIABLE(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(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(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(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(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(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 () * 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.0002348/0.654, allocations: 140.9 kB / 0.5727 GB, free: 3.445 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001182/0.6541, allocations: 27.58 kB / 0.5728 GB, free: 3.418 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001266/0.6543, allocations: 39.33 kB / 0.5728 GB, free: 3.391 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.494e-06/0.6543, allocations: 8 kB / 0.5728 GB, free: 3.383 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.6543, allocations: 0 / 0.5728 GB, free: 3.383 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.6543, allocations: 0 / 0.5728 GB, free: 3.383 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006402/0.655, allocations: 346.9 kB / 0.5731 GB, free: 3.047 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.655, allocations: 0 / 0.5731 GB, free: 3.047 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008171/0.6558, allocations: 43.36 kB / 0.5732 GB, free: 3.008 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.487e-05/0.6559, allocations: 7.953 kB / 0.5732 GB, free: 3 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.122e-05/0.6559, allocations: 11.36 kB / 0.5732 GB, free: 2.992 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.003e-05/0.656, allocations: 7.938 kB / 0.5732 GB, free: 2.984 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.656, allocations: 0 / 0.5732 GB, free: 2.984 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00148/0.6575, allocations: 0.7218 MB / 0.5739 GB, free: 2.383 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001136/0.6576, allocations: 112.8 kB / 0.574 GB, free: 2.254 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.686e-05/0.6577, allocations: 10.44 kB / 0.574 GB, free: 2.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004119/0.6581, allocations: 15.36 kB / 0.574 GB, free: 2.238 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001087/0.6583, allocations: 27.78 kB / 0.5741 GB, free: 2.215 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.596e-05/0.6583, allocations: 4 kB / 0.5741 GB, free: 2.211 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000362/0.6587, allocations: 218.6 kB / 0.5743 GB, free: 2.035 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.6587, allocations: 0 / 0.5743 GB, free: 2.035 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001307/0.66, allocations: 273.8 kB / 0.5745 GB, free: 1.777 MB / 378.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 () * 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.00109/0.6611, allocations: 294.5 kB / 0.5748 GB, free: 1.488 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001608/0.6628, allocations: 0.7088 MB / 0.5755 GB, free: 0.957 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.654e-06/0.6629, allocations: 4 kB / 0.5755 GB, free: 0.9531 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004739/0.6633, allocations: 179.7 kB / 0.5757 GB, free: 0.832 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005951/0.6639, allocations: 43.83 kB / 0.5757 GB, free: 0.8008 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001892/0.6659, allocations: 0.8443 MB / 0.5766 GB, free: 28 kB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004964/0.6664, allocations: 0.8172 MB / 0.5773 GB, free: 15.19 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000269/0.6667, allocations: 23.44 kB / 0.5774 GB, free: 15.17 MB / 394.7 MB Notification: Performance of SimCode: time 1.112e-06/0.6667, allocations: 0 / 0.5774 GB, free: 15.17 MB / 394.7 MB Notification: Performance of Templates: time 0.01675/0.6835, allocations: 6.534 MB / 0.5838 GB, free: 8.707 MB / 394.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:41: error: use of undeclared identifier \'D_24tmpVar2_\'; did you mean \'D_24tmpVar3_\'?\n D_24tmpVar3_ = std::abs(D_24tmpVar2_);\n ^~~~~~~~~~~~\n D_24tmpVar3_\n./OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.PadeDelay2Functions.cpp:1257:20: note: \'D_24tmpVar3_\' declared here\n double D_24tmpVar3_;\n ^\n./OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.PadeDelay2Functions.cpp:1327:41: error: use of undeclared identifier \'D_24tmpVar5_\'; did you mean \'D_24tmpVar6_\'?\n D_24tmpVar6_ = std::abs(D_24tmpVar5_);\n ^~~~~~~~~~~~\n D_24tmpVar6_\n./OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.PadeDelay2Functions.cpp:1299:20: note: \'D_24tmpVar6_\' declared here\n double D_24tmpVar6_;\n ^\n./OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.PadeDelay2Functions.cpp:1373:41: error: use of undeclared identifier \'D_24tmpVar8_\'; did you mean \'D_24tmpVar9_\'?\n D_24tmpVar9_ = std::abs(D_24tmpVar8_);\n ^~~~~~~~~~~~\n D_24tmpVar9_\n./OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.PadeDelay2Functions.cpp:1345:20: note: \'D_24tmpVar9_\' declared here\n double D_24tmpVar9_;\n ^\n./OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.PadeDelay2Functions.cpp:1415:42: error: use of undeclared identifier \'D_24tmpVar11_\'; did you mean \'D_24tmpVar12_\'?\n D_24tmpVar12_ = std::abs(D_24tmpVar11_);\n ^~~~~~~~~~~~~\n D_24tmpVar12_\n./OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.PadeDelay2Functions.cpp:1387:20: note: \'D_24tmpVar12_\' declared here\n double D_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'