Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.OnDelay.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.OnDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booleanTable.y|onDelay1.delaySignal|onDelay1.t_next|onDelay1.u|onDelay2.delaySignal|onDelay2.t_next|onDelay2.u|onDelay3.delaySignal|onDelay3.t_next|onDelay3.u",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.OnDelay") translateModel(ModelicaTest.Blocks.OnDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booleanTable.y|onDelay1.delaySignal|onDelay1.t_next|onDelay1.u|onDelay2.delaySignal|onDelay2.t_next|onDelay2.u|onDelay3.delaySignal|onDelay3.t_next|onDelay3.u",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.OnDelay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008016/0.0008017, allocations: 96.17 kB / 17.63 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008679/0.0008679, allocations: 199 kB / 18.54 MB, free: 5.152 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.48/1.48, 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.2495/0.2495, allocations: 45.92 MB / 344.7 MB, free: 12.29 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002632/0.0002633, allocations: 8 kB / 418.6 MB, free: 20.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1449/0.1452, allocations: 63.47 MB / 482.1 MB, free: 5.453 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.OnDelay): time 0.00239/0.1477, allocations: 1.574 MB / 483.7 MB, free: 3.863 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00178/0.1495, allocations: 1.108 MB / 484.8 MB, free: 2.75 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001026/0.1496, allocations: 0 / 484.8 MB, free: 2.75 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006315/0.1502, allocations: 167.6 kB / 485 MB, free: 2.586 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003487/0.1506, allocations: 143.6 kB / 485.1 MB, free: 2.445 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004231/0.151, allocations: 159.1 kB / 485.3 MB, free: 2.293 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000293/0.1513, allocations: 247.3 kB / 485.5 MB, free: 2.051 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001192/0.1515, allocations: 33.66 kB / 485.5 MB, free: 2.02 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001357/0.1516, allocations: 87.69 kB / 485.6 MB, free: 1.934 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001698/0.1518, allocations: 115.6 kB / 485.7 MB, free: 1.82 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.775e-05/0.1518, allocations: 8 kB / 485.7 MB, free: 1.812 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001186/0.1519, allocations: 39.98 kB / 485.8 MB, free: 1.773 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.669e-05/0.152, allocations: 55.81 kB / 485.8 MB, free: 1.719 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.327e-05/0.1521, allocations: 65.58 kB / 485.9 MB, free: 1.648 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002731/0.1524, allocations: 219.7 kB / 486.1 MB, free: 1.434 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.1524, allocations: 0 / 486.1 MB, free: 1.434 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.707e-06/0.1524, allocations: 8 kB / 486.1 MB, free: 1.426 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.993e-06/0.1524, allocations: 0 / 486.1 MB, free: 1.426 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0009055/0.1534, allocations: 0.6181 MB / 486.7 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.1534, allocations: 8.031 kB / 486.7 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.622e-05/0.1535, allocations: 27.72 kB / 486.8 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003819/0.1539, allocations: 274.5 kB / 487 MB, free: 400 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.862e-05/0.154, allocations: 93.11 kB / 487.1 MB, free: 288 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.804e-05/0.154, allocations: 20 kB / 487.1 MB, free: 268 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003151/0.1544, allocations: 157.5 kB / 487.3 MB, free: 92 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.1544, allocations: 0 / 487.3 MB, free: 92 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.255e-05/0.1544, allocations: 8 kB / 487.3 MB, free: 84 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.181e-06/0.1544, allocations: 4 kB / 487.3 MB, free: 80 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002439/0.1547, allocations: 95.94 kB / 487.4 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008294/0.1555, allocations: 0.614 MB / 488 MB, free: 15.31 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003339/0.1559, allocations: 183.9 kB / 488.2 MB, free: 15.11 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001774/0.156, allocations: 94.55 kB / 488.3 MB, free: 15 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.459e-05/0.1561, allocations: 0 / 488.3 MB, free: 15 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004633/0.1565, allocations: 433.1 kB / 488.7 MB, free: 14.5 MB / 366.1 MB Notification: Performance of pre-optimization done (n=23): time 1.262e-06/0.1566, allocations: 0 / 488.7 MB, free: 14.5 MB / 366.1 MB Notification: Performance of matching and sorting (n=23): time 0.0008164/0.1574, allocations: 454.2 kB / 489.2 MB, free: 14.04 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001289/0.1575, allocations: 221.5 kB / 489.4 MB, free: 13.77 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003557/0.1579, allocations: 326.6 kB / 489.7 MB, free: 13.44 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.361e-05/0.1579, allocations: 37.69 kB / 489.7 MB, free: 13.4 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.958e-05/0.158, allocations: 140.6 kB / 489.9 MB, free: 13.25 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.594e-05/0.1581, allocations: 43.36 kB / 489.9 MB, free: 13.21 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.274e-05/0.1581, allocations: 8 kB / 489.9 MB, free: 13.2 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001503/0.1583, allocations: 334.8 kB / 490.2 MB, free: 12.87 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001323/0.1584, allocations: 60.09 kB / 490.3 MB, free: 12.81 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001951/0.1586, allocations: 151.1 kB / 490.5 MB, free: 12.62 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001971/0.1588, allocations: 161 kB / 490.6 MB, free: 12.45 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.1588, allocations: 0 / 490.6 MB, free: 12.45 MB / 366.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004968/0.1593, allocations: 342.4 kB / 490.9 MB, free: 12.09 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.427e-05/0.1594, allocations: 97.08 kB / 491 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.1595, allocations: 4 kB / 491 MB, free: 11.97 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.1595, allocations: 4 kB / 491 MB, free: 11.97 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001064/0.1596, allocations: 27.88 kB / 491.1 MB, free: 11.94 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.227e-06/0.1596, allocations: 8.094 kB / 491.1 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001226/0.1597, allocations: 27.84 kB / 491.1 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.201e-05/0.1598, allocations: 20.09 kB / 491.1 MB, free: 11.89 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 29 ($PRE.onDelay1.u,$PRE.onDelay1.t_next,$PRE.onDelay3.u,$PRE.onDelay3.t_next,$PRE.onDelay2.u,$PRE.onDelay2.t_next,$whenCondition5,$PRE.booleanTable.combiTimeTable.nextTimeEvent,$whenCondition6,$whenCondition7,onDelay1.u,onDelay1.y,onDelay1.delaySignal,onDelay1.t_next,booleanTable.combiTimeTable.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEventScaled,$whenCondition3,$whenCondition4,onDelay2.u,onDelay2.y,onDelay2.delaySignal,onDelay2.t_next,$whenCondition1,$whenCondition2,onDelay3.u,onDelay3.y,onDelay3.delaySignal,onDelay3.t_next) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 3 * 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 prepare postOptimizeDAE: time 0.000237/0.16, allocations: 265.4 kB / 491.4 MB, free: 11.6 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.389e-05/0.1601, allocations: 31.72 kB / 491.4 MB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.819e-05/0.1601, allocations: 25.7 kB / 491.4 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.1601, allocations: 4 kB / 491.4 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/0.1602, allocations: 3.953 kB / 491.5 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/0.1602, allocations: 4.359 kB / 491.5 MB, free: 11.53 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002802/0.1605, allocations: 297.3 kB / 491.7 MB, free: 11.19 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/0.1605, allocations: 7.984 kB / 491.8 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.605e-05/0.1605, allocations: 4 kB / 491.8 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.1605, allocations: 0 / 491.8 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.508e-05/0.1605, allocations: 12 kB / 491.8 MB, free: 11.17 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.1605, allocations: 4 kB / 491.8 MB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.1606, allocations: 3.938 kB / 491.8 MB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006277/0.1612, allocations: 447.4 kB / 492.2 MB, free: 10.68 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.331e-05/0.1613, allocations: 104.8 kB / 492.3 MB, free: 10.56 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.829e-05/0.1613, allocations: 8 kB / 492.3 MB, free: 10.55 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001082/0.1615, allocations: 23.98 kB / 492.3 MB, free: 10.53 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.311e-05/0.1615, allocations: 15.98 kB / 492.4 MB, free: 10.51 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.03e-05/0.1616, allocations: 19.95 kB / 492.4 MB, free: 10.49 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002436/0.1618, allocations: 241.9 kB / 492.6 MB, free: 10.26 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1618, allocations: 0 / 492.6 MB, free: 10.26 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003674/0.1622, allocations: 71.92 kB / 492.7 MB, free: 10.19 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 21 ($whenCondition5,$whenCondition6,$whenCondition7,onDelay1.u,onDelay1.y,onDelay1.delaySignal,onDelay1.t_next,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled,$whenCondition3,$whenCondition4,onDelay2.u,onDelay2.y,onDelay2.delaySignal,onDelay2.t_next,$whenCondition1,$whenCondition2,onDelay3.u,onDelay3.y,onDelay3.delaySignal,onDelay3.t_next) * Number of discrete states: 14 (onDelay3.t_next,onDelay3.delaySignal,$whenCondition2,$whenCondition1,onDelay2.t_next,onDelay2.delaySignal,$whenCondition4,$whenCondition3,booleanTable.combiTimeTable.nextTimeEventScaled,onDelay1.t_next,onDelay1.delaySignal,$whenCondition7,$whenCondition6,booleanTable.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 2 * 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.001003/0.1632, allocations: 427.5 kB / 493.1 MB, free: 9.906 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005767/0.1638, allocations: 398 kB / 493.5 MB, free: 9.48 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1638, allocations: 0 / 493.5 MB, free: 9.48 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003703/0.1642, allocations: 346.1 kB / 493.8 MB, free: 9.105 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000336/0.1645, allocations: 51.66 kB / 493.9 MB, free: 9.059 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008694/0.1654, allocations: 0.522 MB / 494.4 MB, free: 8.496 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000424/0.1658, allocations: 0.756 MB / 495.2 MB, free: 7.715 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.517e-05/0.1659, allocations: 19.44 kB / 495.2 MB, free: 7.695 MB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1659, allocations: 0 / 495.2 MB, free: 7.695 MB / 366.1 MB Notification: Performance of Templates: time 0.006636/0.1726, allocations: 3.534 MB / 498.7 MB, free: 4.164 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.OnDelay.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.OnDelay.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.OnDelayCalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.Blocks.OnDelayCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.Blocks.OnDelayCalcHelperMain.o] Error 1