Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.Examples.InvertedCraneCrab.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.InvertedCraneCrab,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.InvertedCraneCrab") translateModel(PlanarMechanics.Examples.InvertedCraneCrab,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.InvertedCraneCrab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008078/0.0008077, allocations: 99.59 kB / 15.71 MB, free: 452 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.001082/0.001082, allocations: 177.1 kB / 16.58 MB, free: 6.879 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.556/1.556, allocations: 223.2 MB / 240.6 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo): time 0.2511/0.2511, allocations: 9.101 MB / 300.8 MB, free: 2.793 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003465/0.0003465, allocations: 8 kB / 363.7 MB, free: 13.01 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1343/0.1346, allocations: 52.42 MB / 416.1 MB, free: 8.543 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.InvertedCraneCrab): time 0.2714/0.4061, allocations: 24.73 MB / 440.9 MB, free: 30.46 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01381/0.4199, allocations: 5.82 MB / 446.7 MB, free: 26.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005632/0.4256, allocations: 97.53 kB / 446.8 MB, free: 26.41 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004376/0.43, allocations: 1.192 MB / 448 MB, free: 25.99 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01363/0.4437, allocations: 4.254 MB / 452.2 MB, free: 24.12 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001927/0.4456, allocations: 137 kB / 452.4 MB, free: 24.05 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004321/0.45, allocations: 2.778 MB / 455.2 MB, free: 22.98 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001726/0.4517, allocations: 0.8259 MB / 456 MB, free: 22.68 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001658/0.4534, allocations: 0.7883 MB / 456.8 MB, free: 22.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001713/0.4551, allocations: 1.289 MB / 458.1 MB, free: 21.99 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003483/0.4555, allocations: 131.2 kB / 458.2 MB, free: 21.99 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001386/0.4569, allocations: 0.6709 MB / 458.9 MB, free: 21.85 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009971/0.4579, allocations: 1.097 MB / 460 MB, free: 21.48 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006224/0.4585, allocations: 0.6333 MB / 460.6 MB, free: 21.01 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003426/0.4619, allocations: 3.663 MB / 464.3 MB, free: 20.17 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.012e-06/0.462, allocations: 1.125 kB / 464.3 MB, free: 20.17 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.735e-06/0.462, allocations: 3.5 kB / 464.3 MB, free: 20.17 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.387e-05/0.4621, allocations: 0 / 464.3 MB, free: 20.17 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: 1155 * Number of variables: 1155 Notification: Performance of Generate backend data structure: time 0.008145/0.4702, allocations: 3.283 MB / 467.5 MB, free: 18.52 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.026e-05/0.4703, allocations: 8.906 kB / 467.5 MB, free: 18.52 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007045/0.4773, allocations: 1.815 MB / 469.4 MB, free: 18.21 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003811/0.4812, allocations: 1.324 MB / 470.7 MB, free: 17.38 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002173/0.4814, allocations: 153.2 kB / 470.8 MB, free: 17.31 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006756/0.4821, allocations: 200.2 kB / 471 MB, free: 17.23 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01587/0.498, allocations: 7.955 MB / 479 MB, free: 13.7 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.631e-05/0.4981, allocations: 26.72 kB / 479 MB, free: 13.68 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003034/0.4984, allocations: 88.81 kB / 479.1 MB, free: 13.62 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003511/0.5019, allocations: 1.85 MB / 480.9 MB, free: 13.24 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01654/0.5185, allocations: 7.145 MB / 488.1 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04017/0.5587, allocations: 24.14 MB / 0.5002 GB, free: 3.062 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005285/0.564, allocations: 2.368 MB / 0.5025 GB, free: 0.5742 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001383/0.5655, allocations: 0.8302 MB / 0.5034 GB, free: 15.74 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007625/0.5731, allocations: 4.756 MB / 0.508 GB, free: 10.61 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.259e-05/0.5732, allocations: 47.55 kB / 0.508 GB, free: 10.55 MB / 382.1 MB Notification: Performance of pre-optimization done (n=128): time 5.23e-06/0.5732, allocations: 0 / 0.508 GB, free: 10.55 MB / 382.1 MB Notification: Performance of matching and sorting (n=154): time 0.01494/0.5881, allocations: 7.066 MB / 0.5149 GB, free: 3.41 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.757e-05/0.5882, allocations: 68.67 kB / 0.515 GB, free: 3.328 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003996/0.5922, allocations: 2.59 MB / 0.5175 GB, free: 0.707 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.738e-05/0.5923, allocations: 45.7 kB / 0.5176 GB, free: 0.6562 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00152/0.5939, allocations: 2.085 MB / 0.5196 GB, free: 14.54 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005184/0.5944, allocations: 0.5744 MB / 0.5202 GB, free: 13.96 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001642/0.5946, allocations: 83.92 kB / 0.5203 GB, free: 13.88 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002673/0.5948, allocations: 474.6 kB / 0.5207 GB, free: 13.4 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00222/0.5971, allocations: 1.304 MB / 0.522 GB, free: 12.09 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003722/0.6008, allocations: 3.43 MB / 0.5253 GB, free: 7.609 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003186/0.604, allocations: 2.118 MB / 0.5274 GB, free: 5.492 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.575e-05/0.604, allocations: 20 kB / 0.5274 GB, free: 5.473 MB / 398.1 MB Notification: Performance of matching and sorting (n=512) (initialization): time 0.008106/0.6122, allocations: 4.792 MB / 0.5321 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.808e-05/0.6122, allocations: 36 kB / 0.5321 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.872e-05/0.6123, allocations: 76 kB / 0.5322 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000413/0.6127, allocations: 200.7 kB / 0.5324 GB, free: 372 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00259/0.6153, allocations: 0.9088 MB / 0.5333 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002201/0.6176, allocations: 2.172 MB / 0.5354 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002955/0.6205, allocations: 211.8 kB / 0.5356 GB, free: 12.92 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003602/0.6209, allocations: 236 kB / 0.5358 GB, free: 12.69 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 338 * Number of states: 0 () * Number of discrete variables: 15 (prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[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 (478): * Single equations (assignments): 473 * Array equations: 4 * 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 {(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003197/0.6241, allocations: 1.566 MB / 0.5374 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004497/0.6246, allocations: 217.2 kB / 0.5376 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003513/0.6281, allocations: 1.955 MB / 0.5395 GB, free: 8.926 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001053/0.6282, allocations: 35.95 kB / 0.5395 GB, free: 8.891 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.6282, allocations: 480 / 0.5395 GB, free: 8.891 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.754e-05/0.6282, allocations: 7.938 kB / 0.5395 GB, free: 8.883 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01036/0.6386, allocations: 5.631 MB / 0.545 GB, free: 3.121 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.085e-06/0.6386, allocations: 0 / 0.545 GB, free: 3.121 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009526/0.6396, allocations: 251.8 kB / 0.5453 GB, free: 2.875 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000258/0.6399, allocations: 84.73 kB / 0.5453 GB, free: 2.789 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-05/0.64, allocations: 31.92 kB / 0.5454 GB, free: 2.758 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001927/0.6419, allocations: 1.919 MB / 0.5472 GB, free: 0.6836 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/0.6419, allocations: 4.031 kB / 0.5472 GB, free: 0.6797 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005059/0.647, allocations: 3.047 MB / 0.5502 GB, free: 13.59 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008471/0.6478, allocations: 318.1 kB / 0.5505 GB, free: 13.26 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002326/0.6481, allocations: 27.94 kB / 0.5506 GB, free: 13.23 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007872/0.6489, allocations: 79.91 kB / 0.5506 GB, free: 13.15 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001684/0.649, allocations: 84.83 kB / 0.5507 GB, free: 13.07 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.98e-05/0.6491, allocations: 43.98 kB / 0.5508 GB, free: 13.02 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002823/0.652, allocations: 1.668 MB / 0.5524 GB, free: 11.34 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.652, allocations: 0 / 0.5524 GB, free: 11.34 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0036/0.6556, allocations: 0.664 MB / 0.553 GB, free: 10.68 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (revolute.phi,prismatic.s,prismatic.v) * 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 (124): * Single equations (assignments): 119 * Array equations: 4 * 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 {(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003682/0.656, allocations: 155.5 kB / 0.5532 GB, free: 10.52 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005777/0.6618, allocations: 3.12 MB / 0.5562 GB, free: 7.402 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 9.518e-06/0.6618, allocations: 0 / 0.5562 GB, free: 7.402 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001592/0.6634, allocations: 0.9889 MB / 0.5572 GB, free: 6.395 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002201/0.6656, allocations: 374.7 kB / 0.5575 GB, free: 6.035 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01619/0.6818, allocations: 8.035 MB / 0.5654 GB, free: 13.96 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003407/0.6853, allocations: 2.572 MB / 0.5679 GB, free: 11.35 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001051/0.6864, allocations: 207.4 kB / 0.5681 GB, free: 11.15 MB / 446.1 MB Notification: Performance of SimCode: time 1.864e-06/0.6864, allocations: 7.938 kB / 0.5681 GB, free: 11.14 MB / 446.1 MB Notification: Performance of Templates: time 0.3882/1.075, allocations: 55.76 MB / 0.6226 GB, free: 104.2 MB / 446.1 MB make -j1 -f PlanarMechanics_PlanarMechanics.Examples.InvertedCraneCrab.makefile make -j1 -f PlanarMechanics_PlanarMechanics.Examples.InvertedCraneCrab.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 OMCppPlanarMechanics_PlanarMechanics.Examples.InvertedCraneCrabCalcHelperMain.o OMCppPlanarMechanics_PlanarMechanics.Examples.InvertedCraneCrabCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPlanarMechanics_PlanarMechanics.Examples.InvertedCraneCrabCalcHelperMain.o] Error 1