Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_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 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.DoublePendulum,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.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_4.0.0_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.00107/0.001071, allocations: 91.91 kB / 16.95 MB, free: 5.953 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.001224/0.001224, allocations: 182.4 kB / 17.84 MB, free: 5.617 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.538/1.538, allocations: 223.3 MB / 241.9 MB, free: 316 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003191/0.0003191, allocations: 7.938 kB / 301.4 MB, free: 6.469 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1412/0.1416, allocations: 50.43 MB / 351.9 MB, free: 4.031 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum): time 0.3776/0.5193, allocations: 34.73 MB / 386.6 MB, free: 8.102 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02891/0.5483, allocations: 8.189 MB / 394.8 MB, free: 3.164 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01213/0.5605, allocations: 170.6 kB / 395 MB, free: 3.133 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008754/0.5693, allocations: 1.763 MB / 396.7 MB, free: 2.512 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02168/0.591, allocations: 5.52 MB / 402.2 MB, free: 14.94 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004168/0.5952, allocations: 0.6311 MB / 402.9 MB, free: 14.54 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.08861/0.6839, allocations: 60.73 MB / 463.6 MB, free: 4.848 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007906/0.6918, allocations: 3.486 MB / 467.1 MB, free: 1.312 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00373/0.6956, allocations: 1.253 MB / 468.3 MB, free: 56 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004152/0.6998, allocations: 1.971 MB / 470.3 MB, free: 14.07 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001197/0.701, allocations: 132 kB / 470.4 MB, free: 13.95 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003138/0.7042, allocations: 0.9245 MB / 471.4 MB, free: 13.02 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002907/0.7071, allocations: 1.667 MB / 473 MB, free: 11.35 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002036/0.7091, allocations: 0.7688 MB / 473.8 MB, free: 10.57 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007455/0.7166, allocations: 5.093 MB / 478.9 MB, free: 5.469 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.7167, allocations: 0 / 478.9 MB, free: 5.469 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.7167, allocations: 0 / 478.9 MB, free: 5.469 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002059/0.7169, allocations: 4 kB / 478.9 MB, free: 5.465 MB / 382.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.009078/0.726, allocations: 3.918 MB / 482.8 MB, free: 1.477 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.991e-05/0.726, allocations: 15.97 kB / 482.8 MB, free: 1.461 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0209/0.7469, allocations: 3.166 MB / 486 MB, free: 14.29 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008589/0.7556, allocations: 3.206 MB / 489.2 MB, free: 11.02 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001947/0.7558, allocations: 201 kB / 489.4 MB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007828/0.7566, allocations: 271.7 kB / 489.7 MB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01567/0.7723, allocations: 8.867 MB / 498.5 MB, free: 1.039 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001387/0.7725, allocations: 39.66 kB / 498.6 MB, free: 1 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003566/0.7729, allocations: 127.9 kB / 498.7 MB, free: 0.875 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002885/0.7758, allocations: 1.774 MB / 0.4887 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01557/0.7913, allocations: 7.765 MB / 0.4963 GB, free: 7.328 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04674/0.8381, allocations: 36.04 MB / 0.5315 GB, free: 2.215 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3202/1.158, allocations: 3.803 MB / 0.5352 GB, free: 156 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004841/1.163, allocations: 2.159 MB / 0.5373 GB, free: 155.7 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006373/1.164, allocations: 329.5 kB / 0.5377 GB, free: 155.4 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.014e-05/1.164, allocations: 53.25 kB / 0.5377 GB, free: 155.3 MB / 446.1 MB Notification: Performance of pre-optimization done (n=160): time 6.262e-06/1.164, allocations: 1.156 kB / 0.5377 GB, free: 155.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=190): time 0.05709/1.221, allocations: 21.39 MB / 0.5586 GB, free: 148.4 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001561/1.221, allocations: 251.8 kB / 0.5588 GB, free: 148.2 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005913/1.227, allocations: 3.907 MB / 0.5627 GB, free: 144.9 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004731/1.228, allocations: 54.72 kB / 0.5627 GB, free: 144.9 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002337/1.23, allocations: 2.783 MB / 0.5654 GB, free: 142.1 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009587/1.231, allocations: 0.7249 MB / 0.5661 GB, free: 141.4 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002602/1.231, allocations: 112 kB / 0.5662 GB, free: 141.3 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0003158/1.232, allocations: 0.5458 MB / 0.5668 GB, free: 140.7 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003421/1.235, allocations: 2.364 MB / 0.5691 GB, free: 138.4 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005289/1.241, allocations: 5.615 MB / 0.5746 GB, free: 131.2 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004272/1.245, allocations: 3.562 MB / 0.578 GB, free: 127.7 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.794e-05/1.245, allocations: 32 kB / 0.5781 GB, free: 127.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=749) (initialization): time 0.01518/1.26, allocations: 9.587 MB / 0.5874 GB, free: 118.1 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.438e-05/1.26, allocations: 56 kB / 0.5875 GB, free: 118 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.774e-05/1.26, allocations: 112 kB / 0.5876 GB, free: 117.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004596/1.265, allocations: 2.048 MB / 0.5896 GB, free: 115.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003967/1.269, allocations: 1.271 MB / 0.5908 GB, free: 114.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01238/1.281, allocations: 10.54 MB / 0.6011 GB, free: 103.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005635/1.287, allocations: 335.5 kB / 0.6014 GB, free: 103.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001163/1.288, allocations: 344.6 kB / 0.6018 GB, free: 103.3 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.003793/1.292, allocations: 1.94 MB / 0.6037 GB, free: 101.3 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009321/1.293, allocations: 347.5 kB / 0.604 GB, free: 101 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008134/1.301, allocations: 4.88 MB / 0.6088 GB, free: 96.07 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.303e-05/1.301, allocations: 20 kB / 0.6088 GB, free: 96.05 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.995e-05/1.301, allocations: 11.83 kB / 0.6088 GB, free: 96.04 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.5e-05/1.301, allocations: 7.969 kB / 0.6088 GB, free: 96.04 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01617/1.317, allocations: 10.03 MB / 0.6186 GB, free: 85.97 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.248e-05/1.317, allocations: 0 / 0.6186 GB, free: 85.97 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001216/1.319, allocations: 263.6 kB / 0.6188 GB, free: 85.71 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00455/1.323, allocations: 1.846 MB / 0.6206 GB, free: 83.86 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002334/1.323, allocations: 39.42 kB / 0.6207 GB, free: 83.83 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01098/1.334, allocations: 9.699 MB / 0.6302 GB, free: 73.99 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/1.335, allocations: 8.094 kB / 0.6302 GB, free: 73.98 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01104/1.346, allocations: 7.928 MB / 0.6379 GB, free: 66.03 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001449/1.347, allocations: 412.6 kB / 0.6383 GB, free: 65.6 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001082/1.348, allocations: 36 kB / 0.6383 GB, free: 65.57 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001521/1.35, allocations: 131.8 kB / 0.6385 GB, free: 65.44 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003593/1.35, allocations: 128.2 kB / 0.6386 GB, free: 65.31 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001336/1.35, allocations: 48 kB / 0.6386 GB, free: 65.27 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003568/1.354, allocations: 2.465 MB / 0.641 GB, free: 62.82 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/1.354, allocations: 2.531 kB / 0.641 GB, free: 62.82 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005076/1.359, allocations: 1.064 MB / 0.6421 GB, free: 61.76 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.0004504/1.359, allocations: 167.5 kB / 0.6422 GB, free: 61.59 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007912/1.367, allocations: 5.786 MB / 0.6479 GB, free: 55.81 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/1.367, allocations: 0 / 0.6479 GB, free: 55.81 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002591/1.37, allocations: 2.094 MB / 0.6499 GB, free: 53.71 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002744/1.373, allocations: 447.5 kB / 0.6504 GB, free: 53.28 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01565/1.388, allocations: 11.29 MB / 0.6614 GB, free: 41.93 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002632/1.391, allocations: 3.066 MB / 0.6644 GB, free: 38.84 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001166/1.392, allocations: 275.4 kB / 0.6646 GB, free: 38.57 MB / 446.1 MB Notification: Performance of SimCode: time 9.62e-07/1.392, allocations: 0 / 0.6646 GB, free: 38.57 MB / 446.1 MB Notification: Performance of Templates: time 0.4481/1.84, allocations: 73.42 MB / 0.7363 GB, free: 113.4 MB / 446.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.makefile make -j1 -f Modelica_4.0.0_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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumCalcHelperMain.o] Error 1