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.007916/0.007915, allocations: 100.8 kB / 15.87 MB, free: 5.867 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.001243/0.001243, allocations: 192.1 kB / 16.79 MB, free: 5.809 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.494/1.494, allocations: 222.9 MB / 240.5 MB, free: 4.566 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo): time 0.2152/0.2152, allocations: 9.106 MB / 299.7 MB, free: 1.867 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001196, allocations: 59.91 kB / 361.9 MB, free: 13.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1352/0.1364, allocations: 51.43 MB / 413.3 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.DoublePendulum): time 0.3008/0.4372, allocations: 30.9 MB / 444.2 MB, free: 26.27 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01972/0.457, allocations: 6.79 MB / 451 MB, free: 21.89 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01029/0.4673, allocations: 114.5 kB / 451.1 MB, free: 21.88 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001505/0.4689, allocations: 308.5 kB / 451.4 MB, free: 21.77 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004873/0.4738, allocations: 1.335 MB / 452.8 MB, free: 21.16 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000485/0.4743, allocations: 112.3 kB / 452.9 MB, free: 21.09 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00416/0.4785, allocations: 3.536 MB / 456.4 MB, free: 19.89 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001262/0.4798, allocations: 0.8331 MB / 457.2 MB, free: 19.57 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001129/0.4809, allocations: 0.7729 MB / 458 MB, free: 19.26 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001491/0.4824, allocations: 1.327 MB / 459.3 MB, free: 18.8 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000308/0.4827, allocations: 139.2 kB / 459.5 MB, free: 18.8 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001508/0.4842, allocations: 0.7827 MB / 460.3 MB, free: 18.61 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00103/0.4853, allocations: 1.143 MB / 461.4 MB, free: 18.22 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001197/0.4865, allocations: 1.491 MB / 462.9 MB, free: 17.15 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003588/0.4901, allocations: 3.794 MB / 466.7 MB, free: 15.89 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.4901, allocations: 0 / 466.7 MB, free: 15.89 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.4901, allocations: 0 / 466.7 MB, free: 15.89 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.888e-05/0.4902, allocations: 0 / 466.7 MB, free: 15.89 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.01087/0.5011, allocations: 4.359 MB / 471.1 MB, free: 13.82 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.534e-05/0.5011, allocations: 9 kB / 471.1 MB, free: 13.82 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006935/0.5081, allocations: 1.762 MB / 472.8 MB, free: 13.53 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003823/0.5119, allocations: 1.357 MB / 474.2 MB, free: 12.67 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001888/0.5122, allocations: 150.2 kB / 474.3 MB, free: 12.6 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006706/0.5128, allocations: 204 kB / 474.5 MB, free: 12.52 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01702/0.5299, allocations: 8.249 MB / 482.8 MB, free: 8.832 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001332/0.53, allocations: 31.48 kB / 482.8 MB, free: 8.812 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003234/0.5304, allocations: 93.92 kB / 482.9 MB, free: 8.746 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003623/0.534, allocations: 1.906 MB / 484.8 MB, free: 8.355 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01921/0.5532, allocations: 7.418 MB / 492.2 MB, free: 5.559 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04798/0.6013, allocations: 25.62 MB / 0.5057 GB, free: 11.44 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007597/0.6089, allocations: 2.617 MB / 0.5083 GB, free: 8.711 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001934/0.6109, allocations: 0.9123 MB / 0.5091 GB, free: 7.797 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008754/0.6197, allocations: 5.098 MB / 0.5141 GB, free: 2.184 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.924e-05/0.6197, allocations: 47.56 kB / 0.5142 GB, free: 2.129 MB / 382.1 MB Notification: Performance of pre-optimization done (n=148): time 4.919e-06/0.6198, allocations: 0 / 0.5142 GB, free: 2.129 MB / 382.1 MB Notification: Performance of matching and sorting (n=176): time 0.01498/0.6347, allocations: 5.46 MB / 0.5195 GB, free: 12.67 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.485e-05/0.6348, allocations: 68.72 kB / 0.5196 GB, free: 12.59 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005646/0.6405, allocations: 2.614 MB / 0.5221 GB, free: 9.945 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002083/0.6407, allocations: 53.69 kB / 0.5222 GB, free: 9.887 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001941/0.6427, allocations: 2.093 MB / 0.5242 GB, free: 7.762 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008122/0.6435, allocations: 0.6476 MB / 0.5248 GB, free: 7.105 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001801/0.6453, allocations: 0.8296 MB / 0.5257 GB, free: 6.262 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001277/0.6455, allocations: 301.1 kB / 0.5259 GB, free: 5.965 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002689/0.6482, allocations: 1.371 MB / 0.5273 GB, free: 4.586 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004479/0.6527, allocations: 3.625 MB / 0.5308 GB, free: 15.84 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006799/0.6595, allocations: 5.427 MB / 0.5361 GB, free: 9.309 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.716e-05/0.6596, allocations: 20 kB / 0.5361 GB, free: 9.289 MB / 414.1 MB Notification: Performance of matching and sorting (n=545) (initialization): time 0.011/0.6706, allocations: 5.219 MB / 0.5412 GB, free: 4.066 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.287e-05/0.6707, allocations: 40 kB / 0.5413 GB, free: 4.027 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001584/0.6709, allocations: 83.88 kB / 0.5414 GB, free: 3.945 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001103/0.672, allocations: 365.8 kB / 0.5417 GB, free: 3.586 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003135/0.6752, allocations: 0.9123 MB / 0.5426 GB, free: 2.672 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005767/0.681, allocations: 3.83 MB / 0.5463 GB, free: 14.71 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003993/0.685, allocations: 208 kB / 0.5465 GB, free: 14.5 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007855/0.6858, allocations: 244 kB / 0.5468 GB, free: 14.27 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.003925/0.6897, allocations: 1.611 MB / 0.5483 GB, free: 12.64 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008062/0.6905, allocations: 229 kB / 0.5486 GB, free: 12.41 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005501/0.696, allocations: 2.334 MB / 0.5508 GB, free: 10.06 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001323/0.6962, allocations: 31.98 kB / 0.5509 GB, free: 10.03 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.989e-05/0.6962, allocations: 4 kB / 0.5509 GB, free: 10.02 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-05/0.6963, allocations: 15.95 kB / 0.5509 GB, free: 10.01 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01612/0.7124, allocations: 6.493 MB / 0.5572 GB, free: 3.375 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.856e-05/0.7125, allocations: 4 kB / 0.5572 GB, free: 3.371 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009923/0.7135, allocations: 239.7 kB / 0.5575 GB, free: 3.137 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007581/0.7142, allocations: 267.1 kB / 0.5577 GB, free: 2.875 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001439/0.7144, allocations: 32 kB / 0.5577 GB, free: 2.844 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004309/0.7187, allocations: 3.152 MB / 0.5608 GB, free: 15.56 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.218e-05/0.7188, allocations: 7.938 kB / 0.5608 GB, free: 15.55 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006164/0.7249, allocations: 3.597 MB / 0.5643 GB, free: 11.88 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000988/0.726, allocations: 310.1 kB / 0.5646 GB, free: 11.56 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007011/0.7267, allocations: 35.98 kB / 0.5647 GB, free: 11.52 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001367/0.7281, allocations: 75.91 kB / 0.5647 GB, free: 11.45 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002564/0.7283, allocations: 101.1 kB / 0.5648 GB, free: 11.35 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001226/0.7285, allocations: 51.98 kB / 0.5649 GB, free: 11.3 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003655/0.7321, allocations: 1.684 MB / 0.5665 GB, free: 9.602 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.7321, allocations: 0 / 0.5665 GB, free: 9.602 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004527/0.7367, allocations: 0.7187 MB / 0.5672 GB, free: 8.883 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.0006427/0.7374, allocations: 162.9 kB / 0.5674 GB, free: 8.711 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007206/0.7446, allocations: 3.418 MB / 0.5707 GB, free: 5.301 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.358e-06/0.7446, allocations: 0 / 0.5707 GB, free: 5.301 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002124/0.7467, allocations: 1.173 MB / 0.5719 GB, free: 4.117 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003064/0.7498, allocations: 371.3 kB / 0.5722 GB, free: 3.762 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2692/1.019, allocations: 8.663 MB / 0.5807 GB, free: 99.37 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003064/1.022, allocations: 2.622 MB / 0.5833 GB, free: 98.61 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009467/1.023, allocations: 219.1 kB / 0.5835 GB, free: 98.61 MB / 446.1 MB Notification: Performance of SimCode: time 1.693e-06/1.023, allocations: 0 / 0.5835 GB, free: 98.61 MB / 446.1 MB Notification: Performance of Templates: time 0.09016/1.113, allocations: 57.76 MB / 0.6399 GB, free: 71.25 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