Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.Examples.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo", uses=false) Using package PlanarMechanics with version 1.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo) 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(PlanarMechanics.Examples.DoublePendulum,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.DoublePendulum") translateModel(PlanarMechanics.Examples.DoublePendulum,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.DoublePendulum") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009219/0.0009223, allocations: 98.56 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001352/0.001352, allocations: 180.4 kB / 16.92 MB, free: 6.918 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.55/1.55, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo): time 0.193/0.193, allocations: 9.092 MB / 301.2 MB, free: 2.738 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003663/0.000366, allocations: 8 kB / 364.4 MB, free: 12.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1355/0.1359, allocations: 52.41 MB / 416.8 MB, free: 8.195 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.DoublePendulum): time 0.3089/0.4448, allocations: 30.01 MB / 446.8 MB, free: 24.9 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02089/0.4658, allocations: 6.747 MB / 453.5 MB, free: 21.61 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008265/0.4741, allocations: 113.2 kB / 453.6 MB, free: 21.6 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00141/0.4755, allocations: 308.7 kB / 453.9 MB, free: 21.48 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00454/0.4801, allocations: 1.331 MB / 455.3 MB, free: 20.88 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005529/0.4806, allocations: 115.2 kB / 455.4 MB, free: 20.81 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005357/0.486, allocations: 3.544 MB / 458.9 MB, free: 19.6 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001469/0.4875, allocations: 0.815 MB / 459.7 MB, free: 19.3 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001219/0.4887, allocations: 0.7597 MB / 460.5 MB, free: 19 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001646/0.4904, allocations: 1.319 MB / 461.8 MB, free: 18.54 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003349/0.4907, allocations: 130.8 kB / 461.9 MB, free: 18.54 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001464/0.4922, allocations: 0.7675 MB / 462.7 MB, free: 18.35 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001034/0.4933, allocations: 1.149 MB / 463.9 MB, free: 17.96 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001242/0.4945, allocations: 1.51 MB / 465.4 MB, free: 16.86 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003479/0.498, allocations: 3.692 MB / 469.1 MB, free: 16.02 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.498, allocations: 0 / 469.1 MB, free: 16.02 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.394e-06/0.498, allocations: 0 / 469.1 MB, free: 16.02 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.608e-05/0.4981, allocations: 0 / 469.1 MB, free: 16.02 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1179 * Number of variables: 1179 Notification: Performance of Generate backend data structure: time 0.01021/0.5083, allocations: 3.714 MB / 472.8 MB, free: 14.32 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.08e-05/0.5084, allocations: 9.188 kB / 472.8 MB, free: 14.32 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007998/0.5164, allocations: 1.807 MB / 474.6 MB, free: 14.02 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004215/0.5207, allocations: 1.357 MB / 475.9 MB, free: 13.17 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002253/0.5209, allocations: 149.1 kB / 476.1 MB, free: 13.1 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008911/0.5218, allocations: 201.6 kB / 476.3 MB, free: 13.02 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01816/0.54, allocations: 8.253 MB / 484.5 MB, free: 9.328 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.763e-05/0.5401, allocations: 22.06 kB / 484.6 MB, free: 9.316 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000301/0.5404, allocations: 97.45 kB / 484.7 MB, free: 9.246 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004197/0.5446, allocations: 1.906 MB / 486.6 MB, free: 8.855 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02215/0.5668, allocations: 7.419 MB / 494 MB, free: 6.043 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04887/0.6158, allocations: 25.63 MB / 0.5074 GB, free: 11.89 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007329/0.6231, allocations: 2.625 MB / 0.51 GB, free: 9.156 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001821/0.625, allocations: 0.9079 MB / 0.5109 GB, free: 8.246 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008553/0.6336, allocations: 5.091 MB / 0.5159 GB, free: 2.641 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.182e-05/0.6337, allocations: 51.55 kB / 0.5159 GB, free: 2.582 MB / 382.1 MB Notification: Performance of pre-optimization done (n=148): time 5.14e-06/0.6337, allocations: 0 / 0.5159 GB, free: 2.582 MB / 382.1 MB Notification: Performance of matching and sorting (n=176): time 0.01468/0.6484, allocations: 5.467 MB / 0.5213 GB, free: 13.12 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.287e-05/0.6485, allocations: 64.72 kB / 0.5213 GB, free: 13.04 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006981/0.6555, allocations: 2.614 MB / 0.5239 GB, free: 10.4 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003262/0.6559, allocations: 53.7 kB / 0.5239 GB, free: 10.34 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00201/0.6579, allocations: 2.093 MB / 0.526 GB, free: 8.215 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009444/0.6589, allocations: 0.6476 MB / 0.5266 GB, free: 7.559 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008578/0.6598, allocations: 346.9 kB / 0.5269 GB, free: 7.211 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001259/0.6599, allocations: 305.1 kB / 0.5272 GB, free: 6.91 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002922/0.6628, allocations: 1.367 MB / 0.5286 GB, free: 5.535 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005148/0.668, allocations: 3.629 MB / 0.5321 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008348/0.6764, allocations: 5.417 MB / 0.5374 GB, free: 10.27 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001326/0.6766, allocations: 24 kB / 0.5374 GB, free: 10.24 MB / 414.1 MB Notification: Performance of matching and sorting (n=545) (initialization): time 0.01216/0.6887, allocations: 5.22 MB / 0.5425 GB, free: 5.016 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.626e-05/0.6889, allocations: 41 kB / 0.5425 GB, free: 4.977 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001851/0.6891, allocations: 87.88 kB / 0.5426 GB, free: 4.891 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001109/0.6902, allocations: 359.2 kB / 0.543 GB, free: 4.539 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00318/0.6934, allocations: 0.9163 MB / 0.5439 GB, free: 3.621 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005539/0.6989, allocations: 3.835 MB / 0.5476 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003638/0.7026, allocations: 208 kB / 0.5478 GB, free: 15.44 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008216/0.7034, allocations: 244 kB / 0.548 GB, free: 15.2 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 358 * Number of states: 0 () * Number of discrete variables: 18 (revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (498): * Single equations (assignments): 493 * Array equations: 4 * 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,20,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003986/0.7074, allocations: 1.607 MB / 0.5496 GB, free: 13.58 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006393/0.7081, allocations: 229 kB / 0.5498 GB, free: 13.36 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005004/0.7131, allocations: 2.338 MB / 0.5521 GB, free: 11 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001223/0.7132, allocations: 28.27 kB / 0.5521 GB, free: 10.97 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.073e-05/0.7133, allocations: 4 kB / 0.5521 GB, free: 10.96 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.115e-05/0.7133, allocations: 11.97 kB / 0.5522 GB, free: 10.95 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01427/0.7276, allocations: 6.493 MB / 0.5585 GB, free: 4.32 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.817e-05/0.7276, allocations: 4 kB / 0.5585 GB, free: 4.316 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009421/0.7286, allocations: 243.6 kB / 0.5587 GB, free: 4.078 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007321/0.7293, allocations: 261.1 kB / 0.559 GB, free: 3.82 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001374/0.7295, allocations: 39.97 kB / 0.559 GB, free: 3.781 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004075/0.7336, allocations: 3.149 MB / 0.5621 GB, free: 0.5 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.104e-05/0.7336, allocations: 7.938 kB / 0.5621 GB, free: 0.4922 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005761/0.7394, allocations: 3.605 MB / 0.5656 GB, free: 12.82 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001065/0.7405, allocations: 326.2 kB / 0.5659 GB, free: 12.48 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006949/0.7412, allocations: 24 kB / 0.566 GB, free: 12.45 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001296/0.7425, allocations: 83.89 kB / 0.566 GB, free: 12.37 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002618/0.7428, allocations: 105 kB / 0.5661 GB, free: 12.27 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001189/0.7429, allocations: 52 kB / 0.5662 GB, free: 12.22 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004092/0.747, allocations: 1.684 MB / 0.5678 GB, free: 10.52 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.747, allocations: 0 / 0.5678 GB, free: 10.52 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004877/0.7519, allocations: 0.7187 MB / 0.5685 GB, free: 9.801 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 4 (revolute.phi,revolute.w,revolute1.phi,revolute1.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 (132): * Single equations (assignments): 127 * Array equations: 4 * 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,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004898/0.7524, allocations: 163 kB / 0.5687 GB, free: 9.629 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006773/0.7592, allocations: 3.423 MB / 0.572 GB, free: 6.211 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.567e-05/0.7592, allocations: 0 / 0.572 GB, free: 6.211 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002057/0.7613, allocations: 1.169 MB / 0.5732 GB, free: 5.031 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004182/0.7655, allocations: 371 kB / 0.5735 GB, free: 4.676 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3121/1.078, allocations: 8.752 MB / 0.5821 GB, free: 98.27 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00298/1.081, allocations: 2.621 MB / 0.5846 GB, free: 97.51 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009039/1.082, allocations: 219.6 kB / 0.5848 GB, free: 97.51 MB / 446.1 MB Notification: Performance of SimCode: time 9.82e-07/1.082, allocations: 0 / 0.5848 GB, free: 97.51 MB / 446.1 MB Notification: Performance of Templates: time 0.1017/1.183, allocations: 57.11 MB / 0.6406 GB, free: 70.85 MB / 446.1 MB make -j1 -f PlanarMechanics_PlanarMechanics.Examples.DoublePendulum.makefile make -j1 -f PlanarMechanics_PlanarMechanics.Examples.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 OMCppPlanarMechanics_PlanarMechanics.Examples.DoublePendulumCalcHelperMain.o OMCppPlanarMechanics_PlanarMechanics.Examples.DoublePendulumCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPlanarMechanics_PlanarMechanics.Examples.DoublePendulumCalcHelperMain.o] Error 1