Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.TestBraking.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.TestBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.TestBraking") translateModel(ModelicaTest.Rotational.TestBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.TestBraking") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009665/0.0009665, allocations: 93.67 kB / 16.67 MB, free: 6.105 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.00118/0.00118, allocations: 180.5 kB / 17.57 MB, free: 5.824 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.958/1.958, allocations: 205.4 MB / 223.8 MB, free: 13.06 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.2814/0.2814, allocations: 43.59 MB / 315.6 MB, free: 412 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.0006067/0.0006066, allocations: 16.81 kB / 385.2 MB, free: 56.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1663/0.1669, allocations: 58.87 MB / 444.1 MB, free: 5.168 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestBraking): time 0.003211/0.1701, allocations: 2.372 MB / 446.5 MB, free: 2.781 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002342/0.1725, allocations: 0.9669 MB / 447.4 MB, free: 1.805 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005901/0.1732, allocations: 11.94 kB / 447.4 MB, free: 1.793 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002734/0.1735, allocations: 31.7 kB / 447.5 MB, free: 1.762 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000369/0.1738, allocations: 95.28 kB / 447.6 MB, free: 1.668 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007351/0.1746, allocations: 123.7 kB / 447.7 MB, free: 1.547 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003889/0.175, allocations: 362.1 kB / 448 MB, free: 1.191 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002082/0.1752, allocations: 77.62 kB / 448.1 MB, free: 1.113 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001168/0.1753, allocations: 119.5 kB / 448.2 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001788/0.1755, allocations: 131.3 kB / 448.4 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.969e-05/0.1756, allocations: 16 kB / 448.4 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001018/0.1757, allocations: 35.98 kB / 448.4 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.38e-05/0.1757, allocations: 47.78 kB / 448.5 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001357/0.1759, allocations: 176.9 kB / 448.6 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002673/0.1761, allocations: 251.3 kB / 448.9 MB, free: 352 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.1761, allocations: 3.938 kB / 448.9 MB, free: 348 kB / 318.1 MB Notification: Performance of FrontEnd: time 2.995e-06/0.1762, allocations: 0 / 448.9 MB, free: 348 kB / 318.1 MB Notification: Performance of Transformations before backend: time 7.555e-06/0.1762, allocations: 4 kB / 448.9 MB, free: 344 kB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.0008954/0.1771, allocations: 0.5382 MB / 449.4 MB, free: 15.75 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.742e-05/0.1771, allocations: 12.03 kB / 449.4 MB, free: 15.73 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002407/0.1774, allocations: 48.45 kB / 449.5 MB, free: 15.69 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004086/0.1778, allocations: 275.8 kB / 449.8 MB, free: 15.38 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.825e-05/0.1779, allocations: 21.03 kB / 449.8 MB, free: 15.36 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.64e-05/0.1779, allocations: 40.27 kB / 449.8 MB, free: 15.32 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006417/0.1786, allocations: 298.6 kB / 450.1 MB, free: 15 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.746e-05/0.1786, allocations: 7.891 kB / 450.1 MB, free: 15 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.979e-05/0.1787, allocations: 16 kB / 450.1 MB, free: 14.98 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.163e-05/0.1787, allocations: 12 kB / 450.1 MB, free: 14.97 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003283/0.179, allocations: 171.8 kB / 450.3 MB, free: 14.8 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002032/0.1811, allocations: 1.34 MB / 451.6 MB, free: 13.36 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004412/0.1815, allocations: 245.1 kB / 451.9 MB, free: 13.07 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001252/0.1817, allocations: 80.22 kB / 452 MB, free: 12.98 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.383e-05/0.1817, allocations: 4 kB / 452 MB, free: 12.97 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.791e-05/0.1817, allocations: 34.56 kB / 452 MB, free: 12.93 MB / 334.1 MB Notification: Performance of pre-optimization done (n=22): time 3.376e-06/0.1817, allocations: 4 kB / 452 MB, free: 12.93 MB / 334.1 MB Notification: Performance of matching and sorting (n=22): time 0.0005215/0.1823, allocations: 233.7 kB / 452.2 MB, free: 12.69 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001231/0.1824, allocations: 162.2 kB / 452.4 MB, free: 12.5 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002428/0.1826, allocations: 208.1 kB / 452.6 MB, free: 12.28 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.009e-05/0.1827, allocations: 33.7 kB / 452.6 MB, free: 12.24 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001517/0.1828, allocations: 192 kB / 452.8 MB, free: 12.05 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.346e-05/0.1829, allocations: 86.73 kB / 452.9 MB, free: 11.96 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.199e-05/0.183, allocations: 37.7 kB / 452.9 MB, free: 11.92 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001728/0.1832, allocations: 330.9 kB / 453.3 MB, free: 11.59 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001258/0.1833, allocations: 71.97 kB / 453.3 MB, free: 11.52 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002355/0.1835, allocations: 205.9 kB / 453.5 MB, free: 11.25 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003811/0.1839, allocations: 297.6 kB / 453.8 MB, free: 10.9 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.442e-06/0.1839, allocations: 4 kB / 453.8 MB, free: 10.89 MB / 334.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0004968/0.1845, allocations: 316.8 kB / 454.1 MB, free: 10.58 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.408e-05/0.1845, allocations: 9.719 kB / 454.1 MB, free: 10.57 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/0.1845, allocations: 4.188 kB / 454.1 MB, free: 10.57 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.145e-05/0.1845, allocations: 4 kB / 454.2 MB, free: 10.56 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000286/0.1848, allocations: 99.83 kB / 454.3 MB, free: 10.46 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.209e-05/0.1848, allocations: 4.531 kB / 454.3 MB, free: 10.46 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001795/0.185, allocations: 39.62 kB / 454.3 MB, free: 10.42 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.685e-05/0.1851, allocations: 23.98 kB / 454.3 MB, free: 10.4 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (44): * Single equations (assignments): 44 * 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.000155/0.1852, allocations: 153.6 kB / 454.5 MB, free: 10.24 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001031/0.1853, allocations: 23.72 kB / 454.5 MB, free: 10.21 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001896/0.1855, allocations: 83.08 kB / 454.6 MB, free: 10.13 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.1855, allocations: 4 kB / 454.6 MB, free: 10.12 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.795e-06/0.1856, allocations: 4 kB / 454.6 MB, free: 10.12 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.1856, allocations: 0 / 454.6 MB, free: 10.12 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000613/0.1862, allocations: 321.4 kB / 454.9 MB, free: 9.758 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.1862, allocations: 3.938 kB / 454.9 MB, free: 9.754 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003128/0.1865, allocations: 67.91 kB / 455 MB, free: 9.688 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.019e-06/0.1865, allocations: 4 kB / 455 MB, free: 9.684 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.134e-05/0.1866, allocations: 8 kB / 455 MB, free: 9.676 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.1866, allocations: 0 / 455 MB, free: 9.676 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.1866, allocations: 4 kB / 455 MB, free: 9.672 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006677/0.1873, allocations: 0.6295 MB / 455.6 MB, free: 9.023 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.855e-05/0.1873, allocations: 100.8 kB / 455.7 MB, free: 8.906 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.219e-05/0.1874, allocations: 12.09 kB / 455.7 MB, free: 8.895 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002338/0.1876, allocations: 7.938 kB / 455.7 MB, free: 8.887 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.984e-05/0.1877, allocations: 11.98 kB / 455.7 MB, free: 8.875 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.55e-05/0.1877, allocations: 12 kB / 455.8 MB, free: 8.863 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001455/0.1878, allocations: 157.8 kB / 455.9 MB, free: 8.711 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1879, allocations: 0 / 455.9 MB, free: 8.711 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005161/0.1884, allocations: 87.69 kB / 456 MB, free: 8.625 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 11 (inertia1.w,linearSpeedDependentTorque.phi,inertia2.w,quadraticSpeedDependentTorque.phi,inertia3.w,constantTorque.phi,inertia4.w,signTorque.phi,eddyCurrentTorque.phi,inertia5.w,heatCapacitor.T) * 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 (23): * Single equations (assignments): 23 * 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.0001565/0.1885, allocations: 100.1 kB / 456.1 MB, free: 8.52 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003499/0.1889, allocations: 188.6 kB / 456.3 MB, free: 8.336 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.1889, allocations: 0 / 456.3 MB, free: 8.336 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001126/0.189, allocations: 76.28 kB / 456.3 MB, free: 8.262 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008461/0.1899, allocations: 54.33 kB / 456.4 MB, free: 8.207 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002195/0.1921, allocations: 1.446 MB / 457.8 MB, free: 6.715 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004604/0.1926, allocations: 0.768 MB / 458.6 MB, free: 5.922 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.298e-05/0.1926, allocations: 23.44 kB / 458.6 MB, free: 5.898 MB / 334.1 MB Notification: Performance of SimCode: time 3.7e-07/0.1926, allocations: 0 / 458.6 MB, free: 5.898 MB / 334.1 MB Notification: Performance of Templates: time 0.006254/0.1989, allocations: 3.315 MB / 462 MB, free: 2.59 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.TestBraking.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.TestBraking.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.TestBrakingCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Rotational.TestBrakingCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Rotational.TestBrakingCalcHelperMain.o] Error 1