Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2.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.ForUsersGuide.Directions2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J2.phi|J2.w|J4.phi|J4.w|J6.phi|J6.w|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J2.phi|J2.w|J4.phi|J4.w|J6.phi|J6.w|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001099/0.001099, allocations: 89.84 kB / 16.67 MB, free: 6.59 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.001182/0.001182, allocations: 179.2 kB / 17.57 MB, free: 6.191 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.893/1.893, 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.2705/0.2705, allocations: 43.59 MB / 315.6 MB, free: 432 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.0005867/0.0005861, allocations: 13.75 kB / 385.2 MB, free: 56.62 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1594/0.16, allocations: 58.87 MB / 444.1 MB, free: 5.184 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions2): time 0.003098/0.1632, allocations: 2.495 MB / 446.6 MB, free: 2.668 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001577/0.1648, allocations: 0.7371 MB / 447.3 MB, free: 1.922 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004806/0.1653, allocations: 4 kB / 447.3 MB, free: 1.918 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002476/0.1656, allocations: 39.64 kB / 447.4 MB, free: 1.879 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003269/0.1659, allocations: 107.1 kB / 447.5 MB, free: 1.773 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003128/0.1662, allocations: 71.94 kB / 447.5 MB, free: 1.703 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003571/0.1666, allocations: 421.9 kB / 448 MB, free: 1.289 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002399/0.1669, allocations: 125 kB / 448.1 MB, free: 1.168 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001812/0.167, allocations: 147.4 kB / 448.2 MB, free: 1.023 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002091/0.1673, allocations: 163.2 kB / 448.4 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.958e-05/0.1673, allocations: 20 kB / 448.4 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.434e-05/0.1674, allocations: 20 kB / 448.4 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.063e-05/0.1674, allocations: 59.77 kB / 448.5 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000162/0.1676, allocations: 212.7 kB / 448.7 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002278/0.1678, allocations: 311.1 kB / 449 MB, free: 252 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/0.1678, allocations: 0 / 449 MB, free: 252 kB / 318.1 MB Notification: Performance of FrontEnd: time 2.414e-06/0.1679, allocations: 0 / 449 MB, free: 252 kB / 318.1 MB Notification: Performance of Transformations before backend: time 7.454e-06/0.1679, allocations: 0 / 449 MB, free: 252 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.000843/0.1687, allocations: 0.5736 MB / 449.6 MB, free: 15.62 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/0.1688, allocations: 12.03 kB / 449.6 MB, free: 15.61 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.781e-05/0.1689, allocations: 44.47 kB / 449.6 MB, free: 15.57 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003128/0.1692, allocations: 276.3 kB / 449.9 MB, free: 15.26 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.364e-05/0.1692, allocations: 29.38 kB / 449.9 MB, free: 15.23 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.734e-05/0.1693, allocations: 44.28 kB / 450 MB, free: 15.18 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006347/0.1699, allocations: 406.3 kB / 450.4 MB, free: 14.76 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.597e-05/0.17, allocations: 7.906 kB / 450.4 MB, free: 14.75 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.641e-05/0.17, allocations: 16 kB / 450.4 MB, free: 14.73 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.279e-05/0.17, allocations: 12 kB / 450.4 MB, free: 14.72 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004261/0.1705, allocations: 227.7 kB / 450.6 MB, free: 14.5 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002194/0.1727, allocations: 1.711 MB / 452.3 MB, free: 12.68 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004358/0.1731, allocations: 270.3 kB / 452.6 MB, free: 12.36 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001673/0.1733, allocations: 94.08 kB / 452.7 MB, free: 12.24 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.372e-05/0.1733, allocations: 8 kB / 452.7 MB, free: 12.23 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.63e-05/0.1734, allocations: 46.48 kB / 452.7 MB, free: 12.18 MB / 334.1 MB Notification: Performance of pre-optimization done (n=26): time 3.166e-06/0.1734, allocations: 3.984 kB / 452.7 MB, free: 12.18 MB / 334.1 MB Notification: Performance of matching and sorting (n=26): time 0.0007827/0.1742, allocations: 281.2 kB / 453 MB, free: 11.89 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001741/0.1744, allocations: 217.6 kB / 453.2 MB, free: 11.63 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003087/0.1747, allocations: 270.9 kB / 453.5 MB, free: 11.36 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.673e-05/0.1747, allocations: 29.7 kB / 453.5 MB, free: 11.32 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001892/0.1749, allocations: 251.5 kB / 453.8 MB, free: 11.07 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000111/0.1751, allocations: 114.4 kB / 453.9 MB, free: 10.96 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.286e-05/0.1751, allocations: 49.7 kB / 453.9 MB, free: 10.9 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002145/0.1754, allocations: 346.7 kB / 454.3 MB, free: 10.55 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002019/0.1756, allocations: 105.2 kB / 454.4 MB, free: 10.45 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005196/0.1761, allocations: 432.8 kB / 454.8 MB, free: 9.867 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007743/0.1769, allocations: 0.5818 MB / 455.4 MB, free: 9.125 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.1769, allocations: 0 / 455.4 MB, free: 9.125 MB / 334.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0008496/0.1778, allocations: 0.5325 MB / 455.9 MB, free: 8.586 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.922e-05/0.1778, allocations: 10.03 kB / 455.9 MB, free: 8.578 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.42e-05/0.1778, allocations: 12 kB / 455.9 MB, free: 8.566 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.985e-05/0.1779, allocations: 16 kB / 455.9 MB, free: 8.551 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004126/0.1783, allocations: 160.5 kB / 456.1 MB, free: 8.395 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.135e-05/0.1783, allocations: 19.94 kB / 456.1 MB, free: 8.375 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002778/0.1786, allocations: 67.36 kB / 456.2 MB, free: 8.309 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.821e-05/0.1786, allocations: 32 kB / 456.2 MB, free: 8.277 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (71): * Single equations (assignments): 71 * 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.0001844/0.1788, allocations: 181.5 kB / 456.4 MB, free: 8.09 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001404/0.179, allocations: 31.62 kB / 456.4 MB, free: 8.059 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.216e-05/0.179, allocations: 37.81 kB / 456.5 MB, free: 8.02 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.1791, allocations: 8 kB / 456.5 MB, free: 8.012 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.297e-06/0.1791, allocations: 4 kB / 456.5 MB, free: 8.008 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.645e-06/0.1791, allocations: 3.984 kB / 456.5 MB, free: 8.004 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001282/0.1804, allocations: 0.6436 MB / 457.1 MB, free: 7.297 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.02e-06/0.1804, allocations: 4 kB / 457.1 MB, free: 7.293 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00042/0.1808, allocations: 91.95 kB / 457.2 MB, free: 7.203 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.159e-06/0.1808, allocations: 4 kB / 457.2 MB, free: 7.199 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.667e-05/0.1809, allocations: 11.98 kB / 457.2 MB, free: 7.188 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-06/0.1809, allocations: 7.938 kB / 457.2 MB, free: 7.18 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.075e-06/0.1809, allocations: 8.562 kB / 457.2 MB, free: 7.172 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007907/0.1817, allocations: 0.8422 MB / 458.1 MB, free: 6.305 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.165e-05/0.1818, allocations: 104.8 kB / 458.2 MB, free: 6.184 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.547e-05/0.1818, allocations: 20 kB / 458.2 MB, free: 6.164 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003237/0.1822, allocations: 11.92 kB / 458.2 MB, free: 6.152 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.862e-05/0.1822, allocations: 27.91 kB / 458.2 MB, free: 6.125 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.623e-05/0.1823, allocations: 12 kB / 458.3 MB, free: 6.113 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001726/0.1824, allocations: 186 kB / 458.4 MB, free: 5.934 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1825, allocations: 0 / 458.4 MB, free: 5.934 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0007141/0.1832, allocations: 103.8 kB / 458.5 MB, free: 5.832 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 18 (inertia2.phi,inertia2.w,inertia1.phi,inertia1.w,inertia5.phi,inertia5.w,inertia6.phi,inertia6.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w,J6.phi,J6.w,J4.phi,J4.w,J2.phi,J2.w) * 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 (26): * Single equations (assignments): 26 * 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.0001715/0.1834, allocations: 111.1 kB / 458.7 MB, free: 5.715 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005296/0.1839, allocations: 298.2 kB / 458.9 MB, free: 5.426 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/0.1839, allocations: 8.125 kB / 458.9 MB, free: 5.418 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001817/0.1841, allocations: 95.77 kB / 459 MB, free: 5.324 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001093/0.1852, allocations: 62.98 kB / 459.1 MB, free: 5.258 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002878/0.1881, allocations: 1.963 MB / 461.1 MB, free: 3.238 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004831/0.1886, allocations: 0.7953 MB / 461.9 MB, free: 2.418 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.035e-05/0.1887, allocations: 27.44 kB / 461.9 MB, free: 2.391 MB / 334.1 MB Notification: Performance of SimCode: time 6.11e-07/0.1887, allocations: 0 / 461.9 MB, free: 2.391 MB / 334.1 MB Notification: Performance of Templates: time 0.007109/0.1958, allocations: 4.05 MB / 465.9 MB, free: 14.35 MB / 350.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2.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.ForUsersGuide.Directions2CalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2CalcHelperMain.o] Error 1