Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.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.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13") translateModel(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001367/0.001367, allocations: 89.98 kB / 16.67 MB, free: 6.594 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.002137/0.002138, allocations: 180.5 kB / 17.57 MB, free: 6.188 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.956/1.956, allocations: 205.4 MB / 223.8 MB, free: 13.08 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.2554/0.2554, allocations: 43.59 MB / 315.6 MB, free: 416 kB / 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.0005598/0.0005598, allocations: 21.16 kB / 385.2 MB, free: 56.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1725/0.173, allocations: 58.87 MB / 444.1 MB, free: 5.152 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.002737/0.1758, allocations: 1.616 MB / 445.7 MB, free: 3.523 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001306/0.1772, allocations: 0.808 MB / 446.5 MB, free: 2.707 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001272/0.1773, allocations: 7.938 kB / 446.5 MB, free: 2.699 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000377/0.1777, allocations: 39.77 kB / 446.6 MB, free: 2.66 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002324/0.178, allocations: 51.77 kB / 446.6 MB, free: 2.609 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002968/0.1783, allocations: 87.28 kB / 446.7 MB, free: 2.527 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002379/0.1785, allocations: 135.5 kB / 446.8 MB, free: 2.395 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001691/0.1787, allocations: 25.5 kB / 446.9 MB, free: 2.363 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001124/0.1788, allocations: 47.72 kB / 446.9 MB, free: 2.316 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001093/0.1789, allocations: 47.7 kB / 447 MB, free: 2.27 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.14e-05/0.179, allocations: 4 kB / 447 MB, free: 2.266 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001032/0.1791, allocations: 43.92 kB / 447 MB, free: 2.223 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.969e-05/0.1791, allocations: 19.92 kB / 447 MB, free: 2.203 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.479e-05/0.1792, allocations: 69.38 kB / 447.1 MB, free: 2.129 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002019/0.1794, allocations: 99.77 kB / 447.2 MB, free: 2.031 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.1795, allocations: 0 / 447.2 MB, free: 2.031 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.785e-06/0.1795, allocations: 0 / 447.2 MB, free: 2.031 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.713e-06/0.1795, allocations: 4 kB / 447.2 MB, free: 2.027 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006875/0.1802, allocations: 460.6 kB / 447.7 MB, free: 1.523 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.1802, allocations: 8.031 kB / 447.7 MB, free: 1.516 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.974e-05/0.1803, allocations: 16.75 kB / 447.7 MB, free: 1.5 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002469/0.1805, allocations: 225.2 kB / 447.9 MB, free: 1.242 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.07e-05/0.1806, allocations: 4.375 kB / 447.9 MB, free: 1.238 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.724e-05/0.1806, allocations: 16.12 kB / 447.9 MB, free: 1.223 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002295/0.1808, allocations: 120.1 kB / 448 MB, free: 1.09 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.377e-06/0.1809, allocations: 0 / 448 MB, free: 1.09 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.616e-05/0.1809, allocations: 4 kB / 448 MB, free: 1.086 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.1809, allocations: 4 kB / 448 MB, free: 1.082 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001357/0.181, allocations: 47.97 kB / 448.1 MB, free: 1.035 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004841/0.1815, allocations: 0.5048 MB / 448.6 MB, free: 484 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003238/0.1819, allocations: 90.61 kB / 448.7 MB, free: 384 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.586e-05/0.182, allocations: 40.83 kB / 448.7 MB, free: 340 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.935e-05/0.182, allocations: 11.94 kB / 448.7 MB, free: 328 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002201/0.1822, allocations: 83.38 kB / 448.8 MB, free: 232 kB / 318.1 MB Notification: Performance of pre-optimization done (n=9): time 1.492e-06/0.1822, allocations: 0 / 448.8 MB, free: 232 kB / 318.1 MB Notification: Performance of matching and sorting (n=9): time 0.000383/0.1826, allocations: 149.3 kB / 449 MB, free: 76 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.642e-05/0.1827, allocations: 59.34 kB / 449 MB, free: 4 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002357/0.1829, allocations: 187.5 kB / 449.2 MB, free: 15.81 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.588e-05/0.183, allocations: 33.7 kB / 449.2 MB, free: 15.77 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001075/0.1831, allocations: 119.9 kB / 449.3 MB, free: 15.64 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.311e-05/0.1831, allocations: 31.62 kB / 449.4 MB, free: 15.61 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.444e-05/0.1832, allocations: 17.72 kB / 449.4 MB, free: 15.59 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001606/0.1833, allocations: 322.8 kB / 449.7 MB, free: 15.27 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.841e-05/0.1834, allocations: 35.92 kB / 449.7 MB, free: 15.23 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000106/0.1835, allocations: 68.28 kB / 449.8 MB, free: 15.15 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000197/0.1837, allocations: 100.2 kB / 449.9 MB, free: 15.04 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.317e-06/0.1838, allocations: 0 / 449.9 MB, free: 15.04 MB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000287/0.1841, allocations: 141.3 kB / 450.1 MB, free: 14.89 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.1841, allocations: 6.188 kB / 450.1 MB, free: 14.89 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.1841, allocations: 4 kB / 450.1 MB, free: 14.88 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.1841, allocations: 0 / 450.1 MB, free: 14.88 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001068/0.1842, allocations: 35.98 kB / 450.1 MB, free: 14.85 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.515e-06/0.1842, allocations: 0 / 450.1 MB, free: 14.85 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.836e-05/0.1843, allocations: 11.91 kB / 450.1 MB, free: 14.84 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.384e-05/0.1843, allocations: 11.98 kB / 450.1 MB, free: 14.82 MB / 334.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 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001161/0.1845, allocations: 125.8 kB / 450.2 MB, free: 14.69 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.219e-05/0.1845, allocations: 11.91 kB / 450.3 MB, free: 14.68 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.422e-05/0.1846, allocations: 21.86 kB / 450.3 MB, free: 14.66 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.1846, allocations: 3.938 kB / 450.3 MB, free: 14.65 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.1846, allocations: 4 kB / 450.3 MB, free: 14.65 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.1846, allocations: 4 kB / 450.3 MB, free: 14.64 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002053/0.1848, allocations: 217.4 kB / 450.5 MB, free: 14.38 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.1848, allocations: 3.938 kB / 450.5 MB, free: 14.38 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.048e-05/0.1849, allocations: 8 kB / 450.5 MB, free: 14.37 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.1849, allocations: 3.984 kB / 450.5 MB, free: 14.37 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.1849, allocations: 4 kB / 450.5 MB, free: 14.36 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.679e-06/0.1849, allocations: 3.938 kB / 450.5 MB, free: 14.36 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.1849, allocations: 0 / 450.5 MB, free: 14.36 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004341/0.1854, allocations: 184.9 kB / 450.7 MB, free: 14.16 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.049e-05/0.1855, allocations: 100.9 kB / 450.8 MB, free: 14.04 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.429e-05/0.1855, allocations: 0 / 450.8 MB, free: 14.04 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.227e-05/0.1856, allocations: 7.938 kB / 450.8 MB, free: 14.04 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.425e-05/0.1856, allocations: 12.05 kB / 450.8 MB, free: 14.02 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.21e-05/0.1857, allocations: 8 kB / 450.8 MB, free: 14.02 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001425/0.1858, allocations: 137.2 kB / 451 MB, free: 13.88 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1858, allocations: 4 kB / 451 MB, free: 13.88 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000236/0.1861, allocations: 20 kB / 451 MB, free: 13.86 MB / 334.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 (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.001089/0.1872, allocations: 428.9 kB / 451.4 MB, free: 13.51 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002751/0.1874, allocations: 83.89 kB / 451.5 MB, free: 13.43 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.1875, allocations: 0 / 451.5 MB, free: 13.43 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001044/0.1876, allocations: 39.92 kB / 451.5 MB, free: 13.39 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003798/0.188, allocations: 35.97 kB / 451.6 MB, free: 13.36 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000628/0.1886, allocations: 343.7 kB / 451.9 MB, free: 12.99 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003913/0.189, allocations: 0.7162 MB / 452.6 MB, free: 12.25 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.431e-05/0.1891, allocations: 15.44 kB / 452.6 MB, free: 12.23 MB / 334.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1891, allocations: 0 / 452.6 MB, free: 12.23 MB / 334.1 MB Notification: Performance of Templates: time 0.004963/0.194, allocations: 2.133 MB / 454.8 MB, free: 10.11 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.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.Tables.CombiTimeTable.Test13CalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13CalcHelperMain.o] Error 1