Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_ModelicaTest.Blocks.PadeDelay2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008058/0.0008059, allocations: 91.47 kB / 17.63 MB, free: 6.148 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.001098/0.001098, allocations: 176.9 kB / 18.52 MB, free: 5.316 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.562/1.562, allocations: 223.2 MB / 242.5 MB, free: 336 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2237/0.2237, allocations: 44.22 MB / 337.9 MB, free: 2.793 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003581/0.0003581, allocations: 8 kB / 410.3 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1433/0.1437, allocations: 61.91 MB / 472.2 MB, free: 13.74 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.001989/0.1457, allocations: 1.503 MB / 473.7 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001905/0.1477, allocations: 1.257 MB / 474.9 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.282e-05/0.1477, allocations: 0 / 474.9 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001363/0.1479, allocations: 19.84 kB / 474.9 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.503e-05/0.148, allocations: 23.8 kB / 475 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001351/0.1493, allocations: 478.6 kB / 475.4 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003034/0.1497, allocations: 251.3 kB / 475.7 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001327/0.1498, allocations: 32.3 kB / 475.7 MB, free: 10.17 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001609/0.15, allocations: 103.6 kB / 475.8 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002235/0.1502, allocations: 163.5 kB / 476 MB, free: 9.91 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.335e-05/0.1502, allocations: 12 kB / 476 MB, free: 9.898 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001/0.1512, allocations: 0.6901 MB / 476.7 MB, free: 9.207 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001461/0.1514, allocations: 95.7 kB / 476.8 MB, free: 9.113 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.262e-05/0.1515, allocations: 73.52 kB / 476.8 MB, free: 9.035 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001083/0.1526, allocations: 0.8305 MB / 477.7 MB, free: 8.203 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.1526, allocations: 0 / 477.7 MB, free: 8.203 MB / 350.1 MB Notification: Performance of FrontEnd: time 5.451e-06/0.1526, allocations: 4 kB / 477.7 MB, free: 8.199 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.548e-06/0.1527, allocations: 0 / 477.7 MB, free: 8.199 MB / 350.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.001281/0.1539, allocations: 0.6659 MB / 478.3 MB, free: 7.484 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.579e-05/0.154, allocations: 8.562 kB / 478.4 MB, free: 7.477 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.386e-05/0.1541, allocations: 39.52 kB / 478.4 MB, free: 7.438 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004359/0.1545, allocations: 279.2 kB / 478.7 MB, free: 7.125 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.481e-05/0.1546, allocations: 16 kB / 478.7 MB, free: 7.109 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.851e-05/0.1547, allocations: 31.84 kB / 478.7 MB, free: 7.078 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005891/0.1553, allocations: 279.2 kB / 479 MB, free: 6.793 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.476e-05/0.1553, allocations: 0 / 479 MB, free: 6.793 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.069e-05/0.1554, allocations: 7.938 kB / 479 MB, free: 6.785 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.332e-05/0.1554, allocations: 4 kB / 479 MB, free: 6.781 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004528/0.1558, allocations: 235.8 kB / 479.2 MB, free: 6.551 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001338/0.1572, allocations: 0.7617 MB / 480 MB, free: 5.734 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004459/0.1576, allocations: 297 kB / 480.3 MB, free: 5.426 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003108/0.158, allocations: 193.5 kB / 480.5 MB, free: 5.23 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.512e-05/0.158, allocations: 11.98 kB / 480.5 MB, free: 5.219 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.525e-05/0.1581, allocations: 38.5 kB / 480.5 MB, free: 5.172 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 1.202e-06/0.1581, allocations: 0 / 480.5 MB, free: 5.172 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.001055/0.1591, allocations: 0.5495 MB / 481.1 MB, free: 4.617 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.883e-05/0.1592, allocations: 85.05 kB / 481.1 MB, free: 4.516 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003734/0.1596, allocations: 348.4 kB / 481.5 MB, free: 4.164 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.028e-05/0.1596, allocations: 29.7 kB / 481.5 MB, free: 4.129 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001245/0.1598, allocations: 148.7 kB / 481.7 MB, free: 3.98 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.443e-05/0.1598, allocations: 98.55 kB / 481.8 MB, free: 3.883 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.978e-05/0.1599, allocations: 4 kB / 481.8 MB, free: 3.879 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001836/0.1601, allocations: 350.8 kB / 482.1 MB, free: 3.527 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004038/0.1605, allocations: 288.9 kB / 482.4 MB, free: 3.246 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004411/0.1609, allocations: 339.5 kB / 482.7 MB, free: 2.906 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004878/0.1614, allocations: 329.9 kB / 483 MB, free: 2.582 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.1614, allocations: 4 kB / 483 MB, free: 2.578 MB / 350.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001097/0.1625, allocations: 0.7645 MB / 483.8 MB, free: 1.809 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.195e-05/0.1626, allocations: 4 kB / 483.8 MB, free: 1.805 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.987e-05/0.1626, allocations: 8 kB / 483.8 MB, free: 1.797 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.333e-05/0.1626, allocations: 7.953 kB / 483.8 MB, free: 1.789 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005154/0.1632, allocations: 107.9 kB / 483.9 MB, free: 1.684 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.143e-05/0.1632, allocations: 0 / 483.9 MB, free: 1.684 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001953/0.1634, allocations: 63.12 kB / 484 MB, free: 1.621 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.316e-05/0.1634, allocations: 19.98 kB / 484 MB, free: 1.602 MB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002741/0.1637, allocations: 177.2 kB / 484.2 MB, free: 1.422 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.1e-05/0.1638, allocations: 31.56 kB / 484.2 MB, free: 1.391 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001191/0.1639, allocations: 46.69 kB / 484.3 MB, free: 1.348 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.1639, allocations: 4 kB / 484.3 MB, free: 1.344 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.059e-05/0.1639, allocations: 3.953 kB / 484.3 MB, free: 1.34 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.369e-06/0.1639, allocations: 0 / 484.3 MB, free: 1.34 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004292/0.1644, allocations: 333.3 kB / 484.6 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.1644, allocations: 0 / 484.6 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003266/0.1647, allocations: 55.97 kB / 484.7 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.085e-06/0.1647, allocations: 0 / 484.7 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.695e-05/0.1648, allocations: 15.98 kB / 484.7 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.1648, allocations: 0 / 484.7 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.1648, allocations: 0 / 484.7 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001007/0.1658, allocations: 0.7601 MB / 485.4 MB, free: 116 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.631e-05/0.1659, allocations: 105 kB / 485.5 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.698e-05/0.166, allocations: 15.98 kB / 485.5 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001989/0.1662, allocations: 11.98 kB / 485.6 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.358e-05/0.1663, allocations: 15.98 kB / 485.6 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.971e-05/0.1663, allocations: 7.953 kB / 485.6 MB, free: 15.94 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002206/0.1665, allocations: 227 kB / 485.8 MB, free: 15.72 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.1665, allocations: 3.938 kB / 485.8 MB, free: 15.71 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001111/0.1676, allocations: 251.7 kB / 486.1 MB, free: 15.47 MB / 366.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 (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.0005786/0.1682, allocations: 259.1 kB / 486.3 MB, free: 15.21 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00104/0.1693, allocations: 0.7364 MB / 487 MB, free: 14.45 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/0.1693, allocations: 0 / 487 MB, free: 14.45 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003151/0.1696, allocations: 203.7 kB / 487.2 MB, free: 14.25 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004719/0.1701, allocations: 33.08 kB / 487.3 MB, free: 14.21 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001401/0.1715, allocations: 1.073 MB / 488.3 MB, free: 13.1 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004375/0.172, allocations: 0.807 MB / 489.2 MB, free: 12.27 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001132/0.1721, allocations: 23.44 kB / 489.2 MB, free: 12.25 MB / 366.1 MB Notification: Performance of SimCode: time 2.01e-07/0.1721, allocations: 0 / 489.2 MB, free: 12.25 MB / 366.1 MB Notification: Performance of Templates: time 0.009134/0.1812, allocations: 6.341 MB / 495.5 MB, free: 5.969 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2.makefile clang++ NOTFOUND -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_4.0.0_ModelicaTest.Blocks.PadeDelay2CalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2CalcHelperMain.o] Error 1