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.002173/0.00218, allocations: 186.7 kB / 16.4 MB, free: 5.625 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.112/2.112, allocations: 205.4 MB / 222.5 MB, free: 13.75 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.001105/0.001105, allocations: 86.89 kB / 270.9 MB, free: 13.28 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.2862/0.2862, allocations: 43.54 MB / 362.7 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004789/0.0004791, allocations: 8 kB / 431.3 MB, free: 20.29 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1149/0.1154, allocations: 58.87 MB / 490.2 MB, free: 9.348 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.00275/0.1182, allocations: 1.488 MB / 491.7 MB, free: 7.844 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.003077/0.1213, allocations: 1.316 MB / 493 MB, free: 6.52 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001369/0.1215, allocations: 4 kB / 493 MB, free: 6.516 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000179/0.1217, allocations: 19.84 kB / 493 MB, free: 6.496 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001057/0.1218, allocations: 31.88 kB / 493.1 MB, free: 6.465 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002077/0.1239, allocations: 427.1 kB / 493.5 MB, free: 6.047 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004617/0.1244, allocations: 163.7 kB / 493.6 MB, free: 5.887 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001691/0.1246, allocations: 36.28 kB / 493.7 MB, free: 5.848 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003036/0.1249, allocations: 115.6 kB / 493.8 MB, free: 5.734 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003005/0.1253, allocations: 155.5 kB / 493.9 MB, free: 5.582 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 6.201e-05/0.1253, allocations: 12 kB / 494 MB, free: 5.57 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001631/0.127, allocations: 0.6278 MB / 494.6 MB, free: 4.941 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002279/0.1273, allocations: 99.77 kB / 494.7 MB, free: 4.844 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001105/0.1274, allocations: 69.5 kB / 494.8 MB, free: 4.77 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001736/0.1291, allocations: 0.8228 MB / 495.6 MB, free: 3.945 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.1292, allocations: 0 / 495.6 MB, free: 3.945 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.356e-06/0.1292, allocations: 0 / 495.6 MB, free: 3.945 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.464e-06/0.1292, allocations: 0 / 495.6 MB, free: 3.945 MB / 330.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.001845/0.1311, allocations: 0.6737 MB / 496.3 MB, free: 3.223 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.025e-05/0.1311, allocations: 16.02 kB / 496.3 MB, free: 3.207 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001157/0.1313, allocations: 35.48 kB / 496.3 MB, free: 3.172 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005033/0.1318, allocations: 283.1 kB / 496.6 MB, free: 2.852 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.505e-05/0.1318, allocations: 12 kB / 496.6 MB, free: 2.84 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.897e-05/0.1319, allocations: 27.98 kB / 496.6 MB, free: 2.812 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008168/0.1328, allocations: 271.2 kB / 496.9 MB, free: 2.535 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/0.1328, allocations: 0 / 496.9 MB, free: 2.535 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.992e-05/0.1328, allocations: 4 kB / 496.9 MB, free: 2.531 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.187e-06/0.1329, allocations: 8 kB / 496.9 MB, free: 2.523 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007493/0.1336, allocations: 231.8 kB / 497.1 MB, free: 2.297 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002028/0.1357, allocations: 0.7656 MB / 497.9 MB, free: 1.477 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008294/0.1365, allocations: 288.9 kB / 498.2 MB, free: 1.176 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.362e-05/0.1366, allocations: 7.953 kB / 498.2 MB, free: 1.168 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.743e-05/0.1367, allocations: 42.55 kB / 498.2 MB, free: 1.117 MB / 330.7 MB Notification: Performance of pre-optimization done (n=24): time 5.09e-06/0.1367, allocations: 3.984 kB / 498.2 MB, free: 1.113 MB / 330.7 MB Notification: Performance of matching and sorting (n=24): time 0.001799/0.1385, allocations: 0.5534 MB / 498.8 MB, free: 0.5547 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.957e-05/0.1386, allocations: 77.11 kB / 498.8 MB, free: 472 kB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005386/0.1391, allocations: 348.4 kB / 499.2 MB, free: 120 kB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.117e-05/0.1392, allocations: 29.7 kB / 499.2 MB, free: 84 kB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001702/0.1394, allocations: 207.2 kB / 499.4 MB, free: 15.88 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000132/0.1396, allocations: 106.5 kB / 499.5 MB, free: 15.77 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.695e-05/0.1396, allocations: 4 kB / 499.5 MB, free: 15.77 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001724/0.1398, allocations: 342.8 kB / 499.9 MB, free: 15.43 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000782/0.1406, allocations: 292.8 kB / 0.4884 GB, free: 15.14 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008153/0.1414, allocations: 343.3 kB / 0.4888 GB, free: 14.8 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009059/0.1423, allocations: 333.8 kB / 0.4891 GB, free: 14.47 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.1424, allocations: 0 / 0.4891 GB, free: 14.47 MB / 346.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001974/0.1444, allocations: 0.7568 MB / 0.4898 GB, free: 13.71 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.722e-05/0.1444, allocations: 8 kB / 0.4898 GB, free: 13.7 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.799e-05/0.1445, allocations: 4 kB / 0.4898 GB, free: 13.7 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.562e-05/0.1445, allocations: 8 kB / 0.4898 GB, free: 13.69 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009175/0.1454, allocations: 95.88 kB / 0.4899 GB, free: 13.59 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.393e-05/0.1455, allocations: 7.938 kB / 0.4899 GB, free: 13.59 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003531/0.1458, allocations: 67.2 kB / 0.49 GB, free: 13.52 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.685e-05/0.1459, allocations: 12 kB / 0.49 GB, free: 13.51 MB / 346.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.0003843/0.1463, allocations: 191 kB / 0.4902 GB, free: 13.32 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001111/0.1464, allocations: 31.56 kB / 0.4902 GB, free: 13.29 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000118/0.1465, allocations: 38.72 kB / 0.4903 GB, free: 13.25 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.745e-06/0.1466, allocations: 4 kB / 0.4903 GB, free: 13.24 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.104e-06/0.1466, allocations: 0 / 0.4903 GB, free: 13.24 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.348e-06/0.1466, allocations: 3.984 kB / 0.4903 GB, free: 13.24 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006325/0.1472, allocations: 337.3 kB / 0.4906 GB, free: 12.86 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-06/0.1473, allocations: 3.953 kB / 0.4906 GB, free: 12.86 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007745/0.1481, allocations: 43.97 kB / 0.4906 GB, free: 12.81 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.17e-05/0.1481, allocations: 4 kB / 0.4906 GB, free: 12.81 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.12e-05/0.1482, allocations: 15.98 kB / 0.4906 GB, free: 12.79 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.085e-05/0.1482, allocations: 8 kB / 0.4907 GB, free: 12.79 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.74e-05/0.1482, allocations: 3.938 kB / 0.4907 GB, free: 12.78 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001827/0.15, allocations: 0.7693 MB / 0.4914 GB, free: 11.99 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001026/0.1502, allocations: 104.8 kB / 0.4915 GB, free: 11.87 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.944e-05/0.1503, allocations: 19.98 kB / 0.4915 GB, free: 11.85 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003808/0.1507, allocations: 8 kB / 0.4915 GB, free: 11.84 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001067/0.1508, allocations: 19.97 kB / 0.4916 GB, free: 11.82 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.571e-05/0.1508, allocations: 4 kB / 0.4916 GB, free: 11.82 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003482/0.1512, allocations: 219 kB / 0.4918 GB, free: 11.61 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.1512, allocations: 4 kB / 0.4918 GB, free: 11.6 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.00112/0.1523, allocations: 256 kB / 0.492 GB, free: 11.35 MB / 346.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.0008608/0.1532, allocations: 258.9 kB / 0.4923 GB, free: 11.09 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001821/0.1551, allocations: 0.7402 MB / 0.493 GB, free: 10.32 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.151e-06/0.1551, allocations: 0 / 0.493 GB, free: 10.32 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005772/0.1557, allocations: 199.8 kB / 0.4932 GB, free: 10.12 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005992/0.1563, allocations: 33.03 kB / 0.4932 GB, free: 10.09 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002247/0.1586, allocations: 1.086 MB / 0.4943 GB, free: 8.977 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005597/0.1592, allocations: 0.8109 MB / 0.4951 GB, free: 8.141 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002508/0.1595, allocations: 23.44 kB / 0.4951 GB, free: 8.117 MB / 346.7 MB Notification: Performance of SimCode: time 1.553e-06/0.1595, allocations: 3.938 kB / 0.4951 GB, free: 8.113 MB / 346.7 MB Notification: Performance of Templates: time 0.01687/0.1764, allocations: 6.519 MB / 0.5015 GB, free: 1.621 MB / 346.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=5 -DSUNDIALS_MINOR_VERSION=4 -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:155:49: error: use of undeclared identifier \'_omcQ_24i1_\'\n _omcQ_24tmpVar2_ = std::abs(As_(_omcQ_24i1_,i_));\n ^\n./OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.PadeDelay2Functions.cpp:197:49: error: use of undeclared identifier \'_omcQ_24i1_\'\n _omcQ_24tmpVar4_ = std::abs(Cs_(_omcQ_24i1_,i_));\n ^\n./OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.PadeDelay2Functions.cpp:243:52: error: use of undeclared identifier \'_omcQ_24i1_\'\n _omcQ_24tmpVar6_ = std::abs(As_(i_,_omcQ_24i1_));\n ^\n./OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.PadeDelay2Functions.cpp:285:52: error: use of undeclared identifier \'_omcQ_24i1_\'\n _omcQ_24tmpVar8_ = std::abs(Bs_(i_,_omcQ_24i1_));\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'