Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 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.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_3.2.3_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_3.2.3_ModelicaTest.Blocks.OnDelay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009445/0.0009494, allocations: 88.08 kB / 16.67 MB, free: 6.59 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.001127/0.001127, allocations: 179 kB / 17.57 MB, free: 6.191 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.931/1.931, allocations: 205.4 MB / 223.7 MB, free: 13.09 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.2828/0.2828, allocations: 43.58 MB / 315.6 MB, free: 428 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.0005539/0.000554, allocations: 17.42 kB / 385.2 MB, free: 56.59 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.128/0.1286, allocations: 58.86 MB / 444.1 MB, free: 5.18 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.OnDelay): time 0.002295/0.1309, allocations: 1.594 MB / 445.7 MB, free: 3.57 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001364/0.1323, allocations: 0.9327 MB / 446.6 MB, free: 2.629 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.926e-05/0.1324, allocations: 0 / 446.6 MB, free: 2.629 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006596/0.1331, allocations: 175.6 kB / 446.8 MB, free: 2.457 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002171/0.1333, allocations: 123.6 kB / 446.9 MB, free: 2.336 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003534/0.1337, allocations: 155.1 kB / 447.1 MB, free: 2.188 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002382/0.1339, allocations: 259.3 kB / 447.3 MB, free: 1.934 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000115/0.134, allocations: 29.59 kB / 447.3 MB, free: 1.902 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001058/0.1342, allocations: 99.67 kB / 447.4 MB, free: 1.805 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001381/0.1343, allocations: 111.5 kB / 447.5 MB, free: 1.695 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.689e-05/0.1343, allocations: 8 kB / 447.6 MB, free: 1.688 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001132/0.1345, allocations: 47.97 kB / 447.6 MB, free: 1.641 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.299e-05/0.1345, allocations: 51.83 kB / 447.6 MB, free: 1.59 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001047/0.1346, allocations: 121.2 kB / 447.8 MB, free: 1.465 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002146/0.1349, allocations: 207.5 kB / 448 MB, free: 1.262 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.1349, allocations: 3.938 kB / 448 MB, free: 1.258 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.1349, allocations: 3.938 kB / 448 MB, free: 1.254 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.531e-06/0.1349, allocations: 4 kB / 448 MB, free: 1.25 MB / 318.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.000788/0.1357, allocations: 0.6144 MB / 448.6 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.1357, allocations: 8.031 kB / 448.6 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.748e-05/0.1358, allocations: 28.66 kB / 448.6 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002835/0.1361, allocations: 278.7 kB / 448.9 MB, free: 224 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.368e-05/0.1362, allocations: 93.67 kB / 449 MB, free: 112 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.54e-05/0.1362, allocations: 19.94 kB / 449 MB, free: 92 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003214/0.1365, allocations: 157 kB / 449.2 MB, free: 15.92 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.1366, allocations: 0 / 449.2 MB, free: 15.92 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.076e-05/0.1366, allocations: 4 kB / 449.2 MB, free: 15.91 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/0.1366, allocations: 0 / 449.2 MB, free: 15.91 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002414/0.1369, allocations: 103.9 kB / 449.3 MB, free: 15.81 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001019/0.1379, allocations: 0.6179 MB / 449.9 MB, free: 15.13 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003981/0.1383, allocations: 171.9 kB / 450.1 MB, free: 14.94 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000189/0.1385, allocations: 98.55 kB / 450.2 MB, free: 14.83 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.874e-05/0.1385, allocations: 0 / 450.2 MB, free: 14.83 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006322/0.1392, allocations: 445 kB / 450.6 MB, free: 14.32 MB / 334.1 MB Notification: Performance of pre-optimization done (n=23): time 1.272e-06/0.1392, allocations: 0 / 450.6 MB, free: 14.32 MB / 334.1 MB Notification: Performance of matching and sorting (n=23): time 0.0009896/0.1402, allocations: 446.7 kB / 451 MB, free: 13.86 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002264/0.1404, allocations: 221.5 kB / 451.2 MB, free: 13.59 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004187/0.1409, allocations: 321 kB / 451.6 MB, free: 13.27 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.994e-05/0.1409, allocations: 33.7 kB / 451.6 MB, free: 13.23 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001609/0.1411, allocations: 136.6 kB / 451.7 MB, free: 13.09 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.252e-05/0.1412, allocations: 51.36 kB / 451.8 MB, free: 13.04 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.059e-05/0.1412, allocations: 33.69 kB / 451.8 MB, free: 13 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002416/0.1415, allocations: 338.8 kB / 452.1 MB, free: 12.66 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001757/0.1417, allocations: 55.97 kB / 452.2 MB, free: 12.61 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002357/0.1419, allocations: 146.2 kB / 452.3 MB, free: 12.43 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004972/0.1424, allocations: 366.9 kB / 452.7 MB, free: 12 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.1424, allocations: 4 kB / 452.7 MB, free: 12 MB / 334.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005759/0.143, allocations: 350.1 kB / 453 MB, free: 11.63 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.245e-05/0.1431, allocations: 101 kB / 453.1 MB, free: 11.52 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.1431, allocations: 0 / 453.1 MB, free: 11.52 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.893e-05/0.1432, allocations: 4 kB / 453.1 MB, free: 11.51 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001106/0.1433, allocations: 24.14 kB / 453.2 MB, free: 11.49 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.035e-05/0.1433, allocations: 8 kB / 453.2 MB, free: 11.48 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000139/0.1434, allocations: 27.89 kB / 453.2 MB, free: 11.45 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.999e-05/0.1435, allocations: 8.188 kB / 453.2 MB, free: 11.45 MB / 334.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,$PRE.booleanTable.combiTimeTable.nextTimeEvent,$whenCondition5,booleanTable.combiTimeTable.nextTimeEventScaled,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,onDelay1.t_next,onDelay1.delaySignal,onDelay1.y,onDelay1.u,$whenCondition7,$whenCondition6,onDelay2.t_next,onDelay2.delaySignal,onDelay2.y,onDelay2.u,$whenCondition4,$whenCondition3,onDelay3.t_next,onDelay3.delaySignal,onDelay3.y,onDelay3.u,$whenCondition2,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002973/0.1438, allocations: 273.3 kB / 453.5 MB, free: 11.15 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.589e-05/0.1439, allocations: 39.64 kB / 453.5 MB, free: 11.11 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.167e-05/0.1439, allocations: 29.66 kB / 453.5 MB, free: 11.08 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.062e-06/0.144, allocations: 4 kB / 453.5 MB, free: 11.07 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.416e-06/0.144, allocations: 0 / 453.5 MB, free: 11.07 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.865e-06/0.144, allocations: 3.984 kB / 453.6 MB, free: 11.07 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003352/0.1443, allocations: 289.4 kB / 453.8 MB, free: 10.74 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.1443, allocations: 0 / 453.8 MB, free: 10.74 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.06e-05/0.1444, allocations: 11.98 kB / 453.8 MB, free: 10.73 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.1444, allocations: 3.938 kB / 453.8 MB, free: 10.72 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.565e-05/0.1444, allocations: 12 kB / 453.9 MB, free: 10.71 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.793e-06/0.1444, allocations: 4 kB / 453.9 MB, free: 10.71 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.1444, allocations: 0 / 453.9 MB, free: 10.71 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007101/0.1452, allocations: 451.3 kB / 454.3 MB, free: 10.22 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001035/0.1453, allocations: 104.7 kB / 454.4 MB, free: 10.1 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.34e-05/0.1453, allocations: 15.98 kB / 454.4 MB, free: 10.09 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001157/0.1454, allocations: 24 kB / 454.4 MB, free: 10.06 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.647e-05/0.1455, allocations: 23.95 kB / 454.5 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.713e-05/0.1456, allocations: 12 kB / 454.5 MB, free: 10.03 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002441/0.1458, allocations: 232.4 kB / 454.7 MB, free: 9.801 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1458, allocations: 0 / 454.7 MB, free: 9.801 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003186/0.1462, allocations: 64 kB / 454.8 MB, free: 9.738 MB / 334.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 (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.001116/0.1473, allocations: 436.6 kB / 455.2 MB, free: 9.391 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006646/0.148, allocations: 389.9 kB / 455.6 MB, free: 8.973 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.148, allocations: 0 / 455.6 MB, free: 8.973 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003834/0.1484, allocations: 354.5 kB / 455.9 MB, free: 8.59 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003893/0.1488, allocations: 61.06 kB / 456 MB, free: 8.531 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000936/0.1497, allocations: 0.5256 MB / 456.5 MB, free: 7.969 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000403/0.1501, allocations: 0.7482 MB / 457.3 MB, free: 7.195 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.801e-05/0.1502, allocations: 19.44 kB / 457.3 MB, free: 7.176 MB / 334.1 MB Notification: Performance of SimCode: time 2.01e-07/0.1502, allocations: 0 / 457.3 MB, free: 7.176 MB / 334.1 MB Notification: Performance of Templates: time 0.006295/0.1565, allocations: 3.478 MB / 460.8 MB, free: 3.695 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.OnDelay.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.OnDelay.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.OnDelayCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Blocks.OnDelayCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Blocks.OnDelayCalcHelperMain.o] Error 1