Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable.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.IntegerTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|integerTable.y|integerTable2.y|integerTable3.y|integerTable4.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable") translateModel(ModelicaTest.Blocks.IntegerTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|integerTable.y|integerTable2.y|integerTable3.y|integerTable4.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007179/0.0007181, allocations: 96.58 kB / 16.33 MB, free: 5.949 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.000758/0.0007579, allocations: 189.4 kB / 17.22 MB, free: 5.883 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.245/1.245, 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.2808/0.2808, allocations: 43.54 MB / 315.2 MB, free: 9.109 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.0004731/0.0004731, allocations: 12 kB / 384.5 MB, free: 8.258 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.1092, allocations: 58.86 MB / 443.4 MB, free: 13.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.002315/0.1115, allocations: 1.889 MB / 445.3 MB, free: 11.39 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001979/0.1135, allocations: 1.385 MB / 446.7 MB, free: 9.996 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001131/0.1136, allocations: 4 kB / 446.7 MB, free: 9.992 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003455/0.114, allocations: 123.5 kB / 446.8 MB, free: 9.871 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003232/0.1143, allocations: 175.2 kB / 447 MB, free: 9.699 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001226/0.1156, allocations: 0.5303 MB / 447.5 MB, free: 9.168 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004789/0.1161, allocations: 462.6 kB / 448 MB, free: 8.715 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001487/0.1162, allocations: 69.19 kB / 448 MB, free: 8.645 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002044/0.1164, allocations: 187.1 kB / 448.2 MB, free: 8.461 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000196/0.1166, allocations: 183.1 kB / 448.4 MB, free: 8.281 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.043e-05/0.1167, allocations: 8 kB / 448.4 MB, free: 8.273 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002082/0.1169, allocations: 127.8 kB / 448.5 MB, free: 8.148 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001116/0.117, allocations: 107.6 kB / 448.6 MB, free: 8.043 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.521e-05/0.1171, allocations: 101.5 kB / 448.7 MB, free: 7.938 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000386/0.1175, allocations: 423.3 kB / 449.1 MB, free: 7.523 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1175, allocations: 0 / 449.1 MB, free: 7.523 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1175, allocations: 0 / 449.1 MB, free: 7.523 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.436e-06/0.1175, allocations: 0 / 449.1 MB, free: 7.523 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0009403/0.1185, allocations: 0.8087 MB / 449.9 MB, free: 6.637 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.1185, allocations: 16.02 kB / 450 MB, free: 6.621 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.429e-05/0.1186, allocations: 55.34 kB / 450 MB, free: 6.566 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005163/0.1191, allocations: 443.3 kB / 450.5 MB, free: 6.094 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.647e-05/0.1192, allocations: 12.23 kB / 450.5 MB, free: 6.082 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.451e-05/0.1192, allocations: 8 kB / 450.5 MB, free: 6.074 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004097/0.1196, allocations: 265.4 kB / 450.7 MB, free: 5.773 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.1196, allocations: 3.938 kB / 450.7 MB, free: 5.77 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.621e-05/0.1197, allocations: 11.95 kB / 450.7 MB, free: 5.758 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.1197, allocations: 4 kB / 450.7 MB, free: 5.754 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002737/0.12, allocations: 107.9 kB / 450.9 MB, free: 5.648 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009644/0.1209, allocations: 0.8719 MB / 451.7 MB, free: 4.715 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005622/0.1215, allocations: 302.5 kB / 452 MB, free: 4.383 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002037/0.1217, allocations: 103.4 kB / 452.1 MB, free: 4.27 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.155e-05/0.1218, allocations: 4 kB / 452.1 MB, free: 4.266 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003966/0.1222, allocations: 218.5 kB / 452.3 MB, free: 4.027 MB / 382.1 MB Notification: Performance of pre-optimization done (n=24): time 1.353e-06/0.1222, allocations: 3.938 kB / 452.3 MB, free: 4.023 MB / 382.1 MB Notification: Performance of matching and sorting (n=24): time 0.0008096/0.123, allocations: 396.8 kB / 452.7 MB, free: 3.629 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001637/0.1232, allocations: 350.1 kB / 453.1 MB, free: 3.207 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000686/0.1239, allocations: 0.6315 MB / 453.7 MB, free: 2.562 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.178e-05/0.1239, allocations: 33.7 kB / 453.7 MB, free: 2.523 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001737/0.1241, allocations: 224.5 kB / 454 MB, free: 2.301 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.195e-05/0.1241, allocations: 71.25 kB / 454 MB, free: 2.23 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.371e-05/0.1242, allocations: 4 kB / 454 MB, free: 2.227 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001536/0.1243, allocations: 366.7 kB / 454.4 MB, free: 1.859 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001829/0.1245, allocations: 79.95 kB / 454.5 MB, free: 1.781 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002933/0.1248, allocations: 241.1 kB / 454.7 MB, free: 1.484 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002079/0.125, allocations: 100.9 kB / 454.8 MB, free: 1.387 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.125, allocations: 0 / 454.8 MB, free: 1.387 MB / 382.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005479/0.1256, allocations: 316.8 kB / 455.1 MB, free: 1.07 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.1256, allocations: 4 kB / 455.1 MB, free: 1.066 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/0.1256, allocations: 4 kB / 455.1 MB, free: 1.062 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.1257, allocations: 0 / 455.1 MB, free: 1.062 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002562/0.1259, allocations: 63.89 kB / 455.2 MB, free: 1 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/0.1259, allocations: 4 kB / 455.2 MB, free: 0.9961 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001875/0.1261, allocations: 35.86 kB / 455.2 MB, free: 0.9609 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.115e-05/0.1262, allocations: 12 kB / 455.2 MB, free: 0.9492 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition4,$PRE.integerTable.combiTimeTable.nextTimeEvent,integerTable.y,integerTable.combiTimeTable.nextTimeEvent,$PRE.integerTable.combiTimeTable.nextTimeEventScaled,integerTable.combiTimeTable.nextTimeEventScaled,$whenCondition3,$PRE.integerTable2.combiTimeTable.nextTimeEvent,integerTable2.y,integerTable2.combiTimeTable.nextTimeEvent,$PRE.integerTable2.combiTimeTable.nextTimeEventScaled,integerTable2.combiTimeTable.nextTimeEventScaled,$whenCondition2,$PRE.integerTable3.combiTimeTable.nextTimeEvent,integerTable3.y,integerTable3.combiTimeTable.nextTimeEvent,$PRE.integerTable3.combiTimeTable.nextTimeEventScaled,integerTable3.combiTimeTable.nextTimeEventScaled,$whenCondition1,$PRE.integerTable4.combiTimeTable.nextTimeEvent,integerTable4.y,integerTable4.combiTimeTable.nextTimeEvent,$PRE.integerTable4.combiTimeTable.nextTimeEventScaled,integerTable4.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 32 * 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 prepare postOptimizeDAE: time 0.0002376/0.1264, allocations: 217.9 kB / 455.4 MB, free: 0.7266 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.153e-05/0.1265, allocations: 51.38 kB / 455.5 MB, free: 0.6758 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.457e-05/0.1266, allocations: 63.91 kB / 455.6 MB, free: 0.6133 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/0.1266, allocations: 4 kB / 455.6 MB, free: 0.6094 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.233e-06/0.1266, allocations: 0 / 455.6 MB, free: 0.6094 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.1266, allocations: 0 / 455.6 MB, free: 0.6094 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003739/0.127, allocations: 413.1 kB / 456 MB, free: 160 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.127, allocations: 8 kB / 456 MB, free: 152 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001094/0.1271, allocations: 27.91 kB / 456 MB, free: 124 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.448e-05/0.1271, allocations: 4 kB / 456 MB, free: 120 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.001e-05/0.1272, allocations: 4 kB / 456 MB, free: 116 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.1272, allocations: 4 kB / 456 MB, free: 112 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.1272, allocations: 7.922 kB / 456 MB, free: 104 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1902/0.3174, allocations: 356.8 kB / 456.4 MB, free: 46.45 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001157/0.3175, allocations: 142.9 kB / 456.5 MB, free: 46.35 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.817e-05/0.3176, allocations: 13.05 kB / 456.5 MB, free: 46.35 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001633/0.3178, allocations: 17.11 kB / 456.5 MB, free: 46.35 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.749e-05/0.3179, allocations: 38.05 kB / 456.6 MB, free: 46.35 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.444e-05/0.3179, allocations: 16.39 kB / 456.6 MB, free: 46.35 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004686/0.3184, allocations: 466.7 kB / 457 MB, free: 46.27 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3184, allocations: 0 / 457 MB, free: 46.27 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004175/0.3188, allocations: 94.61 kB / 457.1 MB, free: 46.27 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition4,integerTable.y,integerTable.combiTimeTable.nextTimeEvent,integerTable.combiTimeTable.nextTimeEventScaled,$whenCondition3,integerTable2.y,integerTable2.combiTimeTable.nextTimeEvent,integerTable2.combiTimeTable.nextTimeEventScaled,$whenCondition2,integerTable3.y,integerTable3.combiTimeTable.nextTimeEvent,integerTable3.combiTimeTable.nextTimeEventScaled,$whenCondition1,integerTable4.y,integerTable4.combiTimeTable.nextTimeEvent,integerTable4.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 8 (integerTable4.combiTimeTable.nextTimeEventScaled,integerTable4.combiTimeTable.nextTimeEvent,integerTable3.combiTimeTable.nextTimeEventScaled,integerTable3.combiTimeTable.nextTimeEvent,integerTable2.combiTimeTable.nextTimeEventScaled,integerTable2.combiTimeTable.nextTimeEvent,integerTable.combiTimeTable.nextTimeEventScaled,integerTable.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0009661/0.3198, allocations: 455.7 kB / 457.6 MB, free: 46.09 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004659/0.3203, allocations: 222.7 kB / 457.8 MB, free: 46.09 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.3203, allocations: 0 / 457.8 MB, free: 46.09 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002195/0.3205, allocations: 138.5 kB / 457.9 MB, free: 46.09 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000586/0.3211, allocations: 138 kB / 458.1 MB, free: 46.07 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009792/0.3221, allocations: 0.8708 MB / 458.9 MB, free: 45.66 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002444/0.3224, allocations: 0.8437 MB / 459.8 MB, free: 44.96 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001058/0.3225, allocations: 52.38 kB / 459.8 MB, free: 44.95 MB / 382.1 MB Notification: Performance of SimCode: time 3e-07/0.3225, allocations: 0 / 459.8 MB, free: 44.95 MB / 382.1 MB Notification: Performance of Templates: time 0.008142/0.3306, allocations: 6.973 MB / 466.8 MB, free: 44.25 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable.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.IntegerTableCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTableCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTableCalcHelperMain.o] Error 1