Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.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.Rotational.TestSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|speed1.phi|speed1.w|speed2.phi|speed3.s|speed3.v|speed4.s",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed") translateModel(ModelicaTest.Rotational.TestSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|speed1.phi|speed1.w|speed2.phi|speed3.s|speed3.v|speed4.s",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001834/0.001833, allocations: 105.8 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.001669/0.001669, 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.841/1.841, 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.2537/0.2537, 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.001612/0.001612, allocations: 67.11 kB / 382.7 MB, free: 57.02 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1699/0.1716, allocations: 57.78 MB / 440.4 MB, free: 7.543 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.00419/0.1759, allocations: 2.66 MB / 443.1 MB, free: 4.859 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001063/0.177, allocations: 0.6865 MB / 443.8 MB, free: 4.164 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001556/0.1771, allocations: 4 kB / 443.8 MB, free: 4.16 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002027/0.1773, allocations: 31.7 kB / 443.8 MB, free: 4.129 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001605/0.1775, allocations: 75.39 kB / 443.9 MB, free: 4.055 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002975/0.1778, allocations: 79.92 kB / 444 MB, free: 3.977 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003269/0.1782, allocations: 318.5 kB / 444.3 MB, free: 3.664 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001971/0.1784, allocations: 77.3 kB / 444.4 MB, free: 3.594 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001731/0.1786, allocations: 119.5 kB / 444.5 MB, free: 3.477 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000167/0.1787, allocations: 123.3 kB / 444.6 MB, free: 3.355 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.743e-05/0.1788, allocations: 12 kB / 444.6 MB, free: 3.344 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.934e-05/0.1788, allocations: 16 kB / 444.6 MB, free: 3.328 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.491e-05/0.1789, allocations: 59.69 kB / 444.7 MB, free: 3.27 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000136/0.179, allocations: 131.3 kB / 444.8 MB, free: 3.141 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002387/0.1793, allocations: 215.4 kB / 445 MB, free: 2.93 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.877e-06/0.1793, allocations: 0 / 445 MB, free: 2.93 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1793, allocations: 4 kB / 445 MB, free: 2.926 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.096e-06/0.1793, allocations: 0 / 445 MB, free: 2.926 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001014/0.1803, allocations: 0.5807 MB / 445.6 MB, free: 2.297 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.708e-05/0.1804, allocations: 8.031 kB / 445.6 MB, free: 2.289 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.393e-05/0.1805, allocations: 32.56 kB / 445.7 MB, free: 2.258 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003265/0.1808, allocations: 263.6 kB / 445.9 MB, free: 1.961 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.04e-05/0.1808, allocations: 20.94 kB / 445.9 MB, free: 1.941 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.203e-05/0.1809, allocations: 32.28 kB / 446 MB, free: 1.91 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004862/0.1814, allocations: 282.2 kB / 446.2 MB, free: 1.609 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.345e-05/0.1814, allocations: 7.984 kB / 446.2 MB, free: 1.602 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.656e-05/0.1815, allocations: 12 kB / 446.3 MB, free: 1.59 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.022e-05/0.1815, allocations: 8 kB / 446.3 MB, free: 1.582 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003737/0.1819, allocations: 179.8 kB / 446.4 MB, free: 1.406 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00148/0.1834, allocations: 1.313 MB / 447.8 MB, free: 15.98 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004985/0.1839, allocations: 242.4 kB / 448 MB, free: 15.71 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002385/0.1841, allocations: 103.5 kB / 448.1 MB, free: 15.6 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.104e-05/0.1842, allocations: 4 kB / 448.1 MB, free: 15.59 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.858e-05/0.1842, allocations: 38.56 kB / 448.1 MB, free: 15.55 MB / 334.1 MB Notification: Performance of pre-optimization done (n=26): time 1.643e-06/0.1842, allocations: 0 / 448.1 MB, free: 15.55 MB / 334.1 MB Notification: Performance of matching and sorting (n=32): time 0.002693/0.1869, allocations: 1.569 MB / 449.7 MB, free: 13.77 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.636e-05/0.187, allocations: 132.5 kB / 449.8 MB, free: 13.61 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000228/0.1873, allocations: 217 kB / 450 MB, free: 13.39 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.93e-05/0.1873, allocations: 33.7 kB / 450.1 MB, free: 13.35 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001535/0.1874, allocations: 180.2 kB / 450.3 MB, free: 13.17 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.585e-05/0.1876, allocations: 118.3 kB / 450.4 MB, free: 13.05 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001903/0.1878, allocations: 70.08 kB / 450.4 MB, free: 12.98 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001937/0.188, allocations: 342.8 kB / 450.8 MB, free: 12.63 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002966/0.1883, allocations: 100.8 kB / 450.9 MB, free: 12.54 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003178/0.1886, allocations: 237.4 kB / 451.1 MB, free: 12.24 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007402/0.1893, allocations: 372.8 kB / 451.5 MB, free: 11.82 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.1893, allocations: 0 / 451.5 MB, free: 11.82 MB / 334.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007152/0.1901, allocations: 398 kB / 451.9 MB, free: 11.42 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/0.1901, allocations: 8 kB / 451.9 MB, free: 11.41 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.1901, allocations: 4.312 kB / 451.9 MB, free: 11.41 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.181e-05/0.1901, allocations: 8 kB / 451.9 MB, free: 11.4 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003557/0.1905, allocations: 99.81 kB / 452 MB, free: 11.3 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.525e-05/0.1905, allocations: 16.45 kB / 452 MB, free: 11.29 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001943/0.1907, allocations: 23.98 kB / 452 MB, free: 11.27 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.833e-05/0.1908, allocations: 16.23 kB / 452 MB, free: 11.25 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (48): * Single equations (assignments): 48 * 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.0001669/0.1909, allocations: 165.6 kB / 452.2 MB, free: 11.08 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001002/0.1911, allocations: 27.66 kB / 452.2 MB, free: 11.05 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.771e-05/0.1911, allocations: 41.64 kB / 452.3 MB, free: 11.01 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.1912, allocations: 4 kB / 452.3 MB, free: 11.01 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/0.1912, allocations: 0 / 452.3 MB, free: 11.01 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.942e-06/0.1912, allocations: 3.984 kB / 452.3 MB, free: 11 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001529/0.1927, allocations: 0.9931 MB / 453.3 MB, free: 9.945 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.1927, allocations: 0 / 453.3 MB, free: 9.945 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003534/0.1931, allocations: 79.89 kB / 453.3 MB, free: 9.867 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.47e-06/0.1931, allocations: 4 kB / 453.3 MB, free: 9.863 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.716e-05/0.1931, allocations: 15.92 kB / 453.4 MB, free: 9.848 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.929e-06/0.1931, allocations: 3.984 kB / 453.4 MB, free: 9.844 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.1932, allocations: 4 kB / 453.4 MB, free: 9.84 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009963/0.1942, allocations: 0.725 MB / 454.1 MB, free: 9.09 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.259e-05/0.1943, allocations: 104.8 kB / 454.2 MB, free: 8.969 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.5e-05/0.1943, allocations: 11.94 kB / 454.2 MB, free: 8.957 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002861/0.1946, allocations: 15.98 kB / 454.2 MB, free: 8.941 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.466e-05/0.1947, allocations: 27.95 kB / 454.2 MB, free: 8.914 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.852e-05/0.1947, allocations: 12 kB / 454.3 MB, free: 8.902 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000143/0.1949, allocations: 156.5 kB / 454.4 MB, free: 8.75 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1949, allocations: 0 / 454.4 MB, free: 8.75 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004583/0.1953, allocations: 68 kB / 454.5 MB, free: 8.684 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (speed4.s,speed3.s,speed3.v,speed1.phi,speed1.w,speed2.phi) * 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 (32): * Single equations (assignments): 32 * 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 Backend phase and start with SimCode phase: time 0.0001548/0.1955, allocations: 103.2 kB / 454.6 MB, free: 8.57 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006407/0.1961, allocations: 271.9 kB / 454.8 MB, free: 8.305 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.1962, allocations: 0 / 454.8 MB, free: 8.305 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002809/0.1964, allocations: 137 kB / 455 MB, free: 8.172 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008363/0.1973, allocations: 44.36 kB / 455 MB, free: 8.129 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001806/0.1991, allocations: 1.023 MB / 456 MB, free: 7.059 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006703/0.1998, allocations: 0.7644 MB / 456.8 MB, free: 6.266 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001231/0.1999, allocations: 35.36 kB / 456.8 MB, free: 6.23 MB / 334.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1999, allocations: 0 / 456.8 MB, free: 6.23 MB / 334.1 MB Notification: Performance of Templates: time 0.006299/0.2062, allocations: 3.305 MB / 460.1 MB, free: 2.938 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.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.Rotational.TestSpeedCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeedCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeedCalcHelperMain.o] Error 1