Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001311/0.001311, allocations: 89.25 kB / 17.63 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002232/0.002232, allocations: 197.1 kB / 18.54 MB, free: 5.152 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.735/1.735, allocations: 227.3 MB / 246.6 MB, free: 12.02 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002446/0.0002447, allocations: 4 kB / 307.3 MB, free: 1.617 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1153/0.1155, allocations: 51.49 MB / 358.8 MB, free: 14.13 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum): time 0.01408/0.1296, allocations: 12.64 MB / 371.4 MB, free: 1.445 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.2548/0.3845, allocations: 4.041 MB / 375.5 MB, free: 8.602 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002141/0.3867, allocations: 55.28 kB / 375.5 MB, free: 8.602 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001568/0.3882, allocations: 0.599 MB / 376.1 MB, free: 8.594 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006145/0.3944, allocations: 2.134 MB / 378.3 MB, free: 8.195 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001307/0.3957, allocations: 413.2 kB / 378.7 MB, free: 8.176 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004731/0.4005, allocations: 2.77 MB / 381.4 MB, free: 7.848 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0025/0.403, allocations: 1.331 MB / 382.8 MB, free: 7.645 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001468/0.4045, allocations: 0.702 MB / 383.5 MB, free: 7.508 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001902/0.4064, allocations: 1.141 MB / 384.6 MB, free: 7.352 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002923/0.4067, allocations: 78.72 kB / 384.7 MB, free: 7.352 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00176/0.4084, allocations: 0.7211 MB / 385.4 MB, free: 7.293 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001213/0.4097, allocations: 0.9397 MB / 386.3 MB, free: 6.961 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006809/0.4104, allocations: 495.6 kB / 386.8 MB, free: 6.828 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003749/0.4141, allocations: 2.941 MB / 389.8 MB, free: 5.324 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.664e-06/0.4141, allocations: 0 / 389.8 MB, free: 5.324 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.146e-06/0.4141, allocations: 0 / 389.8 MB, free: 5.324 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.717e-05/0.4142, allocations: 5.312 kB / 389.8 MB, free: 5.32 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.005371/0.4196, allocations: 2.436 MB / 392.2 MB, free: 3.75 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.408e-05/0.4197, allocations: 9.625 kB / 392.2 MB, free: 3.75 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005967/0.4256, allocations: 1.689 MB / 393.9 MB, free: 2.945 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003156/0.4288, allocations: 1.271 MB / 395.2 MB, free: 2.336 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001658/0.429, allocations: 118.9 kB / 395.3 MB, free: 2.332 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003512/0.4293, allocations: 153.9 kB / 395.5 MB, free: 2.328 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009592/0.4389, allocations: 6.366 MB / 401.8 MB, free: 14.67 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.889e-05/0.439, allocations: 35.66 kB / 401.9 MB, free: 14.64 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002396/0.4393, allocations: 78.72 kB / 401.9 MB, free: 14.59 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002326/0.4416, allocations: 1.437 MB / 403.4 MB, free: 13.16 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01076/0.4524, allocations: 5.65 MB / 409 MB, free: 7.504 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03312/0.4855, allocations: 26.27 MB / 435.3 MB, free: 12.54 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004464/0.49, allocations: 2.254 MB / 437.5 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001545/0.4916, allocations: 1.022 MB / 438.6 MB, free: 9.105 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.564e-05/0.4917, allocations: 14.42 kB / 438.6 MB, free: 9.094 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.456e-05/0.4918, allocations: 46.5 kB / 438.6 MB, free: 9.039 MB / 350.1 MB Notification: Performance of pre-optimization done (n=98): time 3.858e-06/0.4918, allocations: 0 / 438.6 MB, free: 9.039 MB / 350.1 MB Notification: Performance of matching and sorting (n=106): time 0.0207/0.5125, allocations: 8.543 MB / 447.2 MB, free: 368 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.067e-05/0.5126, allocations: 136.5 kB / 447.3 MB, free: 200 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004268/0.5169, allocations: 2.809 MB / 450.1 MB, free: 13.37 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002092/0.5171, allocations: 41.7 kB / 450.1 MB, free: 13.32 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0016/0.5187, allocations: 2.072 MB / 452.2 MB, free: 11.27 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006307/0.5194, allocations: 436.4 kB / 452.6 MB, free: 10.84 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002011/0.5196, allocations: 88 kB / 452.7 MB, free: 10.76 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000385/0.52, allocations: 0.4933 MB / 453.2 MB, free: 10.26 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00235/0.5223, allocations: 1.398 MB / 454.6 MB, free: 8.852 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004204/0.5266, allocations: 4.23 MB / 458.8 MB, free: 3.191 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003467/0.53, allocations: 2.38 MB / 461.2 MB, free: 0.8125 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.656e-05/0.5301, allocations: 28 kB / 461.3 MB, free: 0.7852 MB / 366.1 MB Notification: Performance of matching and sorting (n=573) (initialization): time 0.01094/0.541, allocations: 6.077 MB / 467.3 MB, free: 10.7 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.954e-05/0.5412, allocations: 52.03 kB / 467.4 MB, free: 10.65 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001148/0.5413, allocations: 100 kB / 467.5 MB, free: 10.55 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002172/0.5435, allocations: 0.8123 MB / 468.3 MB, free: 9.734 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002787/0.5463, allocations: 0.9825 MB / 469.3 MB, free: 8.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005405/0.5517, allocations: 4.151 MB / 473.4 MB, free: 4.469 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003482/0.5552, allocations: 243.6 kB / 473.7 MB, free: 4.23 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006189/0.5558, allocations: 278.7 kB / 473.9 MB, free: 3.961 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.00301/0.5589, allocations: 1.375 MB / 475.3 MB, free: 2.574 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006015/0.5595, allocations: 230.1 kB / 475.5 MB, free: 2.348 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003969/0.5634, allocations: 1.845 MB / 477.4 MB, free: 492 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.597e-05/0.5635, allocations: 16 kB / 477.4 MB, free: 476 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.363e-05/0.5635, allocations: 4 kB / 477.4 MB, free: 472 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.668e-05/0.5635, allocations: 11.91 kB / 477.4 MB, free: 460 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008386/0.5719, allocations: 4.803 MB / 482.2 MB, free: 11.59 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.227e-06/0.572, allocations: 4 kB / 482.2 MB, free: 11.59 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006065/0.5726, allocations: 135.8 kB / 482.4 MB, free: 11.45 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001862/0.5744, allocations: 0.6487 MB / 483 MB, free: 10.8 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.646e-05/0.5745, allocations: 23.94 kB / 483 MB, free: 10.78 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004628/0.5792, allocations: 3.685 MB / 486.7 MB, free: 6.965 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.53e-06/0.5792, allocations: 9.609 kB / 486.7 MB, free: 6.957 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005538/0.5847, allocations: 3.676 MB / 490.4 MB, free: 3.25 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006418/0.5854, allocations: 302 kB / 490.7 MB, free: 2.934 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000214/0.5856, allocations: 16 kB / 490.7 MB, free: 2.918 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007745/0.5864, allocations: 59.91 kB / 490.8 MB, free: 2.859 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001234/0.5865, allocations: 59.86 kB / 490.8 MB, free: 2.801 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.55e-05/0.5866, allocations: 26.81 kB / 490.9 MB, free: 2.777 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002678/0.5893, allocations: 1.742 MB / 492.6 MB, free: 1.027 MB / 398.1 MB Notification: Performance of sort global known variables: time 4.11e-07/0.5893, allocations: 0 / 492.6 MB, free: 1.027 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003397/0.5927, allocations: 0.6523 MB / 493.2 MB, free: 384 kB / 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.0003477/0.5931, allocations: 138.1 kB / 493.4 MB, free: 236 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.005245/0.5983, allocations: 3.403 MB / 496.8 MB, free: 12.84 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.5983, allocations: 0 / 496.8 MB, free: 12.84 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001219/0.5996, allocations: 0.9232 MB / 497.7 MB, free: 11.91 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001402/0.601, allocations: 254.9 kB / 498 MB, free: 11.66 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01014/0.6111, allocations: 6.719 MB / 0.4928 GB, free: 4.895 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002277/0.6134, allocations: 2.188 MB / 0.495 GB, free: 2.672 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005838/0.614, allocations: 200.9 kB / 0.4952 GB, free: 2.477 MB / 414.1 MB Notification: Performance of SimCode: time 1.663e-06/0.614, allocations: 0 / 0.4952 GB, free: 2.477 MB / 414.1 MB Notification: Performance of Templates: time 0.3224/0.9364, allocations: 46.76 MB / 0.5408 GB, free: 144.8 MB / 446.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.makefile make -j1 -f Modelica_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumCalcHelperMain.o OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumCalcHelperMain.o] Error 1