Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.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.DoublePendulumInitTip,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.DoublePendulumInitTip") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip,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.DoublePendulumInitTip") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008403/0.0008404, allocations: 93.17 kB / 17.64 MB, free: 6.156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008802/0.0008803, allocations: 197.4 kB / 18.54 MB, free: 5.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.721/1.721, allocations: 227.3 MB / 246.6 MB, free: 12.05 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002421/0.0002421, allocations: 8 kB / 307.3 MB, free: 1.617 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1336/0.1339, allocations: 51.49 MB / 358.8 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.3707/0.5046, allocations: 45.65 MB / 404.5 MB, free: 10.18 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.03996/0.5446, allocations: 10.31 MB / 414.8 MB, free: 2.863 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01641/0.5611, allocations: 219.1 kB / 415 MB, free: 2.828 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01122/0.5724, allocations: 2.386 MB / 417.4 MB, free: 1.039 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03146/0.6039, allocations: 7.053 MB / 424.4 MB, free: 10.36 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005664/0.6096, allocations: 0.691 MB / 425.1 MB, free: 9.664 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.08693/0.6966, allocations: 61.32 MB / 486.4 MB, free: 12.27 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008053/0.7047, allocations: 4.627 MB / 491.1 MB, free: 7.598 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003578/0.7083, allocations: 1.382 MB / 492.4 MB, free: 6.211 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003991/0.7123, allocations: 2.138 MB / 494.6 MB, free: 4.066 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007891/0.7132, allocations: 144 kB / 494.7 MB, free: 3.926 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002623/0.7158, allocations: 0.9285 MB / 495.6 MB, free: 2.996 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002537/0.7183, allocations: 1.87 MB / 497.5 MB, free: 1.121 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001505/0.7199, allocations: 0.8778 MB / 498.4 MB, free: 240 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008629/0.7285, allocations: 5.915 MB / 0.4925 GB, free: 10.3 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.201e-05/0.7286, allocations: 0 / 0.4925 GB, free: 10.3 MB / 414.1 MB Notification: Performance of FrontEnd: time 4.789e-06/0.7286, allocations: 3.938 kB / 0.4925 GB, free: 10.3 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003677/0.729, allocations: 0 / 0.4925 GB, free: 10.3 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1508 * Number of variables: 1508 Notification: Performance of Generate backend data structure: time 0.0128/0.7418, allocations: 4.409 MB / 0.4968 GB, free: 5.824 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.969e-05/0.7418, allocations: 8.031 kB / 0.4968 GB, free: 5.816 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02172/0.7636, allocations: 3.247 MB / 0.5 GB, free: 2.559 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009293/0.7729, allocations: 3.411 MB / 0.5033 GB, free: 15.09 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002125/0.7731, allocations: 238.2 kB / 0.5035 GB, free: 14.86 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001003/0.7742, allocations: 327.7 kB / 0.5038 GB, free: 14.54 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01963/0.7938, allocations: 10.01 MB / 0.5136 GB, free: 3.875 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001588/0.794, allocations: 51.55 kB / 0.5137 GB, free: 3.824 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004873/0.7945, allocations: 159.9 kB / 0.5138 GB, free: 3.668 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003509/0.798, allocations: 1.955 MB / 0.5157 GB, free: 1.707 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01812/0.8161, allocations: 8.57 MB / 0.5241 GB, free: 9.117 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3383/1.154, allocations: 38.84 MB / 0.562 GB, free: 124.2 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008847/1.163, allocations: 3.931 MB / 0.5659 GB, free: 122.6 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002888/1.166, allocations: 2.184 MB / 0.568 GB, free: 121.7 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005556/1.167, allocations: 0.6454 MB / 0.5686 GB, free: 121.1 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.29e-05/1.167, allocations: 52.41 kB / 0.5687 GB, free: 121.1 MB / 446.1 MB Notification: Performance of pre-optimization done (n=166): time 4.258e-06/1.167, allocations: 3.969 kB / 0.5687 GB, free: 121.1 MB / 446.1 MB Notification: Performance of matching and sorting (n=201): time 0.05141/1.218, allocations: 22.58 MB / 0.5907 GB, free: 105.6 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001039/1.219, allocations: 248.6 kB / 0.591 GB, free: 105.3 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005222/1.224, allocations: 4.149 MB / 0.595 GB, free: 101.1 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004865/1.224, allocations: 58.41 kB / 0.5951 GB, free: 101.1 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001648/1.226, allocations: 3.121 MB / 0.5981 GB, free: 97.97 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009255/1.227, allocations: 0.7694 MB / 0.5989 GB, free: 97.21 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002655/1.227, allocations: 123.9 kB / 0.599 GB, free: 97.09 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002614/1.227, allocations: 0.5662 MB / 0.5996 GB, free: 96.52 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003137/1.231, allocations: 2.464 MB / 0.602 GB, free: 94.05 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004515/1.235, allocations: 5.954 MB / 0.6078 GB, free: 86.38 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004785/1.24, allocations: 3.764 MB / 0.6114 GB, free: 82.61 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.064e-05/1.24, allocations: 36 kB / 0.6115 GB, free: 82.58 MB / 446.1 MB Notification: Performance of matching and sorting (n=797) (initialization): time 0.01926/1.259, allocations: 10.49 MB / 0.6217 GB, free: 72.07 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.839e-05/1.259, allocations: 62.66 kB / 0.6218 GB, free: 72.02 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001261/1.26, allocations: 120 kB / 0.6219 GB, free: 71.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006516/1.266, allocations: 2.618 MB / 0.6245 GB, free: 69.27 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004363/1.27, allocations: 1.306 MB / 0.6257 GB, free: 67.96 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02052/1.291, allocations: 17.24 MB / 0.6426 GB, free: 50.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006165/1.297, allocations: 359.4 kB / 0.6429 GB, free: 49.99 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001296/1.299, allocations: 361 kB / 0.6432 GB, free: 49.64 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 552 * Number of states: 0 () * Number of discrete variables: 35 (freeMotionScalarInit.arrow.arrow.arrowLine.twoHeadedArrow,freeMotionScalarInit.arrow.headAtOrigin,freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.arrowColor[1],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 (709): * Single equations (assignments): 703 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(3,88.9%) 35,(2,100.0%) 12} * Non-linear torn systems: 1 {2 13} Notification: Performance of prepare postOptimizeDAE: time 0.005194/1.304, allocations: 2.174 MB / 0.6454 GB, free: 47.45 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001155/1.305, allocations: 375.2 kB / 0.6457 GB, free: 47.08 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008594/1.314, allocations: 5.023 MB / 0.6506 GB, free: 42.04 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.406e-05/1.314, allocations: 20 kB / 0.6507 GB, free: 42.02 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.747e-05/1.314, allocations: 11.95 kB / 0.6507 GB, free: 42.01 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.318e-05/1.314, allocations: 11.95 kB / 0.6507 GB, free: 42 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01847/1.332, allocations: 10.81 MB / 0.6612 GB, free: 31.14 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.036e-05/1.332, allocations: 0 / 0.6612 GB, free: 31.14 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001269/1.334, allocations: 283.6 kB / 0.6615 GB, free: 30.86 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004352/1.338, allocations: 1.854 MB / 0.6633 GB, free: 29 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002736/1.338, allocations: 32 kB / 0.6633 GB, free: 28.97 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0114/1.35, allocations: 9.71 MB / 0.6728 GB, free: 19.12 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.253e-06/1.35, allocations: 8.016 kB / 0.6728 GB, free: 19.11 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01199/1.362, allocations: 8.141 MB / 0.6808 GB, free: 10.94 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001738/1.363, allocations: 432.2 kB / 0.6812 GB, free: 10.5 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000591/1.364, allocations: 36.53 kB / 0.6812 GB, free: 10.46 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001512/1.366, allocations: 141.5 kB / 0.6814 GB, free: 10.32 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003533/1.366, allocations: 117.1 kB / 0.6815 GB, free: 10.21 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001362/1.366, allocations: 51.98 kB / 0.6815 GB, free: 10.16 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004151/1.37, allocations: 2.608 MB / 0.6841 GB, free: 7.543 MB / 446.1 MB Notification: Performance of sort global known variables: time 6.62e-07/1.37, allocations: 0 / 0.6841 GB, free: 7.543 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.006909/1.377, allocations: 1.182 MB / 0.6852 GB, free: 6.367 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 (147): * Single equations (assignments): 143 * 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.0005332/1.378, allocations: 168.5 kB / 0.6854 GB, free: 6.195 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.009298/1.387, allocations: 6.422 MB / 0.6917 GB, free: 15.75 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 9.928e-06/1.387, allocations: 0.75 kB / 0.6917 GB, free: 15.75 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003501/1.391, allocations: 2.151 MB / 0.6938 GB, free: 13.59 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003845/1.394, allocations: 0.5346 MB / 0.6943 GB, free: 13.05 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02371/1.418, allocations: 12.57 MB / 0.7066 GB, free: 456 kB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2978/1.716, allocations: 3.412 MB / 0.7099 GB, free: 150.5 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00161/1.718, allocations: 290.7 kB / 0.7102 GB, free: 150.5 MB / 462.1 MB Notification: Performance of SimCode: time 1.433e-06/1.718, allocations: 1.375 kB / 0.7102 GB, free: 150.5 MB / 462.1 MB Notification: Performance of Templates: time 0.1505/1.868, allocations: 101.1 MB / 0.8089 GB, free: 70.21 MB / 462.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.makefile make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.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.DoublePendulumInitTipCalcHelperMain.o OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTipCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTipCalcHelperMain.o] Error 1