Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Blocks.PadeDelay2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001138/0.001138, allocations: 89.3 kB / 17.63 MB, free: 6.156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001397/0.001397, allocations: 197.7 kB / 18.54 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.474/1.474, allocations: 227.3 MB / 246.6 MB, free: 12.02 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2624/0.2624, allocations: 45.92 MB / 344.7 MB, free: 12.26 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002722/0.0002723, allocations: 8 kB / 418.6 MB, free: 20.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1292/0.1295, allocations: 63.47 MB / 482.1 MB, free: 5.434 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.002175/0.1317, allocations: 1.519 MB / 483.6 MB, free: 3.902 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002588/0.1343, allocations: 1.296 MB / 484.9 MB, free: 2.602 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001476/0.1345, allocations: 4 kB / 484.9 MB, free: 2.598 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001546/0.1347, allocations: 23.78 kB / 485 MB, free: 2.574 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000104/0.1348, allocations: 27.77 kB / 485 MB, free: 2.547 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001512/0.1363, allocations: 471.1 kB / 485.4 MB, free: 2.086 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002945/0.1366, allocations: 243.3 kB / 485.7 MB, free: 1.848 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001125/0.1368, allocations: 40.28 kB / 485.7 MB, free: 1.809 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001838/0.1369, allocations: 103.6 kB / 485.8 MB, free: 1.707 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001959/0.1371, allocations: 163.5 kB / 486 MB, free: 1.547 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.031e-05/0.1372, allocations: 12 kB / 486 MB, free: 1.535 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009741/0.1382, allocations: 0.6901 MB / 486.7 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001214/0.1383, allocations: 99.77 kB / 486.8 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.92e-05/0.1384, allocations: 65.52 kB / 486.8 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008376/0.1392, allocations: 0.8383 MB / 487.7 MB, free: 15.84 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.728e-06/0.1392, allocations: 0 / 487.7 MB, free: 15.84 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.938e-06/0.1392, allocations: 0 / 487.7 MB, free: 15.84 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.242e-06/0.1393, allocations: 3.938 kB / 487.7 MB, free: 15.83 MB / 366.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.001009/0.1403, allocations: 0.6776 MB / 488.4 MB, free: 15.11 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.1403, allocations: 8.031 kB / 488.4 MB, free: 15.1 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001583/0.1405, allocations: 51.45 kB / 488.4 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002834/0.1408, allocations: 275.2 kB / 488.7 MB, free: 14.74 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.643e-05/0.1408, allocations: 12 kB / 488.7 MB, free: 14.73 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.51e-05/0.1409, allocations: 27.91 kB / 488.7 MB, free: 14.7 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004519/0.1413, allocations: 283.6 kB / 489 MB, free: 14.41 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.164e-06/0.1413, allocations: 0 / 489 MB, free: 14.41 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.311e-05/0.1414, allocations: 4 kB / 489 MB, free: 14.41 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.1414, allocations: 8 kB / 489 MB, free: 14.4 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003791/0.1418, allocations: 226.2 kB / 489.2 MB, free: 14.18 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001079/0.1428, allocations: 0.7694 MB / 490 MB, free: 13.36 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004383/0.1433, allocations: 292.9 kB / 490.3 MB, free: 13.05 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002689/0.1436, allocations: 197.6 kB / 490.5 MB, free: 12.85 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.635e-05/0.1436, allocations: 4 kB / 490.5 MB, free: 12.85 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.246e-05/0.1436, allocations: 42.89 kB / 490.5 MB, free: 12.8 MB / 366.1 MB Notification: Performance of pre-optimization done (n=24): time 4.459e-06/0.1437, allocations: 3.984 kB / 490.5 MB, free: 12.79 MB / 366.1 MB Notification: Performance of matching and sorting (n=24): time 0.0009276/0.1446, allocations: 0.5523 MB / 491.1 MB, free: 12.23 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.315e-05/0.1447, allocations: 77.11 kB / 491.2 MB, free: 12.14 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000297/0.145, allocations: 344.5 kB / 491.5 MB, free: 11.8 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.114e-05/0.145, allocations: 33.69 kB / 491.5 MB, free: 11.76 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.314e-05/0.1451, allocations: 144.8 kB / 491.7 MB, free: 11.61 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.211e-05/0.1452, allocations: 98.56 kB / 491.8 MB, free: 11.52 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.893e-05/0.1452, allocations: 7.938 kB / 491.8 MB, free: 11.51 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001392/0.1453, allocations: 354.8 kB / 492.1 MB, free: 11.15 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003885/0.1457, allocations: 288.8 kB / 492.4 MB, free: 10.87 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004262/0.1462, allocations: 335.5 kB / 492.7 MB, free: 10.54 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004585/0.1466, allocations: 329.9 kB / 493.1 MB, free: 10.21 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.1466, allocations: 0 / 493.1 MB, free: 10.21 MB / 366.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001041/0.1477, allocations: 0.7723 MB / 493.8 MB, free: 9.434 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.1477, allocations: 4 kB / 493.8 MB, free: 9.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.241e-05/0.1478, allocations: 7.984 kB / 493.8 MB, free: 9.422 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.1478, allocations: 4 kB / 493.8 MB, free: 9.418 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004452/0.1482, allocations: 99.88 kB / 493.9 MB, free: 9.32 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.1482, allocations: 0 / 493.9 MB, free: 9.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000168/0.1484, allocations: 71.11 kB / 494 MB, free: 9.25 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.941e-05/0.1485, allocations: 12 kB / 494 MB, free: 9.238 MB / 366.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.0002299/0.1487, allocations: 177 kB / 494.2 MB, free: 9.055 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.264e-05/0.1488, allocations: 35.56 kB / 494.2 MB, free: 9.02 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001038/0.1489, allocations: 42.66 kB / 494.3 MB, free: 8.977 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.1489, allocations: 0 / 494.3 MB, free: 8.977 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.742e-06/0.1489, allocations: 4 kB / 494.3 MB, free: 8.973 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.1489, allocations: 0 / 494.3 MB, free: 8.973 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000417/0.1493, allocations: 341.2 kB / 494.6 MB, free: 8.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.1493, allocations: 0 / 494.6 MB, free: 8.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003294/0.1497, allocations: 55.92 kB / 494.7 MB, free: 8.535 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.58e-06/0.1497, allocations: 3.953 kB / 494.7 MB, free: 8.531 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.281e-05/0.1497, allocations: 15.98 kB / 494.7 MB, free: 8.516 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.1497, allocations: 0 / 494.7 MB, free: 8.516 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.1497, allocations: 0 / 494.7 MB, free: 8.516 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009669/0.1507, allocations: 0.7574 MB / 495.4 MB, free: 7.738 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.566e-05/0.1508, allocations: 108.8 kB / 495.6 MB, free: 7.613 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.103e-05/0.1508, allocations: 11.95 kB / 495.6 MB, free: 7.602 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002153/0.1511, allocations: 19.98 kB / 495.6 MB, free: 7.582 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.38e-05/0.1511, allocations: 19.91 kB / 495.6 MB, free: 7.562 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.842e-05/0.1512, allocations: 12 kB / 495.6 MB, free: 7.551 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001879/0.1514, allocations: 219 kB / 495.8 MB, free: 7.34 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.1514, allocations: 3.938 kB / 495.8 MB, free: 7.336 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007942/0.1522, allocations: 247.9 kB / 496.1 MB, free: 7.094 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.0004699/0.1526, allocations: 251.9 kB / 496.3 MB, free: 6.84 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009519/0.1536, allocations: 0.7442 MB / 497.1 MB, free: 6.07 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.1536, allocations: 4 kB / 497.1 MB, free: 6.066 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003028/0.1539, allocations: 192.9 kB / 497.3 MB, free: 5.879 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004509/0.1544, allocations: 41.06 kB / 497.3 MB, free: 5.836 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001289/0.1557, allocations: 1.08 MB / 498.4 MB, free: 4.723 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00038/0.1561, allocations: 0.8031 MB / 499.2 MB, free: 3.895 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001135/0.1562, allocations: 23.44 kB / 499.2 MB, free: 3.871 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1562, allocations: 0 / 499.2 MB, free: 3.871 MB / 366.1 MB Notification: Performance of Templates: time 0.009118/0.1653, allocations: 6.333 MB / 0.4937 GB, free: 13.59 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.makefile make -j1 -f ModelicaTest_trunk_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_trunk_ModelicaTest.Blocks.PadeDelay2CalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2CalcHelperMain.o] Error 1