Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.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.DoublePendulumInitTip,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009644/0.0009647, allocations: 92.22 kB / 16.96 MB, free: 6.41 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.001373/0.001373, allocations: 183.5 kB / 17.84 MB, free: 5.969 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.524/1.524, allocations: 223.3 MB / 241.9 MB, free: 14.61 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003247/0.0003248, allocations: 7.984 kB / 301.5 MB, free: 6.215 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1484/0.1488, allocations: 50.42 MB / 351.9 MB, free: 3.785 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.3842/0.533, allocations: 45.64 MB / 397.5 MB, free: 0.6406 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.03622/0.5693, allocations: 10.26 MB / 407.8 MB, free: 9.652 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01492/0.5843, allocations: 223.2 kB / 408 MB, free: 9.613 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01017/0.5945, allocations: 2.384 MB / 410.4 MB, free: 7.922 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02538/0.6199, allocations: 7.079 MB / 417.5 MB, free: 2.902 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005337/0.6253, allocations: 0.6949 MB / 418.2 MB, free: 2.207 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.08224/0.7076, allocations: 61.2 MB / 479.4 MB, free: 4.922 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007753/0.7154, allocations: 4.628 MB / 484 MB, free: 252 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003469/0.7189, allocations: 1.386 MB / 485.4 MB, free: 14.85 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004045/0.723, allocations: 2.138 MB / 487.5 MB, free: 12.71 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007599/0.7238, allocations: 148 kB / 487.6 MB, free: 12.56 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002493/0.7263, allocations: 0.944 MB / 488.6 MB, free: 11.62 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002104/0.7284, allocations: 1.854 MB / 490.4 MB, free: 9.758 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001234/0.7296, allocations: 0.8816 MB / 491.3 MB, free: 8.871 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006792/0.7364, allocations: 5.927 MB / 497.3 MB, free: 2.93 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.135e-05/0.7365, allocations: 4 kB / 497.3 MB, free: 2.926 MB / 398.1 MB Notification: Performance of FrontEnd: time 4.548e-06/0.7365, allocations: 3.938 kB / 497.3 MB, free: 2.922 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003311/0.7368, allocations: 0 / 497.3 MB, free: 2.922 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: 1508 * Number of variables: 1508 Notification: Performance of Generate backend data structure: time 0.01287/0.7497, allocations: 4.374 MB / 0.4899 GB, free: 14.47 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.929e-05/0.7498, allocations: 12.03 kB / 0.4899 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02155/0.7713, allocations: 3.247 MB / 0.4931 GB, free: 11.2 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009534/0.7809, allocations: 3.458 MB / 0.4964 GB, free: 7.688 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002142/0.7812, allocations: 242.2 kB / 0.4967 GB, free: 7.449 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001421/0.7826, allocations: 335.7 kB / 0.497 GB, free: 7.121 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0202/0.8028, allocations: 10.02 MB / 0.5068 GB, free: 12.46 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001609/0.803, allocations: 51.5 kB / 0.5068 GB, free: 12.41 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004289/0.8035, allocations: 151.9 kB / 0.507 GB, free: 12.26 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00331/0.8068, allocations: 1.963 MB / 0.5089 GB, free: 10.29 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01799/0.8248, allocations: 8.566 MB / 0.5173 GB, free: 1.711 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3978/1.223, allocations: 38.84 MB / 0.5552 GB, free: 131.3 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009569/1.232, allocations: 3.934 MB / 0.559 GB, free: 130.2 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00322/1.236, allocations: 2.178 MB / 0.5612 GB, free: 129.3 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006547/1.236, allocations: 0.6516 MB / 0.5618 GB, free: 128.7 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.149e-05/1.236, allocations: 50.03 kB / 0.5618 GB, free: 128.7 MB / 446.1 MB Notification: Performance of pre-optimization done (n=166): time 5.46e-06/1.236, allocations: 3.969 kB / 0.5618 GB, free: 128.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=201): time 0.05357/1.29, allocations: 22.57 MB / 0.5839 GB, free: 116.7 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001062/1.29, allocations: 264.6 kB / 0.5841 GB, free: 116.4 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005736/1.296, allocations: 4.148 MB / 0.5882 GB, free: 112.2 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005951/1.296, allocations: 58.8 kB / 0.5882 GB, free: 112.2 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001883/1.298, allocations: 3.115 MB / 0.5913 GB, free: 109.1 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001269/1.3, allocations: 0.7679 MB / 0.592 GB, free: 108.3 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002941/1.3, allocations: 120 kB / 0.5921 GB, free: 108.2 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002953/1.3, allocations: 0.5662 MB / 0.5927 GB, free: 107.6 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003222/1.303, allocations: 2.468 MB / 0.5951 GB, free: 105.1 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005097/1.308, allocations: 5.959 MB / 0.6009 GB, free: 97.54 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005278/1.314, allocations: 3.756 MB / 0.6046 GB, free: 93.78 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.922e-05/1.314, allocations: 32 kB / 0.6046 GB, free: 93.75 MB / 446.1 MB Notification: Performance of matching and sorting (n=797) (initialization): time 0.0203/1.334, allocations: 10.5 MB / 0.6149 GB, free: 83.23 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000141/1.334, allocations: 56 kB / 0.6149 GB, free: 83.18 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00022/1.335, allocations: 120 kB / 0.615 GB, free: 83.06 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007842/1.342, allocations: 2.615 MB / 0.6176 GB, free: 80.44 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00517/1.348, allocations: 1.31 MB / 0.6189 GB, free: 79.12 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02281/1.371, allocations: 17.24 MB / 0.6357 GB, free: 61.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006767/1.377, allocations: 367.4 kB / 0.6361 GB, free: 61.14 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001667/1.379, allocations: 365.1 kB / 0.6364 GB, free: 60.79 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.006795/1.386, allocations: 2.164 MB / 0.6385 GB, free: 58.61 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00161/1.388, allocations: 375.2 kB / 0.6389 GB, free: 58.24 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01109/1.399, allocations: 5.011 MB / 0.6438 GB, free: 53.21 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.55e-05/1.399, allocations: 20 kB / 0.6438 GB, free: 53.19 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.278e-05/1.399, allocations: 12 kB / 0.6438 GB, free: 53.18 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.962e-05/1.399, allocations: 15.92 kB / 0.6438 GB, free: 53.16 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02507/1.424, allocations: 10.82 MB / 0.6544 GB, free: 42.29 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.892e-05/1.424, allocations: 64 / 0.6544 GB, free: 42.29 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001514/1.426, allocations: 295.5 kB / 0.6547 GB, free: 42 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00484/1.43, allocations: 1.838 MB / 0.6565 GB, free: 40.16 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005348/1.431, allocations: 33.56 kB / 0.6565 GB, free: 40.13 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01311/1.444, allocations: 9.705 MB / 0.666 GB, free: 30.29 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.013e-06/1.444, allocations: 7.891 kB / 0.666 GB, free: 30.28 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01403/1.458, allocations: 8.141 MB / 0.6739 GB, free: 22.11 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001991/1.46, allocations: 432.2 kB / 0.6743 GB, free: 21.66 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00144/1.462, allocations: 39.94 kB / 0.6744 GB, free: 21.62 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002683/1.464, allocations: 139.8 kB / 0.6745 GB, free: 21.48 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005398/1.465, allocations: 117.1 kB / 0.6746 GB, free: 21.37 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002607/1.465, allocations: 52 kB / 0.6747 GB, free: 21.32 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.005987/1.471, allocations: 2.604 MB / 0.6772 GB, free: 18.71 MB / 446.1 MB Notification: Performance of sort global known variables: time 7.21e-07/1.471, allocations: 0 / 0.6772 GB, free: 18.71 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.008852/1.48, allocations: 1.187 MB / 0.6784 GB, free: 17.53 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.0007969/1.481, allocations: 175.7 kB / 0.6785 GB, free: 17.36 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01117/1.492, allocations: 6.427 MB / 0.6848 GB, free: 10.91 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.148e-06/1.492, allocations: 0 / 0.6848 GB, free: 10.91 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003129/1.495, allocations: 2.152 MB / 0.6869 GB, free: 8.746 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005216/1.501, allocations: 0.5282 MB / 0.6874 GB, free: 8.223 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02534/1.526, allocations: 12.56 MB / 0.6997 GB, free: 11.62 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005134/1.531, allocations: 3.414 MB / 0.703 GB, free: 8.172 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001394/1.533, allocations: 291.4 kB / 0.7033 GB, free: 7.887 MB / 462.1 MB Notification: Performance of SimCode: time 1.753e-06/1.533, allocations: 0 / 0.7033 GB, free: 7.887 MB / 462.1 MB Notification: Performance of Templates: time 0.4684/2.001, allocations: 101.1 MB / 0.802 GB, free: 80.62 MB / 462.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.makefile make -j1 -f Modelica_4.0.0_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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTipCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTipCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTipCalcHelperMain.o] Error 1