Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Directions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J2.phi|J2.w|J3.phi|J3.w|J5.phi|J5.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J2.phi|J2.w|J3.phi|J3.w|J5.phi|J5.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001008/0.001009, allocations: 94.22 kB / 18 MB, free: 5.734 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.001273/0.001273, allocations: 178.2 kB / 18.91 MB, free: 4.871 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.516/1.516, allocations: 223.3 MB / 242.9 MB, free: 212 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2128/0.2128, allocations: 44.25 MB / 338.3 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000345/0.0003451, allocations: 11.94 kB / 411 MB, free: 27.33 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1588/0.1591, allocations: 61.92 MB / 472.9 MB, free: 13.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.003302/0.1625, allocations: 2.5 MB / 475.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001448/0.1639, allocations: 0.6973 MB / 476.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002436/0.1642, allocations: 12 kB / 476.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002286/0.1645, allocations: 43.58 kB / 476.1 MB, free: 10.1 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003014/0.1648, allocations: 103.2 kB / 476.2 MB, free: 10 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003134/0.1651, allocations: 83.86 kB / 476.3 MB, free: 9.918 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004578/0.1656, allocations: 414.4 kB / 476.7 MB, free: 9.512 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003597/0.1659, allocations: 166.9 kB / 476.9 MB, free: 9.348 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002561/0.1662, allocations: 151.3 kB / 477 MB, free: 9.199 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002352/0.1664, allocations: 163.2 kB / 477.2 MB, free: 9.039 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.698e-05/0.1665, allocations: 24 kB / 477.2 MB, free: 9.016 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.789e-05/0.1666, allocations: 20 kB / 477.2 MB, free: 8.996 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.961e-05/0.1666, allocations: 67.64 kB / 477.3 MB, free: 8.93 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001938/0.1668, allocations: 204.7 kB / 477.5 MB, free: 8.723 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003328/0.1672, allocations: 319.3 kB / 477.8 MB, free: 8.41 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.1672, allocations: 0 / 477.8 MB, free: 8.41 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.1672, allocations: 0 / 477.8 MB, free: 8.41 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.655e-06/0.1672, allocations: 0 / 477.8 MB, free: 8.41 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.0009967/0.1682, allocations: 0.6161 MB / 478.4 MB, free: 7.746 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.134e-05/0.1683, allocations: 8.031 kB / 478.4 MB, free: 7.738 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.729e-05/0.1684, allocations: 40.47 kB / 478.5 MB, free: 7.699 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004137/0.1688, allocations: 284.6 kB / 478.8 MB, free: 7.379 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.35e-05/0.1688, allocations: 29.38 kB / 478.8 MB, free: 7.348 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.13e-05/0.1689, allocations: 40.28 kB / 478.8 MB, free: 7.309 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007276/0.1697, allocations: 405.3 kB / 479.2 MB, free: 6.898 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.628e-05/0.1697, allocations: 0 / 479.2 MB, free: 6.898 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.181e-05/0.1697, allocations: 16 kB / 479.2 MB, free: 6.883 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.333e-05/0.1698, allocations: 8 kB / 479.2 MB, free: 6.875 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005561/0.1703, allocations: 264.3 kB / 479.5 MB, free: 6.617 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001921/0.1723, allocations: 1.12 MB / 480.6 MB, free: 5.438 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007473/0.173, allocations: 355.5 kB / 481 MB, free: 5.062 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003841/0.1734, allocations: 191.1 kB / 481.2 MB, free: 4.867 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.811e-05/0.1735, allocations: 4 kB / 481.2 MB, free: 4.863 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.145e-05/0.1735, allocations: 42.56 kB / 481.2 MB, free: 4.812 MB / 350.1 MB Notification: Performance of pre-optimization done (n=39): time 1.883e-06/0.1735, allocations: 0 / 481.2 MB, free: 4.812 MB / 350.1 MB Notification: Performance of matching and sorting (n=57): time 0.005037/0.1786, allocations: 2.479 MB / 483.7 MB, free: 2.07 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000115/0.1788, allocations: 106.8 kB / 483.8 MB, free: 1.941 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003585/0.1791, allocations: 238.6 kB / 484 MB, free: 1.695 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.538e-05/0.1792, allocations: 37.7 kB / 484.1 MB, free: 1.652 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001943/0.1794, allocations: 180.7 kB / 484.2 MB, free: 1.469 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002402/0.1796, allocations: 204.9 kB / 484.4 MB, free: 1.266 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.687e-05/0.1797, allocations: 53.69 kB / 484.5 MB, free: 1.207 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002308/0.18, allocations: 350.7 kB / 484.8 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003213/0.1803, allocations: 133.1 kB / 485 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004191/0.1807, allocations: 235.8 kB / 485.2 MB, free: 468 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008198/0.1815, allocations: 425.9 kB / 485.6 MB, free: 4 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.1816, allocations: 4 kB / 485.6 MB, free: 0 / 350.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001275/0.1828, allocations: 0.5538 MB / 486.2 MB, free: 15.43 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.111e-05/0.1829, allocations: 8 kB / 486.2 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.307e-05/0.1829, allocations: 4 kB / 486.2 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004081/0.1833, allocations: 118.5 kB / 486.3 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004143/0.1837, allocations: 107.9 kB / 486.4 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004638/0.1884, allocations: 4.692 MB / 491.1 MB, free: 10.1 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003425/0.1888, allocations: 24.09 kB / 491.1 MB, free: 10.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.632e-05/0.1888, allocations: 20 kB / 491.1 MB, free: 10.05 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (51): * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,5,100.0%), (1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003592/0.1892, allocations: 169.7 kB / 491.3 MB, free: 9.879 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001445/0.1894, allocations: 39.47 kB / 491.3 MB, free: 9.84 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001206/0.1895, allocations: 50.17 kB / 491.4 MB, free: 9.793 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.1895, allocations: 8 kB / 491.4 MB, free: 9.785 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.959e-05/0.1895, allocations: 4 kB / 491.4 MB, free: 9.781 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.014e-05/0.1895, allocations: 4 kB / 491.4 MB, free: 9.777 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002025/0.1916, allocations: 1.339 MB / 492.7 MB, free: 8.363 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.963e-06/0.1916, allocations: 4 kB / 492.7 MB, free: 8.359 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004002/0.192, allocations: 104 kB / 492.8 MB, free: 8.258 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002948/0.1923, allocations: 94.5 kB / 492.9 MB, free: 8.156 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.059e-05/0.1924, allocations: 12 kB / 492.9 MB, free: 8.145 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003425/0.1958, allocations: 4.119 MB / 497.1 MB, free: 3.621 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/0.1958, allocations: 3.984 kB / 497.1 MB, free: 3.617 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001427/0.1972, allocations: 0.9407 MB / 498 MB, free: 2.648 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001072/0.1974, allocations: 108.6 kB / 498.1 MB, free: 2.523 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.711e-05/0.1974, allocations: 16.05 kB / 498.1 MB, free: 2.508 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002511/0.1977, allocations: 20 kB / 498.2 MB, free: 2.488 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001176/0.1978, allocations: 43.94 kB / 498.2 MB, free: 2.445 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.501e-05/0.1978, allocations: 12 kB / 498.2 MB, free: 2.434 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001827/0.198, allocations: 178 kB / 498.4 MB, free: 2.254 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.198, allocations: 4 kB / 498.4 MB, free: 2.25 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007349/0.1988, allocations: 120 kB / 498.5 MB, free: 2.133 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (J5.phi,J5.w,J3.phi,J3.w,J1.phi,J1.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 (48): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001709/0.1989, allocations: 115.1 kB / 498.6 MB, free: 2.008 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001309/0.2003, allocations: 0.7858 MB / 499.4 MB, free: 1.188 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.2003, allocations: 4 kB / 499.4 MB, free: 1.184 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007762/0.2011, allocations: 0.5763 MB / 500 MB, free: 0.5703 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007427/0.2018, allocations: 68.8 kB / 0.4883 GB, free: 0.5039 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002021/0.2038, allocations: 1.384 MB / 0.4897 GB, free: 15.07 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004475/0.2043, allocations: 0.821 MB / 0.4905 GB, free: 14.23 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001045/0.2044, allocations: 31.44 kB / 0.4905 GB, free: 14.2 MB / 382.1 MB Notification: Performance of SimCode: time 6.42e-07/0.2044, allocations: 0 / 0.4905 GB, free: 14.2 MB / 382.1 MB Notification: Performance of Templates: time 0.01327/0.2177, allocations: 9.223 MB / 0.4995 GB, free: 4.961 MB / 382.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.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_4.0.0_ModelicaTest.Rotational.ForUsersGuide.DirectionsCalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.DirectionsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.DirectionsCalcHelperMain.o] Error 1