Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.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.CombiTable1Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007638/0.0007638, allocations: 92.11 kB / 17.63 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008804/0.0008804, allocations: 192.5 kB / 18.54 MB, free: 5.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.506/1.506, allocations: 227.3 MB / 246.6 MB, free: 12.04 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2724/0.2724, allocations: 45.92 MB / 344.7 MB, free: 12.24 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002656/0.0002656, allocations: 8 kB / 418.7 MB, free: 20.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1486/0.1488, allocations: 63.47 MB / 482.1 MB, free: 5.398 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test1): time 0.001846/0.1507, allocations: 1.295 MB / 483.4 MB, free: 4.09 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009014/0.1516, allocations: 483.3 kB / 483.9 MB, free: 3.613 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.601e-05/0.1517, allocations: 3.938 kB / 483.9 MB, free: 3.609 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000153/0.1519, allocations: 15.94 kB / 483.9 MB, free: 3.594 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002003/0.1521, allocations: 59.81 kB / 484 MB, free: 3.535 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002003/0.1523, allocations: 75.84 kB / 484 MB, free: 3.461 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001193/0.1524, allocations: 59.77 kB / 484.1 MB, free: 3.402 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.819e-05/0.1525, allocations: 12 kB / 484.1 MB, free: 3.391 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.006e-05/0.1525, allocations: 19.92 kB / 484.1 MB, free: 3.371 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.497e-05/0.1526, allocations: 15.86 kB / 484.1 MB, free: 3.355 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.668e-06/0.1526, allocations: 3.938 kB / 484.2 MB, free: 3.352 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.787e-05/0.1527, allocations: 31.98 kB / 484.2 MB, free: 3.32 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.456e-05/0.1527, allocations: 11.92 kB / 484.2 MB, free: 3.309 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.462e-05/0.1528, allocations: 29.7 kB / 484.2 MB, free: 3.273 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000103/0.1529, allocations: 51.92 kB / 484.3 MB, free: 3.223 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.1529, allocations: 4 kB / 484.3 MB, free: 3.219 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.916e-06/0.1529, allocations: 0 / 484.3 MB, free: 3.219 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.196e-06/0.1529, allocations: 3.938 kB / 484.3 MB, free: 3.215 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003941/0.1533, allocations: 383.3 kB / 484.7 MB, free: 2.793 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.369e-05/0.1533, allocations: 8.031 kB / 484.7 MB, free: 2.785 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.628e-05/0.1534, allocations: 11.91 kB / 484.7 MB, free: 2.773 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001759/0.1536, allocations: 186.9 kB / 484.9 MB, free: 2.551 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.836e-06/0.1536, allocations: 4 kB / 484.9 MB, free: 2.547 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.704e-05/0.1536, allocations: 4 kB / 484.9 MB, free: 2.543 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001141/0.1537, allocations: 45.69 kB / 484.9 MB, free: 2.492 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.184e-06/0.1538, allocations: 4 kB / 484.9 MB, free: 2.488 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.583e-06/0.1538, allocations: 0 / 484.9 MB, free: 2.488 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.426e-06/0.1538, allocations: 0 / 484.9 MB, free: 2.488 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.107e-05/0.1539, allocations: 27.92 kB / 484.9 MB, free: 2.461 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003247/0.1542, allocations: 272.9 kB / 485.2 MB, free: 2.145 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001732/0.1544, allocations: 46.56 kB / 485.3 MB, free: 2.09 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.7e-05/0.1544, allocations: 16.94 kB / 485.3 MB, free: 2.07 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.263e-05/0.1545, allocations: 7.938 kB / 485.3 MB, free: 2.062 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.126e-05/0.1545, allocations: 30.56 kB / 485.3 MB, free: 2.023 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 9.91e-07/0.1545, allocations: 0 / 485.3 MB, free: 2.023 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005191/0.155, allocations: 161.2 kB / 485.5 MB, free: 1.859 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.872e-05/0.1551, allocations: 59.36 kB / 485.5 MB, free: 1.789 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001422/0.1552, allocations: 150.1 kB / 485.7 MB, free: 1.629 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.585e-05/0.1552, allocations: 29.7 kB / 485.7 MB, free: 1.594 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.952e-05/0.1553, allocations: 100 kB / 485.8 MB, free: 1.492 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.581e-05/0.1553, allocations: 7.812 kB / 485.8 MB, free: 1.484 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.875e-06/0.1553, allocations: 0 / 485.8 MB, free: 1.484 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000116/0.1554, allocations: 322.8 kB / 486.1 MB, free: 1.16 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.046e-05/0.1555, allocations: 23.98 kB / 486.1 MB, free: 1.137 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.132e-05/0.1556, allocations: 23.98 kB / 486.2 MB, free: 1.113 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.648e-05/0.1556, allocations: 20 kB / 486.2 MB, free: 1.094 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.1556, allocations: 0 / 486.2 MB, free: 1.094 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001614/0.1558, allocations: 97.5 kB / 486.3 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.1558, allocations: 8 kB / 486.3 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.1558, allocations: 0 / 486.3 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.348e-06/0.1559, allocations: 3.938 kB / 486.3 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.229e-05/0.1559, allocations: 15.95 kB / 486.3 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.1559, allocations: 7.922 kB / 486.3 MB, free: 0.957 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.528e-05/0.156, allocations: 4 kB / 486.3 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.262e-06/0.156, allocations: 4.25 kB / 486.3 MB, free: 0.9492 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 7.699e-05/0.1561, allocations: 118.4 kB / 486.4 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.783e-05/0.1561, allocations: 7.906 kB / 486.4 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002035/0.1563, allocations: 101.9 kB / 486.5 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.1563, allocations: 288 / 486.5 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-06/0.1563, allocations: 7.953 kB / 486.6 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.1563, allocations: 11.92 kB / 486.6 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003751/0.1567, allocations: 346.6 kB / 486.9 MB, free: 304 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1567, allocations: 0 / 486.9 MB, free: 304 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.247e-05/0.1568, allocations: 15.98 kB / 486.9 MB, free: 288 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.1568, allocations: 4 kB / 486.9 MB, free: 284 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.18e-05/0.1569, allocations: 7.953 kB / 486.9 MB, free: 276 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.1569, allocations: 0 / 486.9 MB, free: 276 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.1569, allocations: 0 / 486.9 MB, free: 276 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002039/0.1571, allocations: 187.4 kB / 487.1 MB, free: 72 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.737e-05/0.1572, allocations: 89 kB / 487.2 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.278e-05/0.1572, allocations: 0 / 487.2 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.29e-05/0.1572, allocations: 11.95 kB / 487.2 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.913e-05/0.1573, allocations: 3.984 kB / 487.2 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.471e-06/0.1573, allocations: 4 kB / 487.2 MB, free: 15.95 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.951e-05/0.1574, allocations: 117.3 kB / 487.3 MB, free: 15.83 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1574, allocations: 0 / 487.3 MB, free: 15.83 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002246/0.1576, allocations: 16 kB / 487.4 MB, free: 15.82 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.0008687/0.1585, allocations: 401.1 kB / 487.7 MB, free: 15.56 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001564/0.1587, allocations: 51.91 kB / 487.8 MB, free: 15.51 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.1587, allocations: 0 / 487.8 MB, free: 15.51 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.366e-05/0.1588, allocations: 31.98 kB / 487.8 MB, free: 15.48 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000272/0.159, allocations: 15.98 kB / 487.8 MB, free: 15.46 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003421/0.1594, allocations: 211 kB / 488 MB, free: 15.22 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002275/0.1596, allocations: 0.6956 MB / 488.7 MB, free: 14.5 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.254e-05/0.1597, allocations: 19.42 kB / 488.8 MB, free: 14.48 MB / 366.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1597, allocations: 0 / 488.8 MB, free: 14.48 MB / 366.1 MB Notification: Performance of Templates: time 0.003074/0.1627, allocations: 1.407 MB / 490.2 MB, free: 13.07 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.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.CombiTable1Ds.Test1CalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1CalcHelperMain.o] Error 1