Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Blocks.IntegerTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001051/0.001052, allocations: 94.66 kB / 17.63 MB, free: 6.156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001449/0.001449, allocations: 198 kB / 18.54 MB, free: 5.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.582/1.582, allocations: 227.3 MB / 246.6 MB, free: 11.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2473/0.2473, allocations: 45.91 MB / 344.7 MB, free: 12.24 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003178/0.0003178, allocations: 12 kB / 418.6 MB, free: 20.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.147/0.1473, allocations: 63.47 MB / 482.1 MB, free: 5.406 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.002587/0.15, allocations: 1.933 MB / 484 MB, free: 3.457 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002625/0.1526, allocations: 1.627 MB / 485.7 MB, free: 1.824 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001552/0.1528, allocations: 3.938 kB / 485.7 MB, free: 1.82 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004252/0.1532, allocations: 127.5 kB / 485.8 MB, free: 1.695 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005037/0.1537, allocations: 223.1 kB / 486 MB, free: 1.477 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001428/0.1552, allocations: 0.5709 MB / 486.6 MB, free: 0.918 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005894/0.1558, allocations: 490.5 kB / 487.1 MB, free: 448 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000178/0.156, allocations: 65.23 kB / 487.1 MB, free: 380 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002758/0.1562, allocations: 203 kB / 487.3 MB, free: 176 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002835/0.1565, allocations: 187.2 kB / 487.5 MB, free: 15.98 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.757e-05/0.1566, allocations: 8 kB / 487.5 MB, free: 15.98 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002763/0.1569, allocations: 119.8 kB / 487.6 MB, free: 15.86 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001632/0.157, allocations: 111.6 kB / 487.8 MB, free: 15.75 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000102/0.1571, allocations: 101.5 kB / 487.8 MB, free: 15.65 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005218/0.1577, allocations: 455.1 kB / 488.3 MB, free: 15.2 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.1577, allocations: 0 / 488.3 MB, free: 15.2 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.685e-06/0.1577, allocations: 3.938 kB / 488.3 MB, free: 15.2 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.655e-06/0.1577, allocations: 0 / 488.3 MB, free: 15.2 MB / 366.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.001248/0.159, allocations: 0.8359 MB / 489.1 MB, free: 14.29 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.829e-05/0.159, allocations: 8.031 kB / 489.1 MB, free: 14.28 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001117/0.1591, allocations: 55.34 kB / 489.2 MB, free: 14.23 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006103/0.1598, allocations: 455.2 kB / 489.6 MB, free: 13.74 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.059e-05/0.1598, allocations: 12.23 kB / 489.7 MB, free: 13.73 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.086e-05/0.1598, allocations: 12 kB / 489.7 MB, free: 13.71 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004604/0.1603, allocations: 264.9 kB / 489.9 MB, free: 13.41 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.1603, allocations: 0 / 489.9 MB, free: 13.41 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.911e-05/0.1604, allocations: 8 kB / 489.9 MB, free: 13.41 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.013e-05/0.1604, allocations: 4 kB / 489.9 MB, free: 13.4 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002749/0.1607, allocations: 111.9 kB / 490 MB, free: 13.29 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00106/0.1617, allocations: 0.8836 MB / 490.9 MB, free: 12.35 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006099/0.1623, allocations: 294.5 kB / 491.2 MB, free: 12.02 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002089/0.1626, allocations: 107.4 kB / 491.3 MB, free: 11.91 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.62e-05/0.1626, allocations: 4 kB / 491.3 MB, free: 11.9 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004753/0.1631, allocations: 234.3 kB / 491.6 MB, free: 11.65 MB / 366.1 MB Notification: Performance of pre-optimization done (n=24): time 1.582e-06/0.1631, allocations: 0 / 491.6 MB, free: 11.65 MB / 366.1 MB Notification: Performance of matching and sorting (n=24): time 0.0009671/0.1641, allocations: 405.1 kB / 491.9 MB, free: 11.25 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002045/0.1643, allocations: 342.1 kB / 492.3 MB, free: 10.83 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007882/0.1651, allocations: 0.6631 MB / 492.9 MB, free: 10.16 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.314e-05/0.1651, allocations: 37.7 kB / 493 MB, free: 10.12 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001958/0.1653, allocations: 236.5 kB / 493.2 MB, free: 9.883 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.456e-05/0.1654, allocations: 63.23 kB / 493.3 MB, free: 9.82 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.245e-05/0.1654, allocations: 8 kB / 493.3 MB, free: 9.812 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001798/0.1656, allocations: 370.8 kB / 493.6 MB, free: 9.441 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001922/0.1658, allocations: 79.95 kB / 493.7 MB, free: 9.363 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003289/0.1662, allocations: 248.3 kB / 494 MB, free: 9.062 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002186/0.1664, allocations: 104 kB / 494.1 MB, free: 8.961 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.1664, allocations: 0 / 494.1 MB, free: 8.961 MB / 366.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005676/0.167, allocations: 321.5 kB / 494.4 MB, free: 8.641 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/0.167, allocations: 4 kB / 494.4 MB, free: 8.637 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.167, allocations: 4 kB / 494.4 MB, free: 8.633 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.349e-05/0.167, allocations: 4 kB / 494.4 MB, free: 8.629 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002526/0.1673, allocations: 52.03 kB / 494.4 MB, free: 8.578 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.487e-06/0.1673, allocations: 8.125 kB / 494.5 MB, free: 8.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001868/0.1675, allocations: 31.83 kB / 494.5 MB, free: 8.539 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.7e-05/0.1675, allocations: 19.98 kB / 494.5 MB, free: 8.52 MB / 366.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.0002504/0.1678, allocations: 221.6 kB / 494.7 MB, free: 8.293 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.005e-05/0.1679, allocations: 63.19 kB / 494.8 MB, free: 8.23 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001027/0.168, allocations: 56.25 kB / 494.8 MB, free: 8.172 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.433e-06/0.168, allocations: 7.938 kB / 494.8 MB, free: 8.164 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/0.168, allocations: 4 kB / 494.8 MB, free: 8.16 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.632e-06/0.168, allocations: 4 kB / 494.8 MB, free: 8.156 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004279/0.1685, allocations: 413.3 kB / 495.3 MB, free: 7.703 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.1685, allocations: 0 / 495.3 MB, free: 7.703 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001143/0.1686, allocations: 35.91 kB / 495.3 MB, free: 7.668 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.1686, allocations: 0 / 495.3 MB, free: 7.668 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.167e-05/0.1686, allocations: 7.953 kB / 495.3 MB, free: 7.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.571e-06/0.1686, allocations: 7.984 kB / 495.3 MB, free: 7.652 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.1687, allocations: 0 / 495.3 MB, free: 7.652 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006052/0.1693, allocations: 362.7 kB / 495.7 MB, free: 7.27 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001348/0.1694, allocations: 148.4 kB / 495.8 MB, free: 7.105 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.468e-05/0.1695, allocations: 12 kB / 495.8 MB, free: 7.094 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001589/0.1696, allocations: 23.94 kB / 495.8 MB, free: 7.07 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.51e-05/0.1697, allocations: 39.89 kB / 495.9 MB, free: 7.031 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.782e-05/0.1698, allocations: 15.98 kB / 495.9 MB, free: 7.016 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005353/0.1703, allocations: 490.8 kB / 496.4 MB, free: 6.539 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1703, allocations: 0 / 496.4 MB, free: 6.539 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004112/0.1708, allocations: 103.9 kB / 496.5 MB, free: 6.438 MB / 366.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.001121/0.1719, allocations: 460.1 kB / 496.9 MB, free: 6.121 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005553/0.1725, allocations: 227.8 kB / 497.1 MB, free: 5.898 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.1725, allocations: 0 / 497.1 MB, free: 5.898 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002641/0.1727, allocations: 123.9 kB / 497.3 MB, free: 5.777 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007599/0.1735, allocations: 131.8 kB / 497.4 MB, free: 5.656 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001733/0.1753, allocations: 0.9077 MB / 498.3 MB, free: 4.699 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005325/0.1758, allocations: 0.8548 MB / 499.2 MB, free: 3.816 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001419/0.176, allocations: 51.42 kB / 499.2 MB, free: 3.766 MB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.176, allocations: 0 / 499.2 MB, free: 3.766 MB / 366.1 MB Notification: Performance of Templates: time 0.01163/0.1876, allocations: 7.188 MB / 0.4945 GB, free: 12.59 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable.makefile make -j1 -f ModelicaTest_trunk_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_trunk_ModelicaTest.Blocks.IntegerTableCalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.Blocks.IntegerTableCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.Blocks.IntegerTableCalcHelperMain.o] Error 1