Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.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) 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(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001002/0.001002, allocations: 94.17 kB / 16.95 MB, free: 5.953 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.001293/0.001293, allocations: 183.8 kB / 17.84 MB, free: 5.613 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.58/1.58, allocations: 223.2 MB / 241.9 MB, free: 328 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000458/0.0004581, allocations: 8 kB / 301.5 MB, free: 6.438 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.137/0.1374, allocations: 50.43 MB / 351.9 MB, free: 3.996 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum): time 0.01292/0.1504, allocations: 12.62 MB / 364.5 MB, free: 7.328 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.009062/0.1595, allocations: 4.017 MB / 368.5 MB, free: 3.301 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00234/0.1619, allocations: 59.88 kB / 368.6 MB, free: 3.242 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001574/0.1635, allocations: 0.5948 MB / 369.2 MB, free: 2.645 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005154/0.1687, allocations: 2.145 MB / 371.3 MB, free: 0.4922 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001029/0.1697, allocations: 419.2 kB / 371.7 MB, free: 84 kB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.2328/0.4025, allocations: 2.707 MB / 374.4 MB, free: 9.375 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002675/0.4052, allocations: 1.329 MB / 375.8 MB, free: 9.195 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001405/0.4067, allocations: 0.6992 MB / 376.5 MB, free: 9.195 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001987/0.4086, allocations: 1.139 MB / 377.6 MB, free: 9.191 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002824/0.4089, allocations: 77.31 kB / 377.7 MB, free: 9.191 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00181/0.4108, allocations: 0.7423 MB / 378.4 MB, free: 9.188 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001404/0.4122, allocations: 0.9366 MB / 379.4 MB, free: 9.188 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005999/0.4128, allocations: 497.9 kB / 379.8 MB, free: 9.117 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004089/0.4169, allocations: 2.946 MB / 382.8 MB, free: 8.918 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.4169, allocations: 1.531 kB / 382.8 MB, free: 8.918 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.644e-06/0.4169, allocations: 0 / 382.8 MB, free: 8.918 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.221e-05/0.417, allocations: 0 / 382.8 MB, free: 8.918 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 934 * Number of variables: 934 Notification: Performance of Generate backend data structure: time 0.00569/0.4227, allocations: 2.427 MB / 385.2 MB, free: 7.613 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.423e-05/0.4228, allocations: 8.875 kB / 385.2 MB, free: 7.613 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005856/0.4286, allocations: 1.689 MB / 386.9 MB, free: 6.812 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002952/0.4316, allocations: 1.29 MB / 388.2 MB, free: 6.203 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001508/0.4317, allocations: 120.7 kB / 388.3 MB, free: 6.195 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000328/0.4321, allocations: 154 kB / 388.5 MB, free: 6.195 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009638/0.4417, allocations: 6.36 MB / 394.8 MB, free: 3.82 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.63e-05/0.4418, allocations: 32.47 kB / 394.9 MB, free: 3.801 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002428/0.4421, allocations: 84.72 kB / 394.9 MB, free: 3.797 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002251/0.4443, allocations: 1.436 MB / 396.4 MB, free: 3.441 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009225/0.4536, allocations: 5.655 MB / 402 MB, free: 15.93 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03567/0.4893, allocations: 26.28 MB / 428.3 MB, free: 4.973 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004602/0.4939, allocations: 2.25 MB / 430.6 MB, free: 2.582 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001581/0.4955, allocations: 1.022 MB / 431.6 MB, free: 1.547 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.99e-05/0.4956, allocations: 11.67 kB / 431.6 MB, free: 1.539 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.064e-05/0.4957, allocations: 46.56 kB / 431.6 MB, free: 1.484 MB / 334.1 MB Notification: Performance of pre-optimization done (n=98): time 3.236e-06/0.4957, allocations: 1.75 kB / 431.6 MB, free: 1.484 MB / 334.1 MB Notification: Performance of matching and sorting (n=106): time 0.02097/0.5166, allocations: 8.536 MB / 440.2 MB, free: 8.812 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.655e-05/0.5168, allocations: 136.5 kB / 440.3 MB, free: 8.648 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004404/0.5212, allocations: 2.809 MB / 443.1 MB, free: 5.824 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002453/0.5215, allocations: 44.98 kB / 443.2 MB, free: 5.777 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002012/0.5235, allocations: 2.067 MB / 445.2 MB, free: 3.723 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005693/0.5241, allocations: 437.7 kB / 445.7 MB, free: 3.301 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001853/0.5243, allocations: 84 kB / 445.7 MB, free: 3.219 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0003219/0.5246, allocations: 0.4919 MB / 446.2 MB, free: 2.719 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002354/0.527, allocations: 1.402 MB / 447.6 MB, free: 1.309 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004633/0.5316, allocations: 4.229 MB / 451.9 MB, free: 11.66 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003865/0.5355, allocations: 2.386 MB / 454.3 MB, free: 9.281 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.938e-05/0.5356, allocations: 28 kB / 454.3 MB, free: 9.254 MB / 366.1 MB Notification: Performance of matching and sorting (n=573) (initialization): time 0.01149/0.5471, allocations: 6.069 MB / 460.4 MB, free: 3.176 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.429e-05/0.5472, allocations: 51.95 kB / 460.4 MB, free: 3.125 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001174/0.5473, allocations: 100.8 kB / 460.5 MB, free: 3.027 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002151/0.5494, allocations: 0.8123 MB / 461.3 MB, free: 2.211 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003047/0.5525, allocations: 0.9864 MB / 462.3 MB, free: 1.223 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005594/0.5581, allocations: 4.146 MB / 466.4 MB, free: 12.95 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003549/0.5617, allocations: 251.4 kB / 466.7 MB, free: 12.7 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007552/0.5625, allocations: 276 kB / 467 MB, free: 12.43 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 459 * Number of states: 0 () * Number of discrete variables: 18 (body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (537): * Single equations (assignments): 533 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,77.8%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002717/0.5652, allocations: 1.375 MB / 468.3 MB, free: 11.05 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006196/0.5658, allocations: 229 kB / 468.6 MB, free: 10.82 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004147/0.57, allocations: 1.845 MB / 470.4 MB, free: 8.953 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.826e-05/0.57, allocations: 23.94 kB / 470.4 MB, free: 8.93 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.426e-06/0.57, allocations: 384 / 470.4 MB, free: 8.93 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.068e-05/0.57, allocations: 7.984 kB / 470.4 MB, free: 8.922 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009479/0.5795, allocations: 4.796 MB / 475.2 MB, free: 4.062 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.039e-05/0.5796, allocations: 9.703 kB / 475.2 MB, free: 4.055 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006398/0.5802, allocations: 135.7 kB / 475.4 MB, free: 3.922 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001863/0.5821, allocations: 0.6443 MB / 476 MB, free: 3.273 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.23e-05/0.5822, allocations: 23.05 kB / 476 MB, free: 3.254 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004803/0.587, allocations: 3.691 MB / 479.7 MB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.96e-06/0.587, allocations: 7.969 kB / 479.7 MB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005903/0.5929, allocations: 3.672 MB / 483.4 MB, free: 11.72 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009056/0.5939, allocations: 294 kB / 483.7 MB, free: 11.41 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002276/0.5941, allocations: 12 kB / 483.7 MB, free: 11.4 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008019/0.5949, allocations: 73.72 kB / 483.8 MB, free: 11.34 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001892/0.5951, allocations: 59.92 kB / 483.8 MB, free: 11.28 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.978e-05/0.5952, allocations: 28 kB / 483.9 MB, free: 11.25 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.003059/0.5983, allocations: 1.742 MB / 485.6 MB, free: 9.5 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.5983, allocations: 0 / 485.6 MB, free: 9.5 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003565/0.6018, allocations: 0.6406 MB / 486.3 MB, free: 8.859 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.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 (75): * Single equations (assignments): 71 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003428/0.6022, allocations: 154.9 kB / 486.4 MB, free: 8.703 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.005495/0.6077, allocations: 3.404 MB / 489.8 MB, free: 5.316 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.5e-06/0.6077, allocations: 0 / 489.8 MB, free: 5.316 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001312/0.6091, allocations: 0.9198 MB / 490.7 MB, free: 4.383 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001939/0.611, allocations: 245.6 kB / 491 MB, free: 4.145 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01302/0.624, allocations: 6.721 MB / 497.7 MB, free: 13.37 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00233/0.6264, allocations: 2.182 MB / 499.9 MB, free: 11.16 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007594/0.6272, allocations: 199.4 kB / 0.4883 GB, free: 10.96 MB / 414.1 MB Notification: Performance of SimCode: time 2.405e-06/0.6272, allocations: 0 / 0.4883 GB, free: 10.96 MB / 414.1 MB Notification: Performance of Templates: time 0.3184/0.9456, allocations: 46.76 MB / 0.534 GB, free: 149.5 MB / 446.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.makefile make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.makefile clang++ NOTFOUND -Winvalid-pch -O0 -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/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumCalcHelperMain.o] Error 1