Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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 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.DoublePendulumInitTip,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.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_3.2.3_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.001154/0.001154, allocations: 101.5 kB / 17.8 MB, free: 5.676 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.001069/0.001069, allocations: 194 kB / 18.72 MB, free: 4.762 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.827/1.827, allocations: 205.1 MB / 224.6 MB, free: 12.49 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.001304/0.001304, allocations: 59.91 kB / 280.6 MB, free: 3.594 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1458/0.1471, allocations: 46.64 MB / 327.3 MB, free: 4.891 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.05974/0.2069, allocations: 50.76 MB / 378 MB, free: 1.926 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.35/0.557, allocations: 10.91 MB / 388.9 MB, free: 8.773 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01566/0.5728, allocations: 227.1 kB / 389.2 MB, free: 8.773 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006928/0.5798, allocations: 2.892 MB / 392.1 MB, free: 8.5 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007963/0.5878, allocations: 1.902 MB / 394 MB, free: 8.105 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002781/0.5906, allocations: 0.975 MB / 394.9 MB, free: 7.801 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01237/0.6029, allocations: 7.513 MB / 402.4 MB, free: 5.629 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00596/0.6089, allocations: 3.979 MB / 406.4 MB, free: 3.52 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003338/0.6123, allocations: 1.55 MB / 408 MB, free: 2.832 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003753/0.6161, allocations: 2.555 MB / 410.5 MB, free: 1.516 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007077/0.6168, allocations: 258.8 kB / 410.8 MB, free: 1.516 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002642/0.6194, allocations: 1.199 MB / 412 MB, free: 1.043 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001966/0.6214, allocations: 2.097 MB / 414.1 MB, free: 15.88 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002542/0.624, allocations: 2.359 MB / 416.4 MB, free: 13.69 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006731/0.6307, allocations: 6.288 MB / 422.7 MB, free: 7.574 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.6307, allocations: 0 / 422.7 MB, free: 7.574 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.6307, allocations: 4 kB / 422.7 MB, free: 7.57 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001349/0.6309, allocations: 0 / 422.7 MB, free: 7.57 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: 1556 * Number of variables: 1556 Notification: Performance of Generate backend data structure: time 0.01264/0.6435, allocations: 5.381 MB / 428.1 MB, free: 2.219 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.706e-05/0.6436, allocations: 12.03 kB / 428.1 MB, free: 2.207 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0239/0.6675, allocations: 3.188 MB / 431.3 MB, free: 15.01 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01031/0.6779, allocations: 3.666 MB / 435 MB, free: 11.33 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002826/0.6782, allocations: 254.3 kB / 435.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001305/0.6795, allocations: 343 kB / 435.6 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01986/0.6994, allocations: 10.34 MB / 445.9 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001418/0.6996, allocations: 51.44 kB / 445.9 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000451/0.7, allocations: 164.4 kB / 446.1 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003532/0.7036, allocations: 2.022 MB / 448.1 MB, free: 13.72 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01909/0.7227, allocations: 8.902 MB / 457 MB, free: 4.801 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06267/0.7854, allocations: 39.81 MB / 496.8 MB, free: 12.07 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009544/0.795, allocations: 4.082 MB / 0.4892 GB, free: 7.84 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003328/0.7984, allocations: 2.235 MB / 0.4914 GB, free: 5.598 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000778/0.7992, allocations: 0.6523 MB / 0.492 GB, free: 4.844 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.929e-05/0.7993, allocations: 51.5 kB / 0.4921 GB, free: 4.785 MB / 414.1 MB Notification: Performance of pre-optimization done (n=175): time 7.364e-06/0.7993, allocations: 0 / 0.4921 GB, free: 4.785 MB / 414.1 MB Notification: Performance of matching and sorting (n=210): time 0.06287/0.8622, allocations: 22.96 MB / 0.5145 GB, free: 13.7 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001926/0.8624, allocations: 252.6 kB / 0.5147 GB, free: 13.4 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007186/0.8696, allocations: 4.263 MB / 0.5189 GB, free: 9.121 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006923/0.8703, allocations: 57.7 kB / 0.5189 GB, free: 9.059 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002869/0.8732, allocations: 3.198 MB / 0.5221 GB, free: 5.863 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001302/0.8745, allocations: 0.7982 MB / 0.5228 GB, free: 5.07 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001924/0.8765, allocations: 1.288 MB / 0.5241 GB, free: 3.773 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001502/0.8766, allocations: 301.1 kB / 0.5244 GB, free: 3.477 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003893/0.8805, allocations: 2.554 MB / 0.5269 GB, free: 0.918 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006998/0.8875, allocations: 6.126 MB / 0.5329 GB, free: 9.031 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.3208/1.208, allocations: 9.291 MB / 0.5419 GB, free: 171.7 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001641/1.209, allocations: 38.38 kB / 0.542 GB, free: 171.7 MB / 462.1 MB Notification: Performance of matching and sorting (n=819) (initialization): time 0.0263/1.235, allocations: 10.76 MB / 0.5525 GB, free: 169.3 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001137/1.235, allocations: 57.84 kB / 0.5525 GB, free: 169.3 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002046/1.235, allocations: 123.9 kB / 0.5526 GB, free: 169.3 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007525/1.243, allocations: 2.617 MB / 0.5552 GB, free: 168.8 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004524/1.247, allocations: 1.349 MB / 0.5565 GB, free: 168.6 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02295/1.27, allocations: 17.2 MB / 0.5733 GB, free: 159.9 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006409/1.277, allocations: 373.5 kB / 0.5737 GB, free: 159.8 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008512/1.278, allocations: 371.9 kB / 0.574 GB, free: 159.8 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 565 * Number of states: 0 () * Number of discrete variables: 33 (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 (731): * Single equations (assignments): 725 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(4,34,87.5%), (3,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,13)} Notification: Performance of prepare postOptimizeDAE: time 0.003729/1.281, allocations: 2.225 MB / 0.5762 GB, free: 158.8 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008999/1.282, allocations: 383.8 kB / 0.5766 GB, free: 158.7 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008599/1.291, allocations: 5.146 MB / 0.5816 GB, free: 153.5 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.158e-05/1.291, allocations: 24 kB / 0.5816 GB, free: 153.5 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.731e-05/1.291, allocations: 12 kB / 0.5816 GB, free: 153.5 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.761e-05/1.291, allocations: 7.969 kB / 0.5816 GB, free: 153.5 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0184/1.309, allocations: 11.11 MB / 0.5925 GB, free: 142.4 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.239e-05/1.31, allocations: 4 kB / 0.5925 GB, free: 142.4 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001495/1.311, allocations: 307.5 kB / 0.5928 GB, free: 142.1 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004885/1.316, allocations: 1.856 MB / 0.5946 GB, free: 140.2 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002943/1.316, allocations: 43.75 kB / 0.5946 GB, free: 140.2 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01141/1.328, allocations: 9.691 MB / 0.6041 GB, free: 130.4 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.658e-06/1.328, allocations: 4 kB / 0.6041 GB, free: 130.4 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01253/1.34, allocations: 8.343 MB / 0.6122 GB, free: 122.1 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002089/1.342, allocations: 0.7694 MB / 0.613 GB, free: 121.3 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001243/1.344, allocations: 39.98 kB / 0.613 GB, free: 121.2 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002484/1.346, allocations: 139.8 kB / 0.6132 GB, free: 121.1 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004716/1.347, allocations: 125 kB / 0.6133 GB, free: 121 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001822/1.347, allocations: 55.98 kB / 0.6133 GB, free: 120.9 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.005404/1.352, allocations: 2.68 MB / 0.616 GB, free: 118.2 MB / 462.1 MB Notification: Performance of sort global known variables: time 7.11e-07/1.352, allocations: 4 kB / 0.616 GB, free: 118.2 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.007494/1.36, allocations: 1.209 MB / 0.6171 GB, free: 117 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 (157): * Single equations (assignments): 153 * 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,32,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000754/1.361, allocations: 172.9 kB / 0.6173 GB, free: 116.9 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01033/1.371, allocations: 6.653 MB / 0.6238 GB, free: 110.2 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.685e-06/1.371, allocations: 0 / 0.6238 GB, free: 110.2 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003311/1.374, allocations: 2.234 MB / 0.626 GB, free: 108 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005665/1.38, allocations: 0.526 MB / 0.6265 GB, free: 107.4 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02429/1.404, allocations: 13.36 MB / 0.6395 GB, free: 94.06 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003554/1.408, allocations: 3.504 MB / 0.643 GB, free: 90.52 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001345/1.409, allocations: 297.5 kB / 0.6432 GB, free: 90.23 MB / 462.1 MB Notification: Performance of SimCode: time 1.462e-06/1.409, allocations: 0 / 0.6432 GB, free: 90.23 MB / 462.1 MB Notification: Performance of Templates: time 0.3943/1.804, allocations: 104.8 MB / 0.7456 GB, free: 157.2 MB / 462.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.makefile make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.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.DoublePendulumInitTipCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTipCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTipCalcHelperMain.o] Error 1