Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.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.DoublePendulum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009076/0.0009078, allocations: 89.39 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.001269/0.001269, allocations: 201 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.635/1.635, allocations: 227.3 MB / 246.6 MB, free: 12.02 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002688/0.0002688, allocations: 12 kB / 307.3 MB, free: 1.602 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1343/0.1346, allocations: 51.49 MB / 358.8 MB, free: 14.11 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum): time 0.3363/0.4709, allocations: 34.74 MB / 393.5 MB, free: 1.727 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02665/0.4976, allocations: 8.223 MB / 401.8 MB, free: 12.14 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01244/0.5101, allocations: 166.2 kB / 401.9 MB, free: 12.11 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008625/0.5188, allocations: 1.767 MB / 403.7 MB, free: 11.39 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0235/0.5423, allocations: 5.499 MB / 409.2 MB, free: 7.652 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003846/0.5462, allocations: 0.6324 MB / 409.8 MB, free: 7.258 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.08725/0.6335, allocations: 60.84 MB / 470.7 MB, free: 11.99 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006029/0.6395, allocations: 3.495 MB / 474.2 MB, free: 8.457 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00256/0.6421, allocations: 1.253 MB / 475.4 MB, free: 7.199 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002796/0.645, allocations: 1.963 MB / 477.4 MB, free: 5.23 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004375/0.6454, allocations: 132 kB / 477.5 MB, free: 5.102 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001929/0.6473, allocations: 0.9206 MB / 478.4 MB, free: 4.18 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00172/0.6491, allocations: 1.664 MB / 480.1 MB, free: 2.512 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008777/0.65, allocations: 0.7649 MB / 480.9 MB, free: 1.738 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005913/0.6559, allocations: 5.085 MB / 485.9 MB, free: 12.64 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.6559, allocations: 3.938 kB / 486 MB, free: 12.64 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.396e-06/0.6559, allocations: 0 / 486 MB, free: 12.64 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001491/0.6561, allocations: 3.938 kB / 486 MB, free: 12.63 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1302 * Number of variables: 1302 Notification: Performance of Generate backend data structure: time 0.008941/0.665, allocations: 3.945 MB / 489.9 MB, free: 8.617 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/0.6651, allocations: 8.031 kB / 489.9 MB, free: 8.609 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02011/0.6852, allocations: 3.166 MB / 493.1 MB, free: 5.434 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00797/0.6932, allocations: 3.155 MB / 496.2 MB, free: 2.219 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001565/0.6934, allocations: 205 kB / 496.4 MB, free: 2.016 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007101/0.6941, allocations: 275.7 kB / 496.7 MB, free: 1.746 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01475/0.7089, allocations: 8.859 MB / 0.4937 GB, free: 8.234 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001178/0.709, allocations: 35.66 kB / 0.4937 GB, free: 8.199 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003281/0.7094, allocations: 127.9 kB / 0.4939 GB, free: 8.074 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00285/0.7122, allocations: 1.77 MB / 0.4956 GB, free: 6.297 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.015/0.7272, allocations: 7.769 MB / 0.5032 GB, free: 14.52 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3926/1.12, allocations: 36.04 MB / 0.5384 GB, free: 128.2 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009716/1.13, allocations: 3.803 MB / 0.5421 GB, free: 127.6 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00365/1.133, allocations: 2.156 MB / 0.5442 GB, free: 127.5 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004574/1.134, allocations: 324.5 kB / 0.5445 GB, free: 127.2 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.689e-05/1.134, allocations: 57.73 kB / 0.5446 GB, free: 127.2 MB / 446.1 MB Notification: Performance of pre-optimization done (n=160): time 5.16e-06/1.134, allocations: 0 / 0.5446 GB, free: 127.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=190): time 0.06234/1.196, allocations: 21.39 MB / 0.5654 GB, free: 119.8 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001244/1.196, allocations: 247.9 kB / 0.5657 GB, free: 119.5 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008829/1.205, allocations: 3.906 MB / 0.5695 GB, free: 116.9 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007436/1.206, allocations: 58.25 kB / 0.5696 GB, free: 116.8 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001853/1.208, allocations: 2.783 MB / 0.5723 GB, free: 114.1 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009762/1.209, allocations: 0.7237 MB / 0.573 GB, free: 113.4 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002658/1.209, allocations: 113.3 kB / 0.5731 GB, free: 113.2 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000272/1.21, allocations: 0.5497 MB / 0.5736 GB, free: 112.7 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003037/1.213, allocations: 2.361 MB / 0.5759 GB, free: 110.3 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004851/1.217, allocations: 5.62 MB / 0.5814 GB, free: 103.2 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004703/1.222, allocations: 3.567 MB / 0.5849 GB, free: 99.84 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.418e-05/1.222, allocations: 35.06 kB / 0.5849 GB, free: 99.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=749) (initialization): time 0.01655/1.239, allocations: 9.578 MB / 0.5943 GB, free: 90.25 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.358e-05/1.239, allocations: 56 kB / 0.5943 GB, free: 90.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000123/1.239, allocations: 116 kB / 0.5944 GB, free: 90.08 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004757/1.244, allocations: 2.035 MB / 0.5964 GB, free: 88.04 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004475/1.248, allocations: 1.279 MB / 0.5977 GB, free: 86.76 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01347/1.262, allocations: 10.53 MB / 0.608 GB, free: 76.11 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005721/1.268, allocations: 347.4 kB / 0.6083 GB, free: 75.77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001145/1.269, allocations: 336 kB / 0.6086 GB, free: 75.44 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 515 * Number of states: 0 () * Number of discrete variables: 30 (boxBody2.color[3],boxBody2.color[2],boxBody2.color[1],boxBody2.body.sphereColor[3],boxBody2.body.sphereColor[2],boxBody2.body.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],boxBody1.color[3],boxBody1.color[2],boxBody1.color[1],boxBody1.body.sphereColor[3],boxBody1.body.sphereColor[2],boxBody1.body.sphereColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.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 (688): * Single equations (assignments): 684 * 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 {(4,87.5%) 34} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003804/1.273, allocations: 1.942 MB / 0.6105 GB, free: 73.48 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009494/1.274, allocations: 346.5 kB / 0.6108 GB, free: 73.14 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00832/1.282, allocations: 4.88 MB / 0.6156 GB, free: 68.25 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.263e-05/1.282, allocations: 20 kB / 0.6156 GB, free: 68.23 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-05/1.282, allocations: 8 kB / 0.6156 GB, free: 68.22 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.296e-05/1.282, allocations: 7.969 kB / 0.6156 GB, free: 68.21 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02247/1.305, allocations: 10.03 MB / 0.6254 GB, free: 58.14 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-05/1.305, allocations: 0 / 0.6254 GB, free: 58.14 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001817/1.306, allocations: 267.6 kB / 0.6257 GB, free: 57.88 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006124/1.313, allocations: 1.846 MB / 0.6275 GB, free: 56.03 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004311/1.313, allocations: 36 kB / 0.6275 GB, free: 56 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01486/1.328, allocations: 9.688 MB / 0.637 GB, free: 46.17 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.613e-06/1.328, allocations: 7.969 kB / 0.637 GB, free: 46.16 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01657/1.345, allocations: 7.927 MB / 0.6447 GB, free: 38.21 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001705/1.346, allocations: 416.5 kB / 0.6451 GB, free: 37.78 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00133/1.348, allocations: 32.7 kB / 0.6452 GB, free: 37.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002452/1.35, allocations: 136.8 kB / 0.6453 GB, free: 37.61 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005286/1.351, allocations: 118.9 kB / 0.6454 GB, free: 37.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002296/1.351, allocations: 44.62 kB / 0.6455 GB, free: 37.46 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.005132/1.356, allocations: 2.465 MB / 0.6479 GB, free: 35.01 MB / 446.1 MB Notification: Performance of sort global known variables: time 4.01e-07/1.356, allocations: 0 / 0.6479 GB, free: 35.01 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00667/1.363, allocations: 1.071 MB / 0.6489 GB, free: 33.95 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 4 (revolute1.phi,revolute1.w,revolute2.phi,revolute2.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 (136): * Single equations (assignments): 132 * 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 {(2,100.0%) 33} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005387/1.363, allocations: 165.9 kB / 0.6491 GB, free: 33.79 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.008878/1.372, allocations: 5.8 MB / 0.6547 GB, free: 27.99 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.608e-06/1.372, allocations: 0 / 0.6547 GB, free: 27.99 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002974/1.375, allocations: 2.081 MB / 0.6568 GB, free: 25.89 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003514/1.379, allocations: 458.2 kB / 0.6572 GB, free: 25.46 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01674/1.396, allocations: 11.3 MB / 0.6682 GB, free: 14.12 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002727/1.398, allocations: 3.067 MB / 0.6712 GB, free: 11.02 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001244/1.4, allocations: 271.4 kB / 0.6715 GB, free: 10.75 MB / 446.1 MB Notification: Performance of SimCode: time 2.004e-06/1.4, allocations: 4 kB / 0.6715 GB, free: 10.75 MB / 446.1 MB Notification: Performance of Templates: time 0.365/1.765, allocations: 73.42 MB / 0.7432 GB, free: 157.6 MB / 478.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.makefile make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.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.DoublePendulumCalcHelperMain.o OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumCalcHelperMain.o] Error 1