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.00222/0.002221, allocations: 103.3 kB / 16.52 MB, free: 6.664 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.003442/0.003442, allocations: 199.3 kB / 17.44 MB, free: 6.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.348/2.348, allocations: 205.1 MB / 223.3 MB, free: 12.5 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.3436/0.3436, allocations: 43.52 MB / 314.2 MB, free: 0.75 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.001708/0.001708, allocations: 62.47 kB / 382.7 MB, free: 56.95 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2298/0.2316, allocations: 57.79 MB / 440.5 MB, free: 7.531 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.005287/0.2369, allocations: 2.322 MB / 442.8 MB, free: 5.191 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002954/0.2399, allocations: 1.451 MB / 444.2 MB, free: 3.73 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001558/0.2401, allocations: 0 / 444.2 MB, free: 3.73 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006402/0.2407, allocations: 131.5 kB / 444.4 MB, free: 3.602 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00048/0.2413, allocations: 203.2 kB / 444.6 MB, free: 3.402 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001587/0.2429, allocations: 0.5667 MB / 445.1 MB, free: 2.848 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007183/0.2436, allocations: 498.5 kB / 445.6 MB, free: 2.359 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002502/0.2438, allocations: 77.28 kB / 445.7 MB, free: 2.277 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003003/0.2442, allocations: 195 kB / 445.9 MB, free: 2.086 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003225/0.2445, allocations: 215 kB / 446.1 MB, free: 1.875 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.651e-05/0.2446, allocations: 12 kB / 446.1 MB, free: 1.863 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000342/0.2449, allocations: 127.9 kB / 446.2 MB, free: 1.738 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002252/0.2452, allocations: 119.5 kB / 446.3 MB, free: 1.621 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002619/0.2454, allocations: 182.8 kB / 446.5 MB, free: 1.441 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000613/0.2461, allocations: 423.2 kB / 446.9 MB, free: 1.027 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.045e-06/0.2461, allocations: 7.875 kB / 446.9 MB, free: 1.02 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.2461, allocations: 0 / 446.9 MB, free: 1.02 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.884e-05/0.2461, allocations: 0 / 446.9 MB, free: 1.02 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.001656/0.2478, allocations: 0.8935 MB / 447.8 MB, free: 56 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.766e-05/0.2478, allocations: 8.031 kB / 447.8 MB, free: 48 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001838/0.248, allocations: 52.42 kB / 447.9 MB, free: 15.99 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000933/0.249, allocations: 468 kB / 448.4 MB, free: 15.5 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.761e-05/0.249, allocations: 12.61 kB / 448.4 MB, free: 15.49 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.608e-05/0.2491, allocations: 16.12 kB / 448.4 MB, free: 15.47 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006582/0.2497, allocations: 265.3 kB / 448.6 MB, free: 15.17 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.526e-05/0.2497, allocations: 0 / 448.6 MB, free: 15.17 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.669e-05/0.2498, allocations: 11.98 kB / 448.7 MB, free: 15.16 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.028e-05/0.2498, allocations: 4 kB / 448.7 MB, free: 15.16 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003628/0.2502, allocations: 107.9 kB / 448.8 MB, free: 15.05 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001613/0.2518, allocations: 0.8836 MB / 449.6 MB, free: 14.11 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008897/0.2527, allocations: 294.5 kB / 449.9 MB, free: 13.78 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003052/0.253, allocations: 103.4 kB / 450 MB, free: 13.67 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.816e-05/0.2531, allocations: 7.984 kB / 450 MB, free: 13.66 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006893/0.2538, allocations: 220.2 kB / 450.3 MB, free: 13.42 MB / 334.1 MB Notification: Performance of pre-optimization done (n=24): time 1.623e-06/0.2538, allocations: 0 / 450.3 MB, free: 13.42 MB / 334.1 MB Notification: Performance of matching and sorting (n=24): time 0.001193/0.255, allocations: 400.8 kB / 450.6 MB, free: 13.02 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004135/0.2554, allocations: 350.1 kB / 451 MB, free: 12.6 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001089/0.2565, allocations: 0.6277 MB / 451.6 MB, free: 11.96 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.713e-05/0.2566, allocations: 33.7 kB / 451.6 MB, free: 11.93 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003175/0.2569, allocations: 228.5 kB / 451.9 MB, free: 11.7 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.656e-05/0.257, allocations: 59.27 kB / 451.9 MB, free: 11.64 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001418/0.2572, allocations: 65.69 kB / 452 MB, free: 11.57 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0003743/0.2576, allocations: 374.8 kB / 452.4 MB, free: 11.2 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002606/0.2578, allocations: 79.94 kB / 452.4 MB, free: 11.12 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00052/0.2584, allocations: 252.9 kB / 452.7 MB, free: 10.81 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005984/0.259, allocations: 239.7 kB / 452.9 MB, free: 10.55 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.259, allocations: 0 / 452.9 MB, free: 10.55 MB / 334.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007743/0.2598, allocations: 308.8 kB / 453.2 MB, free: 10.24 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.321e-05/0.2598, allocations: 4 kB / 453.2 MB, free: 10.24 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.2598, allocations: 4 kB / 453.2 MB, free: 10.23 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.831e-05/0.2599, allocations: 7.938 kB / 453.2 MB, free: 10.23 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002989/0.2602, allocations: 56.03 kB / 453.3 MB, free: 10.17 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.764e-05/0.2602, allocations: 4 kB / 453.3 MB, free: 10.17 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001956/0.2604, allocations: 31.77 kB / 453.3 MB, free: 10.14 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.824e-05/0.2604, allocations: 15.98 kB / 453.3 MB, free: 10.12 MB / 334.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 ($PRE.integerTable.combiTimeTable.nextTimeEvent,$whenCondition4,integerTable.combiTimeTable.nextTimeEventScaled,$PRE.integerTable.combiTimeTable.nextTimeEventScaled,integerTable.combiTimeTable.nextTimeEvent,integerTable.y,$PRE.integerTable2.combiTimeTable.nextTimeEvent,$whenCondition3,integerTable2.combiTimeTable.nextTimeEventScaled,$PRE.integerTable2.combiTimeTable.nextTimeEventScaled,integerTable2.combiTimeTable.nextTimeEvent,integerTable2.y,$PRE.integerTable3.combiTimeTable.nextTimeEvent,$whenCondition2,integerTable3.combiTimeTable.nextTimeEventScaled,$PRE.integerTable3.combiTimeTable.nextTimeEventScaled,integerTable3.combiTimeTable.nextTimeEvent,integerTable3.y,$PRE.integerTable4.combiTimeTable.nextTimeEvent,$whenCondition1,integerTable4.combiTimeTable.nextTimeEventScaled,$PRE.integerTable4.combiTimeTable.nextTimeEventScaled,integerTable4.combiTimeTable.nextTimeEvent,integerTable4.y) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000379/0.2608, allocations: 225.9 kB / 453.6 MB, free: 9.891 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001074/0.2609, allocations: 55.33 kB / 453.6 MB, free: 9.836 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001466/0.2611, allocations: 59.84 kB / 453.7 MB, free: 9.773 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.019e-05/0.2611, allocations: 11.94 kB / 453.7 MB, free: 9.762 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.826e-06/0.2611, allocations: 0 / 453.7 MB, free: 9.762 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.2611, allocations: 0 / 453.7 MB, free: 9.762 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006377/0.2618, allocations: 405.2 kB / 454.1 MB, free: 9.316 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/0.2618, allocations: 4 kB / 454.1 MB, free: 9.312 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001244/0.2619, allocations: 19.98 kB / 454.1 MB, free: 9.293 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.553e-06/0.2619, allocations: 4 kB / 454.1 MB, free: 9.289 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.08e-05/0.262, allocations: 11.98 kB / 454.1 MB, free: 9.277 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.824e-06/0.262, allocations: 3.938 kB / 454.1 MB, free: 9.273 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/0.262, allocations: 4 kB / 454.1 MB, free: 9.27 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008506/0.2629, allocations: 362.7 kB / 454.5 MB, free: 8.887 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001792/0.263, allocations: 128.5 kB / 454.6 MB, free: 8.742 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.775e-05/0.2631, allocations: 15.98 kB / 454.6 MB, free: 8.727 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001642/0.2633, allocations: 15.92 kB / 454.6 MB, free: 8.711 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001452/0.2635, allocations: 43.95 kB / 454.7 MB, free: 8.668 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.308e-05/0.2635, allocations: 11.98 kB / 454.7 MB, free: 8.656 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0007343/0.2643, allocations: 462.8 kB / 455.1 MB, free: 8.207 MB / 334.1 MB Notification: Performance of sort global known variables: time 2e-07/0.2643, allocations: 3.938 kB / 455.1 MB, free: 8.203 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005001/0.2648, allocations: 99.98 kB / 455.2 MB, free: 8.105 MB / 334.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 (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.001482/0.2663, allocations: 454.8 kB / 455.7 MB, free: 7.73 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007006/0.267, allocations: 236.8 kB / 455.9 MB, free: 7.5 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.267, allocations: 0 / 455.9 MB, free: 7.5 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003584/0.2673, allocations: 131.8 kB / 456.1 MB, free: 7.371 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007662/0.2681, allocations: 135.1 kB / 456.2 MB, free: 7.242 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001866/0.27, allocations: 0.9138 MB / 457.1 MB, free: 6.285 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008569/0.2709, allocations: 0.8392 MB / 457.9 MB, free: 5.422 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001494/0.271, allocations: 51.41 kB / 458 MB, free: 5.371 MB / 334.1 MB Notification: Performance of SimCode: time 5.01e-07/0.271, allocations: 0 / 458 MB, free: 5.371 MB / 334.1 MB Notification: Performance of Templates: time 0.01437/0.2854, allocations: 7.034 MB / 465 MB, free: 14.34 MB / 350.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++ -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.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