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.0007432/0.0007432, allocations: 90.58 kB / 16.34 MB, free: 5.965 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.0007845/0.0007846, allocations: 188.3 kB / 17.23 MB, free: 5.891 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.335/1.335, allocations: 205.4 MB / 223.4 MB, free: 5.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2984/0.2984, allocations: 43.54 MB / 315.2 MB, free: 9.102 MB / 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.0004836/0.0004836, allocations: 20 kB / 384.6 MB, free: 8.242 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.1161, allocations: 58.86 MB / 443.4 MB, free: 13.28 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.OnDelay): time 0.002064/0.1182, allocations: 1.558 MB / 445 MB, free: 11.71 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001292/0.1195, allocations: 0.8902 MB / 445.9 MB, free: 10.81 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.064e-05/0.1196, allocations: 4 kB / 445.9 MB, free: 10.81 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004954/0.1201, allocations: 163.6 kB / 446 MB, free: 10.65 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002335/0.1204, allocations: 111.7 kB / 446.1 MB, free: 10.54 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003456/0.1207, allocations: 139.8 kB / 446.3 MB, free: 10.4 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002558/0.121, allocations: 235.3 kB / 446.5 MB, free: 10.17 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001022/0.1211, allocations: 29.66 kB / 446.5 MB, free: 10.14 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001253/0.1212, allocations: 99.66 kB / 446.6 MB, free: 10.05 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000131/0.1214, allocations: 111.5 kB / 446.7 MB, free: 9.938 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.586e-05/0.1214, allocations: 8 kB / 446.7 MB, free: 9.93 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001258/0.1216, allocations: 43.98 kB / 446.8 MB, free: 9.887 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.752e-05/0.1216, allocations: 59.8 kB / 446.8 MB, free: 9.828 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.303e-05/0.1217, allocations: 65.58 kB / 446.9 MB, free: 9.758 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002273/0.1219, allocations: 199.7 kB / 447.1 MB, free: 9.562 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/0.122, allocations: 8 kB / 447.1 MB, free: 9.555 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.122, allocations: 0 / 447.1 MB, free: 9.555 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.057e-06/0.122, allocations: 4 kB / 447.1 MB, free: 9.551 MB / 382.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.0007731/0.1228, allocations: 0.6143 MB / 447.7 MB, free: 8.863 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.129e-05/0.1228, allocations: 8.031 kB / 447.7 MB, free: 8.855 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.143e-05/0.1229, allocations: 31.7 kB / 447.8 MB, free: 8.824 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003008/0.1232, allocations: 265.6 kB / 448 MB, free: 8.523 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.171e-05/0.1233, allocations: 105 kB / 448.1 MB, free: 8.402 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.766e-05/0.1233, allocations: 16 kB / 448.1 MB, free: 8.387 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002917/0.1236, allocations: 161.5 kB / 448.3 MB, free: 8.211 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.783e-06/0.1236, allocations: 0 / 448.3 MB, free: 8.211 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.964e-05/0.1236, allocations: 7.953 kB / 448.3 MB, free: 8.203 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.1237, allocations: 4 kB / 448.3 MB, free: 8.199 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002101/0.1239, allocations: 103.9 kB / 448.4 MB, free: 8.098 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007314/0.1246, allocations: 0.6025 MB / 449 MB, free: 7.438 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003095/0.1249, allocations: 179.9 kB / 449.2 MB, free: 7.234 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001551/0.1251, allocations: 98.48 kB / 449.3 MB, free: 7.129 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.903e-05/0.1251, allocations: 7.984 kB / 449.3 MB, free: 7.121 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004197/0.1256, allocations: 429.2 kB / 449.7 MB, free: 6.625 MB / 382.1 MB Notification: Performance of pre-optimization done (n=23): time 1.343e-06/0.1256, allocations: 0 / 449.7 MB, free: 6.625 MB / 382.1 MB Notification: Performance of matching and sorting (n=23): time 0.0007806/0.1264, allocations: 442.3 kB / 450.1 MB, free: 6.168 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001142/0.1265, allocations: 213.6 kB / 450.4 MB, free: 5.91 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000336/0.1268, allocations: 324.9 kB / 450.7 MB, free: 5.586 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.897e-05/0.1269, allocations: 37.69 kB / 450.7 MB, free: 5.543 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.294e-05/0.127, allocations: 128.6 kB / 450.8 MB, free: 5.414 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.209e-05/0.127, allocations: 55.34 kB / 450.9 MB, free: 5.359 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.538e-06/0.127, allocations: 0 / 450.9 MB, free: 5.359 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001159/0.1272, allocations: 338.8 kB / 451.2 MB, free: 5.02 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001387/0.1273, allocations: 60.16 kB / 451.3 MB, free: 4.961 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001769/0.1275, allocations: 150.6 kB / 451.4 MB, free: 4.777 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001856/0.1277, allocations: 149.1 kB / 451.6 MB, free: 4.613 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.1277, allocations: 0 / 451.6 MB, free: 4.613 MB / 382.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004734/0.1282, allocations: 354.5 kB / 451.9 MB, free: 4.242 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.076e-05/0.1283, allocations: 101.1 kB / 452 MB, free: 4.125 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.1283, allocations: 4 kB / 452 MB, free: 4.121 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.1283, allocations: 7.938 kB / 452 MB, free: 4.113 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.396e-05/0.1284, allocations: 19.98 kB / 452 MB, free: 4.094 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.838e-06/0.1284, allocations: 7.922 kB / 452.1 MB, free: 4.086 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001275/0.1285, allocations: 27.84 kB / 452.1 MB, free: 4.059 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.993e-05/0.1286, allocations: 12.03 kB / 452.1 MB, free: 4.047 MB / 382.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.0002402/0.1288, allocations: 265.9 kB / 452.4 MB, free: 3.758 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.525e-05/0.1289, allocations: 31.67 kB / 452.4 MB, free: 3.727 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.175e-05/0.1289, allocations: 33.64 kB / 452.4 MB, free: 3.695 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.1289, allocations: 4 kB / 452.4 MB, free: 3.691 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.022e-06/0.1289, allocations: 0 / 452.4 MB, free: 3.691 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.129, allocations: 4 kB / 452.4 MB, free: 3.688 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002249/0.1292, allocations: 289.4 kB / 452.7 MB, free: 3.355 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.1292, allocations: 4 kB / 452.7 MB, free: 3.352 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.641e-05/0.1292, allocations: 4 kB / 452.7 MB, free: 3.348 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.528e-06/0.1292, allocations: 7.953 kB / 452.7 MB, free: 3.34 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.143e-05/0.1293, allocations: 15.98 kB / 452.7 MB, free: 3.324 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.1293, allocations: 0 / 452.7 MB, free: 3.324 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1293, allocations: 0 / 452.7 MB, free: 3.324 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005505/0.1298, allocations: 443.5 kB / 453.2 MB, free: 2.848 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.463e-05/0.1299, allocations: 104.8 kB / 453.3 MB, free: 2.727 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.707e-05/0.13, allocations: 11.95 kB / 453.3 MB, free: 2.715 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001022/0.1301, allocations: 23.98 kB / 453.3 MB, free: 2.691 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.443e-05/0.1301, allocations: 23.95 kB / 453.3 MB, free: 2.668 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.567e-05/0.1302, allocations: 12 kB / 453.3 MB, free: 2.656 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002024/0.1304, allocations: 236.4 kB / 453.6 MB, free: 2.422 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1304, allocations: 0 / 453.6 MB, free: 2.422 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003114/0.1307, allocations: 71.84 kB / 453.6 MB, free: 2.352 MB / 382.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.0008607/0.1316, allocations: 435.2 kB / 454.1 MB, free: 1.957 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004819/0.1321, allocations: 393.9 kB / 454.5 MB, free: 1.535 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1321, allocations: 3.938 kB / 454.5 MB, free: 1.531 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003166/0.1324, allocations: 350.1 kB / 454.8 MB, free: 1.152 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003051/0.1327, allocations: 40.8 kB / 454.8 MB, free: 1.113 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007049/0.1334, allocations: 0.5065 MB / 455.3 MB, free: 0.5703 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1597/0.2931, allocations: 0.746 MB / 456.1 MB, free: 46.14 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.923e-05/0.2933, allocations: 19.92 kB / 456.1 MB, free: 46.14 MB / 382.1 MB Notification: Performance of SimCode: time 1.042e-06/0.2933, allocations: 3.281 kB / 456.1 MB, free: 46.14 MB / 382.1 MB Notification: Performance of Templates: time 0.004428/0.2977, allocations: 3.48 MB / 459.6 MB, free: 45.95 MB / 382.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++ 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_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