Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.OnDelay.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.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_4.0.0_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_4.0.0_ModelicaTest.Blocks.OnDelay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009702/0.0009702, allocations: 92.98 kB / 17.63 MB, free: 5.719 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.001011/0.001011, allocations: 178.9 kB / 18.52 MB, free: 5.172 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.498/1.498, allocations: 223.3 MB / 242.5 MB, free: 364 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.2256/0.2256, allocations: 44.22 MB / 337.9 MB, free: 2.914 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003843/0.0003846, allocations: 11.94 kB / 410.3 MB, free: 27.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1385/0.1389, allocations: 61.91 MB / 472.2 MB, free: 13.78 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.OnDelay): time 0.002332/0.1413, allocations: 1.557 MB / 473.7 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001553/0.1429, allocations: 0.9478 MB / 474.7 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001018/0.143, allocations: 0 / 474.7 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006236/0.1436, allocations: 171.6 kB / 474.8 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002598/0.1439, allocations: 111.5 kB / 475 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000455/0.1444, allocations: 167.2 kB / 475.1 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002814/0.1447, allocations: 231.4 kB / 475.3 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001215/0.1448, allocations: 25.67 kB / 475.4 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001465/0.145, allocations: 103.6 kB / 475.5 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001486/0.1451, allocations: 103.6 kB / 475.6 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.57e-05/0.1452, allocations: 8 kB / 475.6 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001224/0.1453, allocations: 47.91 kB / 475.6 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.223e-05/0.1454, allocations: 59.81 kB / 475.7 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.618e-05/0.1455, allocations: 61.64 kB / 475.7 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002589/0.1457, allocations: 207.7 kB / 475.9 MB, free: 9.98 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.1457, allocations: 0 / 475.9 MB, free: 9.98 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.1457, allocations: 0 / 475.9 MB, free: 9.98 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.01e-06/0.1457, allocations: 0 / 475.9 MB, free: 9.98 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.0009266/0.1467, allocations: 0.6182 MB / 476.6 MB, free: 9.289 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.444e-05/0.1467, allocations: 8.031 kB / 476.6 MB, free: 9.281 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.045e-05/0.1468, allocations: 31.7 kB / 476.6 MB, free: 9.25 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000399/0.1472, allocations: 265.7 kB / 476.9 MB, free: 8.949 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001043/0.1473, allocations: 89.11 kB / 476.9 MB, free: 8.844 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.05e-05/0.1474, allocations: 19.95 kB / 477 MB, free: 8.824 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003306/0.1477, allocations: 163.7 kB / 477.1 MB, free: 8.648 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.1477, allocations: 0 / 477.1 MB, free: 8.648 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.362e-05/0.1478, allocations: 4 kB / 477.1 MB, free: 8.645 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.365e-06/0.1478, allocations: 4 kB / 477.1 MB, free: 8.641 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002572/0.1481, allocations: 95.88 kB / 477.2 MB, free: 8.547 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001058/0.1491, allocations: 0.6141 MB / 477.8 MB, free: 7.875 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000385/0.1495, allocations: 175.9 kB / 478 MB, free: 7.676 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001857/0.1497, allocations: 90.55 kB / 478.1 MB, free: 7.578 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.082e-05/0.1498, allocations: 11.98 kB / 478.1 MB, free: 7.566 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006124/0.1504, allocations: 437 kB / 478.5 MB, free: 7.062 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 1.553e-06/0.1504, allocations: 0 / 478.5 MB, free: 7.062 MB / 350.1 MB Notification: Performance of matching and sorting (n=23): time 0.0008892/0.1513, allocations: 438.5 kB / 479 MB, free: 6.609 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001212/0.1514, allocations: 217.5 kB / 479.2 MB, free: 6.348 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003557/0.1518, allocations: 320.9 kB / 479.5 MB, free: 6.027 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.26e-05/0.1518, allocations: 37.69 kB / 479.5 MB, free: 5.984 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001038/0.152, allocations: 132.6 kB / 479.7 MB, free: 5.848 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.256e-05/0.152, allocations: 51.34 kB / 479.7 MB, free: 5.797 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.339e-05/0.152, allocations: 12 kB / 479.7 MB, free: 5.785 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000184/0.1522, allocations: 334.8 kB / 480 MB, free: 5.449 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001403/0.1524, allocations: 60.16 kB / 480.1 MB, free: 5.391 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001857/0.1526, allocations: 147.5 kB / 480.3 MB, free: 5.211 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002/0.1528, allocations: 157 kB / 480.4 MB, free: 5.039 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.1528, allocations: 0 / 480.4 MB, free: 5.039 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005156/0.1533, allocations: 346.7 kB / 480.7 MB, free: 4.676 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.134e-05/0.1534, allocations: 97.08 kB / 480.8 MB, free: 4.562 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.1534, allocations: 7.984 kB / 480.8 MB, free: 4.555 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.1534, allocations: 8.156 kB / 480.9 MB, free: 4.547 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001174/0.1536, allocations: 23.94 kB / 480.9 MB, free: 4.523 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.312e-05/0.1536, allocations: 7.984 kB / 480.9 MB, free: 4.516 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001284/0.1537, allocations: 27.84 kB / 480.9 MB, free: 4.488 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.158e-05/0.1538, allocations: 8 kB / 480.9 MB, free: 4.48 MB / 350.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.0002801/0.154, allocations: 277.3 kB / 481.2 MB, free: 4.18 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.618e-05/0.1541, allocations: 31.72 kB / 481.2 MB, free: 4.148 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.38e-05/0.1542, allocations: 29.7 kB / 481.3 MB, free: 4.121 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.1542, allocations: 0 / 481.3 MB, free: 4.121 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.686e-06/0.1542, allocations: 0 / 481.3 MB, free: 4.121 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.1542, allocations: 4 kB / 481.3 MB, free: 4.117 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002911/0.1545, allocations: 297.3 kB / 481.5 MB, free: 3.777 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1545, allocations: 0 / 481.5 MB, free: 3.777 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.422e-05/0.1545, allocations: 8 kB / 481.6 MB, free: 3.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.1546, allocations: 3.938 kB / 481.6 MB, free: 3.766 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.799e-05/0.1546, allocations: 15.98 kB / 481.6 MB, free: 3.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.1546, allocations: 0 / 481.6 MB, free: 3.75 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1546, allocations: 4 kB / 481.6 MB, free: 3.746 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006191/0.1552, allocations: 439.4 kB / 482 MB, free: 3.273 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.597e-05/0.1553, allocations: 104.8 kB / 482.1 MB, free: 3.152 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.076e-05/0.1554, allocations: 12 kB / 482.1 MB, free: 3.141 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001055/0.1555, allocations: 23.98 kB / 482.1 MB, free: 3.117 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.399e-05/0.1556, allocations: 19.97 kB / 482.2 MB, free: 3.098 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.268e-05/0.1556, allocations: 19.94 kB / 482.2 MB, free: 3.078 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002191/0.1558, allocations: 232.4 kB / 482.4 MB, free: 2.852 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1558, allocations: 0 / 482.4 MB, free: 2.852 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003278/0.1562, allocations: 68 kB / 482.5 MB, free: 2.785 MB / 350.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.00102/0.1572, allocations: 434.6 kB / 482.9 MB, free: 2.52 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000542/0.1578, allocations: 390 kB / 483.3 MB, free: 2.102 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1578, allocations: 0 / 483.3 MB, free: 2.102 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003457/0.1581, allocations: 354.5 kB / 483.6 MB, free: 1.719 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003377/0.1585, allocations: 58.91 kB / 483.7 MB, free: 1.664 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000795/0.1593, allocations: 0.5021 MB / 484.2 MB, free: 1.121 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002941/0.1596, allocations: 0.7598 MB / 484.9 MB, free: 344 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.713e-05/0.1597, allocations: 19.44 kB / 485 MB, free: 324 kB / 350.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1597, allocations: 0 / 485 MB, free: 324 kB / 350.1 MB Notification: Performance of Templates: time 0.005993/0.1657, allocations: 3.493 MB / 488.5 MB, free: 12.83 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.OnDelay.makefile make -j1 -f ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Blocks.OnDelayCalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.Blocks.OnDelayCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.Blocks.OnDelayCalcHelperMain.o] Error 1