Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Tables.CombiTimeTable.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11") translateModel(ModelicaTest.Tables.CombiTimeTable.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000919/0.0009187, allocations: 88.03 kB / 17.63 MB, free: 6.133 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.001194/0.001194, allocations: 184.1 kB / 18.52 MB, free: 5.297 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.474/1.474, allocations: 223.3 MB / 242.5 MB, free: 14.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2257/0.2257, allocations: 44.22 MB / 337.9 MB, free: 2.57 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003234/0.0003234, allocations: 8 kB / 410.3 MB, free: 27.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1466/0.147, allocations: 61.93 MB / 472.2 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.003322/0.1504, allocations: 1.579 MB / 473.8 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001978/0.1524, allocations: 0.8348 MB / 474.6 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001563/0.1525, allocations: 7.938 kB / 474.6 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004011/0.153, allocations: 39.83 kB / 474.7 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002597/0.1532, allocations: 47.77 kB / 474.7 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004186/0.1537, allocations: 103.3 kB / 474.8 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002679/0.1539, allocations: 123.5 kB / 474.9 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001513/0.1541, allocations: 29.47 kB / 475 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001333/0.1543, allocations: 47.73 kB / 475 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001236/0.1544, allocations: 39.72 kB / 475 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.578e-05/0.1544, allocations: 4 kB / 475 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001212/0.1546, allocations: 39.97 kB / 475.1 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.147e-05/0.1546, allocations: 15.92 kB / 475.1 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.618e-05/0.1547, allocations: 49.64 kB / 475.1 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000229/0.1549, allocations: 104 kB / 475.2 MB, free: 10.63 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.9e-06/0.155, allocations: 0 / 475.2 MB, free: 10.63 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.155, allocations: 0 / 475.2 MB, free: 10.63 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.721e-06/0.155, allocations: 0 / 475.2 MB, free: 10.63 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.000838/0.1558, allocations: 458.7 kB / 475.7 MB, free: 10.13 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.6e-05/0.1559, allocations: 11.97 kB / 475.7 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.212e-05/0.156, allocations: 23.75 kB / 475.7 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003618/0.1564, allocations: 214.8 kB / 475.9 MB, free: 9.844 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.742e-05/0.1564, allocations: 8 kB / 476 MB, free: 9.836 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.111e-05/0.1565, allocations: 4 kB / 476 MB, free: 9.832 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003396/0.1568, allocations: 116.1 kB / 476.1 MB, free: 9.703 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.1568, allocations: 0 / 476.1 MB, free: 9.703 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.72e-05/0.1569, allocations: 0 / 476.1 MB, free: 9.703 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.241e-06/0.1569, allocations: 4 kB / 476.1 MB, free: 9.699 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002385/0.1571, allocations: 55.91 kB / 476.1 MB, free: 9.645 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008454/0.158, allocations: 0.5126 MB / 476.6 MB, free: 9.074 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004926/0.1585, allocations: 86.59 kB / 476.7 MB, free: 8.98 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001236/0.1586, allocations: 40.84 kB / 476.8 MB, free: 8.938 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.126e-05/0.1587, allocations: 4 kB / 476.8 MB, free: 8.934 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003684/0.1591, allocations: 83.38 kB / 476.8 MB, free: 8.84 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.723e-06/0.1591, allocations: 0 / 476.8 MB, free: 8.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005899/0.1597, allocations: 145.5 kB / 477 MB, free: 8.691 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.827e-05/0.1598, allocations: 59.39 kB / 477 MB, free: 8.621 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002706/0.16, allocations: 191.3 kB / 477.2 MB, free: 8.418 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.6e-05/0.1601, allocations: 29.7 kB / 477.3 MB, free: 8.383 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001131/0.1602, allocations: 112 kB / 477.4 MB, free: 8.27 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.134e-05/0.1603, allocations: 27.64 kB / 477.4 MB, free: 8.242 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.227e-05/0.1603, allocations: 8 kB / 477.4 MB, free: 8.234 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002227/0.1605, allocations: 322.8 kB / 477.7 MB, free: 7.91 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001318/0.1607, allocations: 35.98 kB / 477.8 MB, free: 7.875 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001607/0.1608, allocations: 64.27 kB / 477.8 MB, free: 7.797 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001411/0.161, allocations: 40.31 kB / 477.9 MB, free: 7.758 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.161, allocations: 4 kB / 477.9 MB, free: 7.754 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004383/0.1615, allocations: 133.3 kB / 478 MB, free: 7.617 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.623e-05/0.1615, allocations: 8 kB / 478 MB, free: 7.609 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-06/0.1615, allocations: 3.938 kB / 478 MB, free: 7.605 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.096e-05/0.1616, allocations: 4 kB / 478 MB, free: 7.602 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001586/0.1617, allocations: 24.11 kB / 478 MB, free: 7.578 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.214e-05/0.1617, allocations: 4 kB / 478 MB, free: 7.574 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001221/0.1619, allocations: 27.81 kB / 478.1 MB, free: 7.547 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.467e-05/0.1619, allocations: 7.938 kB / 478.1 MB, free: 7.539 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.000182/0.1621, allocations: 132.6 kB / 478.2 MB, free: 7.402 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.443e-05/0.1621, allocations: 11.81 kB / 478.2 MB, free: 7.391 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.842e-05/0.1622, allocations: 21.39 kB / 478.2 MB, free: 7.371 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.1622, allocations: 0 / 478.2 MB, free: 7.371 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.1623, allocations: 4 kB / 478.2 MB, free: 7.367 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.1623, allocations: 0 / 478.2 MB, free: 7.367 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003066/0.1626, allocations: 209.6 kB / 478.4 MB, free: 7.113 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.1626, allocations: 0 / 478.4 MB, free: 7.113 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001022/0.1627, allocations: 19.98 kB / 478.5 MB, free: 7.094 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.095e-06/0.1627, allocations: 0 / 478.5 MB, free: 7.094 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.096e-05/0.1628, allocations: 4 kB / 478.5 MB, free: 7.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.1628, allocations: 0 / 478.5 MB, free: 7.09 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.1628, allocations: 4 kB / 478.5 MB, free: 7.086 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006055/0.1634, allocations: 188.8 kB / 478.7 MB, free: 6.883 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.561e-05/0.1635, allocations: 92.97 kB / 478.7 MB, free: 6.773 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.465e-05/0.1635, allocations: 0 / 478.7 MB, free: 6.773 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001091/0.1637, allocations: 16.17 kB / 478.8 MB, free: 6.758 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.585e-05/0.1637, allocations: 4.062 kB / 478.8 MB, free: 6.754 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.871e-05/0.1638, allocations: 11.92 kB / 478.8 MB, free: 6.742 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000201/0.164, allocations: 141.2 kB / 478.9 MB, free: 6.605 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.164, allocations: 0 / 478.9 MB, free: 6.605 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004849/0.1645, allocations: 27.89 kB / 478.9 MB, free: 6.578 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (9): * Single equations (assignments): 7 * 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.001286/0.1658, allocations: 414.7 kB / 479.3 MB, free: 6.32 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002945/0.1661, allocations: 83.91 kB / 479.4 MB, free: 6.238 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.788e-06/0.1661, allocations: 0 / 479.4 MB, free: 6.238 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001226/0.1663, allocations: 43.91 kB / 479.5 MB, free: 6.195 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003741/0.1666, allocations: 43.84 kB / 479.5 MB, free: 6.156 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008048/0.1675, allocations: 316.1 kB / 479.8 MB, free: 5.82 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005058/0.168, allocations: 0.7165 MB / 480.5 MB, free: 5.078 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.503e-05/0.168, allocations: 19.44 kB / 480.6 MB, free: 5.059 MB / 350.1 MB Notification: Performance of SimCode: time 6.11e-07/0.1681, allocations: 0 / 480.6 MB, free: 5.059 MB / 350.1 MB Notification: Performance of Templates: time 0.004508/0.1726, allocations: 2.124 MB / 482.7 MB, free: 2.934 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.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_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11CalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11CalcHelperMain.o] Error 1