Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.DoublePendulum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00143/0.00143, allocations: 98.7 kB / 17.96 MB, free: 5.742 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.001337/0.001337, allocations: 175.2 kB / 18.86 MB, free: 4.891 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.951/1.951, allocations: 205.4 MB / 225 MB, free: 13.07 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005222/0.0005222, allocations: 12 kB / 282 MB, free: 3.402 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1299/0.1304, allocations: 47.59 MB / 329.6 MB, free: 3.746 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum): time 0.04314/0.1736, allocations: 37.35 MB / 367 MB, free: 14.25 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02789/0.2015, allocations: 8.598 MB / 375.6 MB, free: 5.621 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009082/0.2107, allocations: 175.5 kB / 375.7 MB, free: 5.449 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001887/0.2126, allocations: 386.1 kB / 376.1 MB, free: 5.07 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006095/0.2187, allocations: 1.752 MB / 377.9 MB, free: 3.312 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00227/0.221, allocations: 0.6865 MB / 378.6 MB, free: 2.625 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.3273/0.5483, allocations: 6.72 MB / 385.3 MB, free: 9.715 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01017/0.5586, allocations: 3.886 MB / 389.2 MB, free: 9.277 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004235/0.5628, allocations: 1.15 MB / 390.3 MB, free: 9.277 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005095/0.568, allocations: 1.992 MB / 392.3 MB, free: 9.227 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001678/0.5697, allocations: 133.1 kB / 392.4 MB, free: 9.227 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003972/0.5737, allocations: 1.073 MB / 393.5 MB, free: 9.227 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003516/0.5772, allocations: 1.691 MB / 395.2 MB, free: 9.043 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00325/0.5805, allocations: 1.881 MB / 397.1 MB, free: 8.285 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006882/0.5874, allocations: 5.115 MB / 402.2 MB, free: 6.316 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.334e-06/0.5874, allocations: 1.938 kB / 402.2 MB, free: 6.316 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.765e-06/0.5874, allocations: 0 / 402.2 MB, free: 6.316 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002462/0.5877, allocations: 0 / 402.2 MB, free: 6.316 MB / 318.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.01036/0.598, allocations: 3.879 MB / 406.1 MB, free: 3.895 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.39e-05/0.5981, allocations: 8.25 kB / 406.1 MB, free: 3.895 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02715/0.6253, allocations: 3.164 MB / 409.2 MB, free: 2.598 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009205/0.6345, allocations: 3.379 MB / 412.6 MB, free: 1.441 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002613/0.6348, allocations: 196.6 kB / 412.8 MB, free: 1.434 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001533/0.6364, allocations: 272.2 kB / 413.1 MB, free: 1.426 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01888/0.6553, allocations: 8.881 MB / 422 MB, free: 10.04 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001858/0.6555, allocations: 50.75 kB / 422 MB, free: 10.01 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004234/0.656, allocations: 127.2 kB / 422.1 MB, free: 9.918 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0034/0.6594, allocations: 1.769 MB / 423.9 MB, free: 8.172 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01879/0.6782, allocations: 7.809 MB / 431.7 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05713/0.7354, allocations: 36.06 MB / 467.8 MB, free: 11.84 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01024/0.7457, allocations: 3.804 MB / 471.6 MB, free: 7.898 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00397/0.7497, allocations: 2.168 MB / 473.8 MB, free: 5.723 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006373/0.7504, allocations: 329.3 kB / 474.1 MB, free: 5.355 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.663e-05/0.7505, allocations: 53.81 kB / 474.1 MB, free: 5.293 MB / 382.1 MB Notification: Performance of pre-optimization done (n=160): time 6.642e-06/0.7505, allocations: 0 / 474.1 MB, free: 5.293 MB / 382.1 MB Notification: Performance of matching and sorting (n=190): time 0.07087/0.8214, allocations: 21.44 MB / 495.6 MB, free: 15.79 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001924/0.8217, allocations: 255.6 kB / 495.8 MB, free: 15.49 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006775/0.8285, allocations: 3.955 MB / 499.8 MB, free: 11.55 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005624/0.829, allocations: 57.7 kB / 499.8 MB, free: 11.49 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002341/0.8314, allocations: 2.78 MB / 0.4908 GB, free: 8.715 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001069/0.8325, allocations: 0.7232 MB / 0.4915 GB, free: 7.996 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006873/0.8332, allocations: 0.4948 MB / 0.492 GB, free: 7.492 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001378/0.8333, allocations: 305.1 kB / 0.4923 GB, free: 7.191 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003799/0.8371, allocations: 2.389 MB / 0.4946 GB, free: 4.797 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006347/0.8435, allocations: 5.642 MB / 0.5002 GB, free: 13.6 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0121/0.8556, allocations: 8.562 MB / 0.5085 GB, free: 3.91 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001142/0.8558, allocations: 35.98 kB / 0.5086 GB, free: 3.875 MB / 430.1 MB Notification: Performance of matching and sorting (n=749) (initialization): time 0.02173/0.8775, allocations: 9.635 MB / 0.518 GB, free: 10.93 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001004/0.8776, allocations: 56 kB / 0.518 GB, free: 10.87 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001585/0.8778, allocations: 116 kB / 0.5181 GB, free: 10.76 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005887/0.8837, allocations: 2.01 MB / 0.5201 GB, free: 8.742 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00623/0.89, allocations: 1.29 MB / 0.5213 GB, free: 7.508 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01954/0.9095, allocations: 10.59 MB / 0.5317 GB, free: 12.77 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006763/0.9163, allocations: 342 kB / 0.532 GB, free: 12.44 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001616/0.918, allocations: 340 kB / 0.5323 GB, free: 12.11 MB / 462.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,35,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005683/0.9237, allocations: 1.951 MB / 0.5342 GB, free: 10.14 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00136/0.9251, allocations: 347.5 kB / 0.5346 GB, free: 9.801 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01122/0.9363, allocations: 4.876 MB / 0.5393 GB, free: 4.91 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-05/0.9364, allocations: 24 kB / 0.5394 GB, free: 4.887 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.938e-05/0.9365, allocations: 8 kB / 0.5394 GB, free: 4.879 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.115e-05/0.9365, allocations: 7.969 kB / 0.5394 GB, free: 4.871 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3268/1.263, allocations: 10.05 MB / 0.5492 GB, free: 173.2 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.945e-05/1.263, allocations: 4.844 kB / 0.5492 GB, free: 173.2 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001426/1.265, allocations: 273.1 kB / 0.5495 GB, free: 173.2 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006183/1.271, allocations: 1.839 MB / 0.5513 GB, free: 173.2 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002633/1.271, allocations: 29.7 kB / 0.5513 GB, free: 173.2 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01528/1.287, allocations: 9.712 MB / 0.5608 GB, free: 169.2 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/1.287, allocations: 2.594 kB / 0.5608 GB, free: 169.2 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0126/1.299, allocations: 7.948 MB / 0.5685 GB, free: 166.4 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002624/1.302, allocations: 0.7323 MB / 0.5692 GB, free: 166.2 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006091/1.303, allocations: 27.88 kB / 0.5693 GB, free: 166.1 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001683/1.304, allocations: 135.8 kB / 0.5694 GB, free: 166.1 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005103/1.305, allocations: 118.6 kB / 0.5695 GB, free: 166.1 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001567/1.305, allocations: 46.97 kB / 0.5696 GB, free: 166.1 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.004485/1.309, allocations: 2.504 MB / 0.572 GB, free: 165.3 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.5e-07/1.309, allocations: 3.75 kB / 0.572 GB, free: 165.3 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.005151/1.315, allocations: 1.066 MB / 0.573 GB, free: 165.1 MB / 462.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,33,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004365/1.315, allocations: 170.2 kB / 0.5732 GB, free: 165 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007668/1.323, allocations: 5.8 MB / 0.5789 GB, free: 162.2 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/1.323, allocations: 4 kB / 0.5789 GB, free: 162.2 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002543/1.325, allocations: 2.09 MB / 0.5809 GB, free: 160.4 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003566/1.329, allocations: 451.6 kB / 0.5814 GB, free: 160 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01616/1.345, allocations: 11.74 MB / 0.5928 GB, free: 148.7 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00287/1.348, allocations: 3.075 MB / 0.5958 GB, free: 145.5 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001184/1.349, allocations: 275.4 kB / 0.5961 GB, free: 145.3 MB / 462.1 MB Notification: Performance of SimCode: time 1.132e-06/1.349, allocations: 0 / 0.5961 GB, free: 145.3 MB / 462.1 MB Notification: Performance of Templates: time 0.09988/1.449, allocations: 73.26 MB / 0.6676 GB, free: 71.9 MB / 462.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.makefile make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumCalcHelperMain.o] Error 1