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.001086/0.001086, allocations: 87.77 kB / 17.58 MB, free: 6.219 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.001335/0.001335, allocations: 188.7 kB / 18.48 MB, free: 5.379 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.781/1.781, allocations: 205.4 MB / 224.6 MB, free: 13.16 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.0004493/0.0004493, allocations: 15.94 kB / 281.4 MB, free: 3.727 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1095/0.11, allocations: 47.58 MB / 329 MB, free: 4.082 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum): time 0.03258/0.1426, allocations: 34.78 MB / 363.8 MB, free: 1.203 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02101/0.1637, allocations: 8.202 MB / 372 MB, free: 8.977 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00731/0.171, allocations: 167.5 kB / 372.1 MB, free: 8.812 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005688/0.1767, allocations: 1.765 MB / 373.9 MB, free: 7.039 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01941/0.1962, allocations: 5.502 MB / 379.4 MB, free: 1.516 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003177/0.1994, allocations: 0.6436 MB / 380 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.2909/0.4903, allocations: 33.53 MB / 413.6 MB, free: 4.273 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004948/0.4953, allocations: 3.498 MB / 417.1 MB, free: 1.777 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002173/0.4976, allocations: 1.257 MB / 418.3 MB, free: 0.918 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002359/0.4999, allocations: 1.983 MB / 420.3 MB, free: 15.49 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003908/0.5003, allocations: 132 kB / 420.4 MB, free: 15.36 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00195/0.5023, allocations: 0.9196 MB / 421.4 MB, free: 14.62 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00163/0.5039, allocations: 1.666 MB / 423 MB, free: 13.41 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008443/0.5048, allocations: 0.7721 MB / 423.8 MB, free: 13.13 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005179/0.51, allocations: 5.103 MB / 428.9 MB, free: 8.715 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.794e-06/0.51, allocations: 4 kB / 428.9 MB, free: 8.711 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.725e-06/0.51, allocations: 0 / 428.9 MB, free: 8.711 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001288/0.5102, allocations: 4 kB / 428.9 MB, free: 8.707 MB / 334.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.008393/0.5186, allocations: 3.924 MB / 432.8 MB, free: 5.047 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.506e-05/0.5186, allocations: 8.031 kB / 432.8 MB, free: 5.039 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01993/0.5385, allocations: 3.173 MB / 436 MB, free: 1.965 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008087/0.5467, allocations: 3.32 MB / 439.3 MB, free: 15.54 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001609/0.5469, allocations: 196 kB / 439.5 MB, free: 15.43 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008129/0.5477, allocations: 272.8 kB / 439.8 MB, free: 15.26 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0151/0.5628, allocations: 8.856 MB / 448.6 MB, free: 8.242 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000162/0.563, allocations: 49.61 kB / 448.7 MB, free: 8.211 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003537/0.5634, allocations: 128 kB / 448.8 MB, free: 8.172 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002888/0.5663, allocations: 1.762 MB / 450.6 MB, free: 6.703 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01505/0.5814, allocations: 7.778 MB / 458.4 MB, free: 1.285 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04943/0.6309, allocations: 36.05 MB / 494.4 MB, free: 13.59 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009026/0.64, allocations: 3.814 MB / 498.2 MB, free: 9.652 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003257/0.6433, allocations: 2.144 MB / 0.4886 GB, free: 7.5 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005169/0.6438, allocations: 339.4 kB / 0.489 GB, free: 7.117 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.319e-05/0.6439, allocations: 52.55 kB / 0.489 GB, free: 7.062 MB / 398.1 MB Notification: Performance of pre-optimization done (n=160): time 7.064e-06/0.6439, allocations: 0 / 0.489 GB, free: 7.062 MB / 398.1 MB Notification: Performance of matching and sorting (n=190): time 0.06016/0.7041, allocations: 21.43 MB / 0.5099 GB, free: 1.582 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001794/0.7043, allocations: 252.6 kB / 0.5102 GB, free: 1.281 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009615/0.7139, allocations: 3.939 MB / 0.514 GB, free: 13.36 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006299/0.7146, allocations: 53.7 kB / 0.5141 GB, free: 13.3 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002761/0.7174, allocations: 2.774 MB / 0.5168 GB, free: 10.55 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001211/0.7186, allocations: 0.7271 MB / 0.5175 GB, free: 9.828 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003698/0.719, allocations: 112 kB / 0.5176 GB, free: 9.719 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0004205/0.7194, allocations: 0.5497 MB / 0.5181 GB, free: 9.16 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003699/0.7231, allocations: 2.361 MB / 0.5204 GB, free: 6.793 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006116/0.7293, allocations: 5.62 MB / 0.5259 GB, free: 15.61 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005875/0.7351, allocations: 3.564 MB / 0.5294 GB, free: 12.07 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.517e-05/0.7353, allocations: 33.75 kB / 0.5294 GB, free: 12.04 MB / 446.1 MB Notification: Performance of matching and sorting (n=749) (initialization): time 0.0219/0.7572, allocations: 9.569 MB / 0.5388 GB, free: 2.461 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001896/0.7574, allocations: 59.95 kB / 0.5388 GB, free: 2.402 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002394/0.7576, allocations: 112 kB / 0.539 GB, free: 2.293 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005678/0.7633, allocations: 2.046 MB / 0.541 GB, free: 248 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.2736/1.037, allocations: 1.274 MB / 0.5422 GB, free: 159.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01852/1.056, allocations: 10.52 MB / 0.5525 GB, free: 156.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005523/1.061, allocations: 341.2 kB / 0.5528 GB, free: 156.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001278/1.062, allocations: 344.4 kB / 0.5531 GB, free: 156.6 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.004407/1.067, allocations: 1.939 MB / 0.555 GB, free: 155.8 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009247/1.068, allocations: 346 kB / 0.5554 GB, free: 155.8 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00864/1.076, allocations: 4.879 MB / 0.5601 GB, free: 154.2 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.95e-05/1.077, allocations: 20.67 kB / 0.5601 GB, free: 154.2 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.491e-05/1.077, allocations: 9.781 kB / 0.5601 GB, free: 154.2 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-05/1.077, allocations: 7.594 kB / 0.5602 GB, free: 154.2 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01908/1.096, allocations: 10.05 MB / 0.57 GB, free: 150.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.918e-05/1.096, allocations: 0 / 0.57 GB, free: 150.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001267/1.097, allocations: 268.9 kB / 0.5702 GB, free: 150.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004495/1.102, allocations: 1.844 MB / 0.572 GB, free: 149.9 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002589/1.102, allocations: 40.44 kB / 0.5721 GB, free: 149.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01135/1.113, allocations: 9.692 MB / 0.5815 GB, free: 140.5 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.568e-06/1.113, allocations: 4.031 kB / 0.5815 GB, free: 140.5 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01121/1.125, allocations: 7.938 MB / 0.5893 GB, free: 132.7 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002306/1.127, allocations: 0.7298 MB / 0.59 GB, free: 132 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004849/1.127, allocations: 36 kB / 0.59 GB, free: 131.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001392/1.129, allocations: 140.3 kB / 0.5902 GB, free: 131.8 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000376/1.129, allocations: 116.9 kB / 0.5903 GB, free: 131.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001389/1.129, allocations: 48 kB / 0.5903 GB, free: 131.6 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004017/1.133, allocations: 2.483 MB / 0.5927 GB, free: 129.2 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/1.133, allocations: 0 / 0.5927 GB, free: 129.2 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.007082/1.14, allocations: 1.07 MB / 0.5938 GB, free: 128.1 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.0004863/1.141, allocations: 163.8 kB / 0.5939 GB, free: 128 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.008121/1.149, allocations: 5.791 MB / 0.5996 GB, free: 122.2 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.013e-06/1.149, allocations: 0 / 0.5996 GB, free: 122.2 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002594/1.152, allocations: 2.089 MB / 0.6016 GB, free: 120.1 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00302/1.155, allocations: 439.2 kB / 0.6021 GB, free: 119.7 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01712/1.172, allocations: 11.31 MB / 0.6131 GB, free: 108.4 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002663/1.175, allocations: 3.071 MB / 0.6161 GB, free: 105.3 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001246/1.176, allocations: 279.4 kB / 0.6164 GB, free: 105.1 MB / 446.1 MB Notification: Performance of SimCode: time 2.565e-06/1.176, allocations: 0 / 0.6164 GB, free: 105.1 MB / 446.1 MB Notification: Performance of Templates: time 0.09243/1.268, allocations: 73.57 MB / 0.6882 GB, free: 31.38 MB / 446.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++ 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_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