Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.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.Tables.CombiTimeTable.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61") translateModel(ModelicaTest.Tables.CombiTimeTable.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009873/0.0009876, allocations: 90.19 kB / 17.64 MB, free: 6.133 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001393/0.001393, allocations: 196.6 kB / 18.54 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.555/1.555, allocations: 227.3 MB / 246.6 MB, free: 10.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2181/0.2181, allocations: 45.91 MB / 344.7 MB, free: 12.03 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000306/0.0003063, allocations: 8 kB / 418.7 MB, free: 20.84 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1621/0.1624, allocations: 63.47 MB / 482.1 MB, free: 5.359 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.002614/0.1651, allocations: 1.376 MB / 483.5 MB, free: 3.969 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001837/0.167, allocations: 0.9402 MB / 484.5 MB, free: 3.023 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001154/0.1671, allocations: 0 / 484.5 MB, free: 3.023 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003576/0.1675, allocations: 47.81 kB / 484.5 MB, free: 2.977 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003481/0.1678, allocations: 75.73 kB / 484.6 MB, free: 2.902 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003822/0.1682, allocations: 91.83 kB / 484.7 MB, free: 2.812 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002223/0.1685, allocations: 95.67 kB / 484.8 MB, free: 2.719 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.34e-05/0.1685, allocations: 12.16 kB / 484.8 MB, free: 2.707 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001654/0.1687, allocations: 39.78 kB / 484.8 MB, free: 2.668 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001015/0.1688, allocations: 31.86 kB / 484.8 MB, free: 2.637 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.694e-05/0.1689, allocations: 0 / 484.8 MB, free: 2.637 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001425/0.169, allocations: 31.97 kB / 484.9 MB, free: 2.605 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.018e-05/0.1691, allocations: 23.86 kB / 484.9 MB, free: 2.582 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.982e-05/0.1692, allocations: 45.64 kB / 484.9 MB, free: 2.531 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001959/0.1694, allocations: 88.08 kB / 485 MB, free: 2.445 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.1694, allocations: 0 / 485 MB, free: 2.445 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.1694, allocations: 0 / 485 MB, free: 2.445 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.1694, allocations: 0 / 485 MB, free: 2.445 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0007203/0.1701, allocations: 414.8 kB / 485.4 MB, free: 1.992 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.279e-05/0.1702, allocations: 8.031 kB / 485.4 MB, free: 1.984 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.001e-05/0.1703, allocations: 19.81 kB / 485.5 MB, free: 1.965 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003351/0.1706, allocations: 223.7 kB / 485.7 MB, free: 1.703 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.853e-05/0.1706, allocations: 3.938 kB / 485.7 MB, free: 1.699 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.252e-05/0.1707, allocations: 0 / 485.7 MB, free: 1.699 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000184/0.1708, allocations: 49.67 kB / 485.7 MB, free: 1.645 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.447e-06/0.1709, allocations: 0 / 485.7 MB, free: 1.645 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.99e-05/0.1709, allocations: 4 kB / 485.7 MB, free: 1.641 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.1709, allocations: 0 / 485.7 MB, free: 1.641 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.899e-05/0.171, allocations: 11.98 kB / 485.7 MB, free: 1.629 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002605/0.1712, allocations: 201.5 kB / 485.9 MB, free: 1.383 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001588/0.1714, allocations: 58.55 kB / 486 MB, free: 1.316 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.059e-05/0.1715, allocations: 16.86 kB / 486 MB, free: 1.297 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.68e-05/0.1715, allocations: 3.984 kB / 486 MB, free: 1.293 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001796/0.1717, allocations: 63.39 kB / 486.1 MB, free: 1.219 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.413e-06/0.1717, allocations: 0 / 486.1 MB, free: 1.219 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002945/0.172, allocations: 97.52 kB / 486.2 MB, free: 1.117 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.131e-05/0.1721, allocations: 51.41 kB / 486.2 MB, free: 1.055 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002908/0.1724, allocations: 275.9 kB / 486.5 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.069e-05/0.1724, allocations: 29.7 kB / 486.5 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.709e-05/0.1725, allocations: 112.1 kB / 486.6 MB, free: 0.625 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.326e-05/0.1725, allocations: 11.89 kB / 486.6 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.871e-06/0.1725, allocations: 4 kB / 486.6 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001453/0.1727, allocations: 330.8 kB / 487 MB, free: 284 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.955e-05/0.1727, allocations: 15.98 kB / 487 MB, free: 268 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.317e-05/0.1728, allocations: 25.72 kB / 487 MB, free: 236 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.17e-05/0.1729, allocations: 15.98 kB / 487 MB, free: 220 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.1729, allocations: 0 / 487 MB, free: 220 kB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001707/0.1731, allocations: 85.44 kB / 487.1 MB, free: 128 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.1731, allocations: 12.03 kB / 487.1 MB, free: 116 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.1731, allocations: 0 / 487.1 MB, free: 116 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.1731, allocations: 0 / 487.1 MB, free: 116 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.486e-05/0.1732, allocations: 8 kB / 487.1 MB, free: 108 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.1732, allocations: 3.984 kB / 487.1 MB, free: 104 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.284e-05/0.1733, allocations: 11.94 kB / 487.1 MB, free: 92 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.977e-06/0.1733, allocations: 4 kB / 487.2 MB, free: 88 kB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001559/0.1734, allocations: 133.7 kB / 487.3 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.527e-05/0.1735, allocations: 15.81 kB / 487.3 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.998e-05/0.1735, allocations: 28.92 kB / 487.3 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.1735, allocations: 320 / 487.3 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.1735, allocations: 0 / 487.3 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.1736, allocations: 3.984 kB / 487.3 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001782/0.1737, allocations: 205.6 kB / 487.5 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.1737, allocations: 0 / 487.5 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.347e-05/0.1738, allocations: 4 kB / 487.5 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.1738, allocations: 0 / 487.5 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-06/0.1738, allocations: 0 / 487.5 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.1738, allocations: 0 / 487.5 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1738, allocations: 0 / 487.5 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00019/0.174, allocations: 116.9 kB / 487.6 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.398e-05/0.1741, allocations: 100.9 kB / 487.7 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.074e-05/0.1741, allocations: 0 / 487.7 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.896e-05/0.1742, allocations: 4 kB / 487.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.747e-05/0.1742, allocations: 7.922 kB / 487.8 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.249e-05/0.1742, allocations: 4 kB / 487.8 MB, free: 15.38 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001909/0.1744, allocations: 196.6 kB / 488 MB, free: 15.19 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1744, allocations: 4 kB / 488 MB, free: 15.19 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002174/0.1746, allocations: 23.98 kB / 488 MB, free: 15.16 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * 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.0009772/0.1756, allocations: 421.9 kB / 488.4 MB, free: 14.89 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001522/0.1758, allocations: 39.98 kB / 488.4 MB, free: 14.85 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.1758, allocations: 0 / 488.4 MB, free: 14.85 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.825e-05/0.1759, allocations: 23.92 kB / 488.5 MB, free: 14.82 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000248/0.1761, allocations: 31.05 kB / 488.5 MB, free: 14.8 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004794/0.1766, allocations: 299.4 kB / 488.8 MB, free: 14.47 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003232/0.1769, allocations: 0.7246 MB / 489.5 MB, free: 13.72 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.213e-05/0.177, allocations: 11.44 kB / 489.5 MB, free: 13.71 MB / 366.1 MB Notification: Performance of SimCode: time 2.21e-07/0.177, allocations: 4 kB / 489.5 MB, free: 13.71 MB / 366.1 MB Notification: Performance of Templates: time 0.003775/0.1808, allocations: 1.85 MB / 491.4 MB, free: 11.86 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.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.Tables.CombiTimeTable.Test61CalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61CalcHelperMain.o] Error 1