Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.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.InitializationConversion.Inertia,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|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w|inertia7.phi|inertia7.w|inertia7a.phi|inertia7a.w|inertia8.phi|inertia8.w|inertia8a.phi|inertia8a.w|inertia9.phi|inertia9.w|inertia9a.phi|inertia9a.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia") translateModel(ModelicaTest.Rotational.InitializationConversion.Inertia,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|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w|inertia7.phi|inertia7.w|inertia7a.phi|inertia7a.w|inertia8.phi|inertia8.w|inertia8a.phi|inertia8a.w|inertia9.phi|inertia9.w|inertia9a.phi|inertia9a.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001707/0.001707, allocations: 103.2 kB / 16.52 MB, free: 6.664 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.001396/0.001396, allocations: 199.3 kB / 17.44 MB, free: 6.059 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.846/1.846, allocations: 205.1 MB / 223.3 MB, free: 12.42 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.2412/0.2412, allocations: 43.52 MB / 314.1 MB, free: 0.7422 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.00168/0.001681, allocations: 72 kB / 382.7 MB, free: 56.96 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1696/0.1712, allocations: 57.79 MB / 440.5 MB, free: 7.516 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.004275/0.1756, allocations: 3.092 MB / 443.6 MB, free: 4.402 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007825/0.1764, allocations: 414.5 kB / 444 MB, free: 3.996 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001663/0.1766, allocations: 11.94 kB / 444 MB, free: 3.984 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001514/0.1768, allocations: 43.62 kB / 444 MB, free: 3.941 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003143/0.1771, allocations: 146.8 kB / 444.2 MB, free: 3.797 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002629/0.1774, allocations: 91.92 kB / 444.3 MB, free: 3.707 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004214/0.1778, allocations: 0.513 MB / 444.8 MB, free: 3.191 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002782/0.1781, allocations: 129.2 kB / 444.9 MB, free: 3.062 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001815/0.1783, allocations: 187.3 kB / 445.1 MB, free: 2.879 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002217/0.1785, allocations: 203 kB / 445.3 MB, free: 2.68 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.165e-05/0.1786, allocations: 28 kB / 445.3 MB, free: 2.652 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.809e-05/0.1786, allocations: 28 kB / 445.3 MB, free: 2.625 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.697e-05/0.1787, allocations: 79.69 kB / 445.4 MB, free: 2.547 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002072/0.1789, allocations: 238.9 kB / 445.6 MB, free: 2.312 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003212/0.1793, allocations: 391.2 kB / 446 MB, free: 1.93 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.845e-06/0.1793, allocations: 7.938 kB / 446 MB, free: 1.922 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1793, allocations: 0 / 446 MB, free: 1.922 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.736e-06/0.1793, allocations: 8 kB / 446 MB, free: 1.914 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.0009886/0.1803, allocations: 0.7096 MB / 446.7 MB, free: 1.152 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.125e-05/0.1804, allocations: 8.031 kB / 446.8 MB, free: 1.145 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.595e-05/0.1805, allocations: 52.38 kB / 446.8 MB, free: 1.094 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002999/0.1808, allocations: 299.3 kB / 447.1 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.32e-05/0.1808, allocations: 37.38 kB / 447.1 MB, free: 0.7227 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.509e-05/0.1809, allocations: 60.27 kB / 447.2 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006161/0.1815, allocations: 458.6 kB / 447.6 MB, free: 188 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.673e-05/0.1816, allocations: 12.09 kB / 447.7 MB, free: 176 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.114e-05/0.1816, allocations: 19.94 kB / 447.7 MB, free: 156 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.338e-05/0.1816, allocations: 16 kB / 447.7 MB, free: 140 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004556/0.1821, allocations: 259.7 kB / 447.9 MB, free: 15.88 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002607/0.1847, allocations: 1.703 MB / 449.6 MB, free: 14.1 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005918/0.1853, allocations: 407.4 kB / 450 MB, free: 13.62 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002347/0.1856, allocations: 164.2 kB / 450.2 MB, free: 13.43 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.664e-05/0.1856, allocations: 4 kB / 450.2 MB, free: 13.43 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.713e-05/0.1857, allocations: 58.47 kB / 450.3 MB, free: 13.36 MB / 334.1 MB Notification: Performance of pre-optimization done (n=42): time 3.647e-06/0.1857, allocations: 0 / 450.3 MB, free: 13.36 MB / 334.1 MB Notification: Performance of matching and sorting (n=42): time 0.0007974/0.1865, allocations: 346.7 kB / 450.6 MB, free: 13.02 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001596/0.1866, allocations: 277 kB / 450.9 MB, free: 12.68 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003158/0.187, allocations: 250.7 kB / 451.1 MB, free: 12.42 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.627e-05/0.187, allocations: 37.7 kB / 451.2 MB, free: 12.38 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002249/0.1872, allocations: 239.6 kB / 451.4 MB, free: 12.14 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001512/0.1874, allocations: 173.5 kB / 451.6 MB, free: 11.97 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001886/0.1876, allocations: 118.6 kB / 451.7 MB, free: 11.85 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001981/0.1878, allocations: 350.8 kB / 452 MB, free: 11.5 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000217/0.188, allocations: 126 kB / 452.1 MB, free: 11.38 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004936/0.1885, allocations: 413.6 kB / 452.5 MB, free: 10.83 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007016/0.1892, allocations: 0.5723 MB / 453.1 MB, free: 10.12 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.037e-06/0.1893, allocations: 4 kB / 453.1 MB, free: 10.12 MB / 334.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0009008/0.1902, allocations: 0.571 MB / 453.7 MB, free: 9.539 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.658e-05/0.1902, allocations: 8 kB / 453.7 MB, free: 9.531 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.871e-05/0.1902, allocations: 12 kB / 453.7 MB, free: 9.52 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.804e-05/0.1903, allocations: 12 kB / 453.7 MB, free: 9.508 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005645/0.1909, allocations: 188.2 kB / 453.9 MB, free: 9.324 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.53e-05/0.1909, allocations: 15.94 kB / 453.9 MB, free: 9.309 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002951/0.1912, allocations: 71.28 kB / 454 MB, free: 9.238 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.145e-05/0.1913, allocations: 32.23 kB / 454 MB, free: 9.207 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (86): * Single equations (assignments): 86 * 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.0002429/0.1915, allocations: 189.5 kB / 454.2 MB, free: 9.012 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002119/0.1917, allocations: 43.56 kB / 454.3 MB, free: 8.969 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.657e-05/0.1918, allocations: 41.69 kB / 454.3 MB, free: 8.93 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.49e-05/0.1918, allocations: 11.94 kB / 454.3 MB, free: 8.918 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.525e-05/0.1919, allocations: 0 / 454.3 MB, free: 8.918 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.201e-05/0.1919, allocations: 4 kB / 454.3 MB, free: 8.914 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001116/0.193, allocations: 417.2 kB / 454.7 MB, free: 8.457 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.193, allocations: 128 / 454.7 MB, free: 8.457 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005666/0.1936, allocations: 127.9 kB / 454.8 MB, free: 8.332 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/0.1936, allocations: 7.938 kB / 454.8 MB, free: 8.324 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.446e-05/0.1937, allocations: 15.98 kB / 454.9 MB, free: 8.309 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.159e-06/0.1937, allocations: 3.938 kB / 454.9 MB, free: 8.305 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.1937, allocations: 4 kB / 454.9 MB, free: 8.301 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001095/0.1948, allocations: 1.082 MB / 456 MB, free: 7.195 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001097/0.1949, allocations: 112.6 kB / 456.1 MB, free: 7.066 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.37e-05/0.195, allocations: 12 kB / 456.1 MB, free: 7.055 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003751/0.1953, allocations: 15.94 kB / 456.1 MB, free: 7.039 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.051e-05/0.1954, allocations: 31.95 kB / 456.1 MB, free: 7.008 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.875e-05/0.1954, allocations: 12 kB / 456.1 MB, free: 6.996 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001685/0.1956, allocations: 170 kB / 456.3 MB, free: 6.828 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1956, allocations: 0 / 456.3 MB, free: 6.828 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0008635/0.1965, allocations: 135.7 kB / 456.4 MB, free: 6.695 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 24 (inertia1.phi,inertia1.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w,inertia5.phi,inertia5.w,inertia2.phi,inertia2.w,inertia7.phi,inertia7.w,inertia7a.phi,inertia7a.w,inertia6.phi,inertia6.w,inertia8.phi,inertia8.w,inertia8a.phi,inertia8a.w,inertia9.phi,inertia9.w,inertia9a.phi,inertia9a.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 (42): * Single equations (assignments): 42 * 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.0002635/0.1968, allocations: 127.1 kB / 456.6 MB, free: 6.562 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005884/0.1974, allocations: 341.6 kB / 456.9 MB, free: 6.23 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.319e-06/0.1974, allocations: 4 kB / 456.9 MB, free: 6.227 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000171/0.1976, allocations: 123.8 kB / 457 MB, free: 6.105 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0012/0.1988, allocations: 97.69 kB / 457.1 MB, free: 6.012 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003354/0.2021, allocations: 2.172 MB / 459.3 MB, free: 3.781 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007129/0.2029, allocations: 0.8278 MB / 460.1 MB, free: 2.926 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.518e-05/0.203, allocations: 35.44 kB / 460.1 MB, free: 2.891 MB / 334.1 MB Notification: Performance of SimCode: time 6.21e-07/0.203, allocations: 0 / 460.1 MB, free: 2.891 MB / 334.1 MB Notification: Performance of Templates: time 0.00956/0.2125, allocations: 5.013 MB / 465.2 MB, free: 13.89 MB / 350.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.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.InitializationConversion.InertiaCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.InertiaCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.InertiaCalcHelperMain.o] Error 1