Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_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_ModelicaTest.Blocks.PadeDelay2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001063/0.001063, allocations: 96.34 kB / 16.67 MB, free: 6.227 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001326/0.001326, allocations: 180.4 kB / 17.57 MB, free: 5.859 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.986/1.986, allocations: 205.4 MB / 223.8 MB, free: 13.07 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3019/0.3019, allocations: 43.6 MB / 315.6 MB, free: 416 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006144/0.0006143, allocations: 19.05 kB / 385.2 MB, free: 56.69 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1591/0.1598, allocations: 58.87 MB / 444.1 MB, free: 5.18 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.002754/0.1626, allocations: 1.536 MB / 445.6 MB, free: 3.629 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002755/0.1654, allocations: 1.421 MB / 447 MB, free: 2.199 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002514/0.1657, allocations: 7.938 kB / 447 MB, free: 2.191 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002267/0.1659, allocations: 27.78 kB / 447.1 MB, free: 2.164 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001411/0.1661, allocations: 23.84 kB / 447.1 MB, free: 2.141 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001782/0.1679, allocations: 487 kB / 447.6 MB, free: 1.664 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003829/0.1683, allocations: 263.4 kB / 447.8 MB, free: 1.406 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001793/0.1685, allocations: 48.17 kB / 447.9 MB, free: 1.355 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002455/0.1687, allocations: 91.67 kB / 448 MB, free: 1.266 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002741/0.169, allocations: 159.4 kB / 448.1 MB, free: 1.109 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.765e-05/0.1691, allocations: 12 kB / 448.1 MB, free: 1.098 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001353/0.1705, allocations: 0.7292 MB / 448.9 MB, free: 376 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002197/0.1707, allocations: 103.7 kB / 449 MB, free: 272 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002281/0.1709, allocations: 144.9 kB / 449.1 MB, free: 120 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001408/0.1723, allocations: 0.8342 MB / 449.9 MB, free: 15.28 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.1724, allocations: 4 kB / 449.9 MB, free: 15.27 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.296e-06/0.1724, allocations: 4 kB / 450 MB, free: 15.27 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.492e-05/0.1724, allocations: 3.938 kB / 450 MB, free: 15.27 MB / 334.1 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.001764/0.1742, allocations: 0.6738 MB / 450.6 MB, free: 14.54 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.536e-05/0.1742, allocations: 12.03 kB / 450.6 MB, free: 14.53 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001502/0.1744, allocations: 32.55 kB / 450.7 MB, free: 14.5 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004818/0.1749, allocations: 287.9 kB / 451 MB, free: 14.18 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.515e-05/0.1749, allocations: 12 kB / 451 MB, free: 14.16 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.271e-05/0.175, allocations: 24 kB / 451 MB, free: 14.14 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005816/0.1756, allocations: 287.1 kB / 451.3 MB, free: 13.85 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.545e-05/0.1756, allocations: 3.938 kB / 451.3 MB, free: 13.84 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.444e-05/0.1757, allocations: 8 kB / 451.3 MB, free: 13.84 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.337e-06/0.1757, allocations: 4 kB / 451.3 MB, free: 13.83 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004615/0.1762, allocations: 235.8 kB / 451.5 MB, free: 13.6 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001808/0.178, allocations: 0.7577 MB / 452.3 MB, free: 12.79 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005771/0.1786, allocations: 301.1 kB / 452.6 MB, free: 12.48 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000335/0.1789, allocations: 193.6 kB / 452.8 MB, free: 12.28 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.214e-05/0.179, allocations: 0 / 452.8 MB, free: 12.28 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.612e-05/0.1791, allocations: 46.48 kB / 452.8 MB, free: 12.23 MB / 334.1 MB Notification: Performance of pre-optimization done (n=24): time 2.494e-06/0.1791, allocations: 0 / 452.8 MB, free: 12.23 MB / 334.1 MB Notification: Performance of matching and sorting (n=24): time 0.001193/0.1803, allocations: 0.5401 MB / 453.3 MB, free: 11.68 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.406e-05/0.1803, allocations: 81.11 kB / 453.4 MB, free: 11.58 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003952/0.1807, allocations: 352.5 kB / 453.8 MB, free: 11.23 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.666e-05/0.1808, allocations: 33.7 kB / 453.8 MB, free: 11.2 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001121/0.1809, allocations: 136.8 kB / 453.9 MB, free: 11.06 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001083/0.181, allocations: 106.5 kB / 454 MB, free: 10.95 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001027/0.1811, allocations: 81.67 kB / 454.1 MB, free: 10.87 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001912/0.1813, allocations: 346.8 kB / 454.5 MB, free: 10.52 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004467/0.1818, allocations: 296.8 kB / 454.7 MB, free: 10.23 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005196/0.1823, allocations: 355 kB / 455.1 MB, free: 9.875 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003736/0.1861, allocations: 1.776 MB / 456.9 MB, free: 8.09 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.1861, allocations: 0 / 456.9 MB, free: 8.09 MB / 334.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001307/0.1874, allocations: 0.7775 MB / 457.6 MB, free: 7.305 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.503e-05/0.1874, allocations: 6.188 kB / 457.6 MB, free: 7.301 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.155e-05/0.1875, allocations: 4 kB / 457.7 MB, free: 7.297 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.861e-05/0.1875, allocations: 4 kB / 457.7 MB, free: 7.293 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005206/0.188, allocations: 103.9 kB / 457.8 MB, free: 7.191 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.27e-05/0.1881, allocations: 0 / 457.8 MB, free: 7.191 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003133/0.1884, allocations: 63.12 kB / 457.8 MB, free: 7.129 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.877e-05/0.1884, allocations: 16 kB / 457.8 MB, free: 7.113 MB / 334.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000336/0.1888, allocations: 192.9 kB / 458 MB, free: 6.918 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001841/0.189, allocations: 35.47 kB / 458.1 MB, free: 6.883 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001277/0.1891, allocations: 42.7 kB / 458.1 MB, free: 6.84 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.253e-06/0.1891, allocations: 4 kB / 458.1 MB, free: 6.836 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.097e-06/0.1892, allocations: 7.938 kB / 458.1 MB, free: 6.828 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.96e-06/0.1892, allocations: 0 / 458.1 MB, free: 6.828 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005041/0.1897, allocations: 329.4 kB / 458.4 MB, free: 6.457 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.678e-06/0.1897, allocations: 0 / 458.4 MB, free: 6.457 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003597/0.1901, allocations: 55.84 kB / 458.5 MB, free: 6.402 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/0.1901, allocations: 0 / 458.5 MB, free: 6.402 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.747e-05/0.1901, allocations: 15.98 kB / 458.5 MB, free: 6.387 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.766e-06/0.1901, allocations: 0 / 458.5 MB, free: 6.387 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.1901, allocations: 0 / 458.5 MB, free: 6.387 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001142/0.1913, allocations: 0.7562 MB / 459.3 MB, free: 5.609 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001009/0.1914, allocations: 112.8 kB / 459.4 MB, free: 5.48 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.994e-05/0.1915, allocations: 15.98 kB / 459.4 MB, free: 5.465 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002309/0.1917, allocations: 19.94 kB / 459.4 MB, free: 5.445 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.862e-05/0.1918, allocations: 19.97 kB / 459.4 MB, free: 5.426 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.085e-05/0.1918, allocations: 4 kB / 459.4 MB, free: 5.422 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002654/0.1921, allocations: 223 kB / 459.6 MB, free: 5.207 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1921, allocations: 0 / 459.6 MB, free: 5.207 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001174/0.1933, allocations: 252 kB / 459.9 MB, free: 4.961 MB / 334.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001162/0.1945, allocations: 258.9 kB / 460.1 MB, free: 4.695 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001329/0.1958, allocations: 0.7327 MB / 460.9 MB, free: 3.938 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.1958, allocations: 4 kB / 460.9 MB, free: 3.934 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003874/0.1962, allocations: 208.8 kB / 461.1 MB, free: 3.73 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005541/0.1968, allocations: 37.02 kB / 461.1 MB, free: 3.695 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001759/0.1986, allocations: 1.101 MB / 462.2 MB, free: 2.562 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004962/0.1991, allocations: 0.807 MB / 463 MB, free: 1.73 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001193/0.1992, allocations: 23.44 kB / 463.1 MB, free: 1.707 MB / 334.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1992, allocations: 0 / 463.1 MB, free: 1.707 MB / 334.1 MB Notification: Performance of Templates: time 0.01213/0.2113, allocations: 6.384 MB / 469.4 MB, free: 11.36 MB / 350.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2CalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2CalcHelperMain.o] Error 1