Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9") translateModel(ModelicaTest.Tables.CombiTimeTable.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001913/0.001913, allocations: 106.2 kB / 16.52 MB, free: 6.723 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.00164/0.00164, allocations: 192.4 kB / 17.44 MB, free: 6.055 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.852/1.852, allocations: 205.1 MB / 223.3 MB, free: 12.49 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.2905/0.2905, allocations: 43.51 MB / 314.1 MB, free: 0.7578 MB / 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.002112/0.002112, allocations: 70.48 kB / 382.7 MB, free: 57.02 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1707/0.1728, allocations: 57.79 MB / 440.5 MB, free: 7.527 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.003741/0.1766, allocations: 1.754 MB / 442.2 MB, free: 5.754 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00154/0.1782, allocations: 0.7889 MB / 443 MB, free: 4.957 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.261e-05/0.1783, allocations: 0 / 443 MB, free: 4.957 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004516/0.1788, allocations: 83.75 kB / 443.1 MB, free: 4.875 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002118/0.179, allocations: 59.8 kB / 443.2 MB, free: 4.816 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002475/0.1793, allocations: 79.84 kB / 443.2 MB, free: 4.738 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001897/0.1795, allocations: 99.69 kB / 443.3 MB, free: 4.641 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001343/0.1796, allocations: 20.48 kB / 443.4 MB, free: 4.621 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.692e-05/0.1797, allocations: 43.78 kB / 443.4 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001171/0.1798, allocations: 59.75 kB / 443.5 MB, free: 4.52 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.826e-05/0.1799, allocations: 0 / 443.5 MB, free: 4.52 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001129/0.18, allocations: 43.98 kB / 443.5 MB, free: 4.477 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.666e-05/0.1801, allocations: 19.92 kB / 443.5 MB, free: 4.457 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.567e-05/0.1801, allocations: 35.73 kB / 443.6 MB, free: 4.422 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000189/0.1803, allocations: 87.77 kB / 443.6 MB, free: 4.336 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.1803, allocations: 4 kB / 443.6 MB, free: 4.332 MB / 318.1 MB Notification: Performance of FrontEnd: time 9.62e-07/0.1803, allocations: 0 / 443.6 MB, free: 4.332 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.229e-06/0.1803, allocations: 0 / 443.6 MB, free: 4.332 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006535/0.181, allocations: 423 kB / 444.1 MB, free: 3.871 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.794e-05/0.1811, allocations: 8.031 kB / 444.1 MB, free: 3.863 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.276e-05/0.1811, allocations: 16.75 kB / 444.1 MB, free: 3.848 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002553/0.1814, allocations: 209.3 kB / 444.3 MB, free: 3.605 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.807e-05/0.1814, allocations: 4.375 kB / 444.3 MB, free: 3.602 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.655e-05/0.1815, allocations: 4.125 kB / 444.3 MB, free: 3.598 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001975/0.1817, allocations: 57.67 kB / 444.4 MB, free: 3.535 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.16e-05/0.1817, allocations: 4 kB / 444.4 MB, free: 3.531 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.593e-05/0.1817, allocations: 0 / 444.4 MB, free: 3.531 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.1817, allocations: 0 / 444.4 MB, free: 3.531 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.464e-05/0.1818, allocations: 27.86 kB / 444.4 MB, free: 3.504 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004631/0.1823, allocations: 296.7 kB / 444.7 MB, free: 3.164 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001885/0.1825, allocations: 62.66 kB / 444.7 MB, free: 3.094 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.492e-05/0.1826, allocations: 20.84 kB / 444.8 MB, free: 3.07 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.689e-05/0.1826, allocations: 4 kB / 444.8 MB, free: 3.066 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001646/0.1828, allocations: 67.33 kB / 444.8 MB, free: 2.988 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 2.054e-06/0.1828, allocations: 0 / 444.8 MB, free: 2.988 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005602/0.1833, allocations: 173.3 kB / 445 MB, free: 2.812 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.559e-05/0.1834, allocations: 63.33 kB / 445.1 MB, free: 2.738 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001654/0.1836, allocations: 206.4 kB / 445.3 MB, free: 2.527 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.256e-05/0.1836, allocations: 25.7 kB / 445.3 MB, free: 2.496 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.997e-05/0.1836, allocations: 108.1 kB / 445.4 MB, free: 2.387 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.251e-05/0.1837, allocations: 23.66 kB / 445.4 MB, free: 2.363 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.538e-05/0.1837, allocations: 21.7 kB / 445.4 MB, free: 2.336 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.155e-05/0.1838, allocations: 330.8 kB / 445.8 MB, free: 2.004 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.456e-05/0.1839, allocations: 23.98 kB / 445.8 MB, free: 1.98 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.535e-05/0.1839, allocations: 33.7 kB / 445.8 MB, free: 1.941 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.848e-05/0.184, allocations: 61.66 kB / 445.9 MB, free: 1.875 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.184, allocations: 0 / 445.9 MB, free: 1.875 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001712/0.1842, allocations: 101.5 kB / 446 MB, free: 1.77 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.271e-05/0.1843, allocations: 8 kB / 446 MB, free: 1.762 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.1843, allocations: 4.406 kB / 446 MB, free: 1.758 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.31e-05/0.1843, allocations: 0 / 446 MB, free: 1.758 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001149/0.1844, allocations: 19.94 kB / 446 MB, free: 1.738 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.1844, allocations: 8 kB / 446 MB, free: 1.73 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.848e-05/0.1845, allocations: 7.922 kB / 446 MB, free: 1.723 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.037e-05/0.1845, allocations: 4 kB / 446 MB, free: 1.719 MB / 318.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 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001197/0.1846, allocations: 133.8 kB / 446.2 MB, free: 1.578 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.003e-05/0.1847, allocations: 7.906 kB / 446.2 MB, free: 1.57 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.087e-05/0.1847, allocations: 17.41 kB / 446.2 MB, free: 1.551 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.1847, allocations: 4 kB / 446.2 MB, free: 1.547 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.1847, allocations: 0 / 446.2 MB, free: 1.547 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.1847, allocations: 3.938 kB / 446.2 MB, free: 1.543 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003658/0.1851, allocations: 395.2 kB / 446.6 MB, free: 1.098 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.1851, allocations: 0 / 446.6 MB, free: 1.098 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.155e-05/0.1852, allocations: 8 kB / 446.6 MB, free: 1.09 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.1852, allocations: 4.125 kB / 446.6 MB, free: 1.086 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.302e-05/0.1852, allocations: 7.938 kB / 446.6 MB, free: 1.078 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.1852, allocations: 11.91 kB / 446.6 MB, free: 1.066 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.1852, allocations: 0 / 446.6 MB, free: 1.066 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002029/0.1854, allocations: 204.3 kB / 446.8 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.154e-05/0.1855, allocations: 88.92 kB / 446.9 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.957e-05/0.1855, allocations: 7.938 kB / 446.9 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.586e-05/0.1856, allocations: 4 kB / 446.9 MB, free: 0.7305 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.631e-05/0.1856, allocations: 11.98 kB / 446.9 MB, free: 0.7188 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.667e-05/0.1857, allocations: 4 kB / 446.9 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001169/0.1858, allocations: 156.2 kB / 447.1 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1858, allocations: 0 / 447.1 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002554/0.1861, allocations: 20 kB / 447.1 MB, free: 0.543 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.001176/0.1872, allocations: 474.1 kB / 447.6 MB, free: 160 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001901/0.1874, allocations: 47.98 kB / 447.6 MB, free: 112 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.1874, allocations: 7.938 kB / 447.6 MB, free: 104 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 7.1e-05/0.1875, allocations: 31.92 kB / 447.6 MB, free: 72 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003591/0.1879, allocations: 23.98 kB / 447.7 MB, free: 48 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006847/0.1886, allocations: 298.5 kB / 448 MB, free: 15.72 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006091/0.1892, allocations: 0.7122 MB / 448.7 MB, free: 14.98 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.475e-05/0.1893, allocations: 15.44 kB / 448.7 MB, free: 14.97 MB / 334.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1893, allocations: 0 / 448.7 MB, free: 14.97 MB / 334.1 MB Notification: Performance of Templates: time 0.00522/0.1945, allocations: 1.95 MB / 450.6 MB, free: 13.02 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.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.Test9CalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9CalcHelperMain.o] Error 1