Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.Examples.CraneCrabTo3D.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.CraneCrabTo3D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.CraneCrabTo3D") translateModel(PlanarMechanics.Examples.CraneCrabTo3D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.CraneCrabTo3D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007475/0.007475, allocations: 101.1 kB / 15.88 MB, free: 5.863 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.00129/0.00129, allocations: 190.1 kB / 16.79 MB, free: 5.805 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.484/1.484, allocations: 222.9 MB / 240.5 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo): time 0.214/0.214, allocations: 9.099 MB / 299.7 MB, free: 1.836 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001208, allocations: 59.91 kB / 361.9 MB, free: 13.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1374/0.1386, allocations: 51.44 MB / 413.3 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.CraneCrabTo3D): time 0.2821/0.4208, allocations: 47.04 MB / 460.4 MB, free: 15.06 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02324/0.4441, allocations: 10.45 MB / 470.8 MB, free: 8.059 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01195/0.4561, allocations: 192.2 kB / 471 MB, free: 8.031 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004022/0.4601, allocations: 1.533 MB / 472.5 MB, free: 7.359 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006632/0.4669, allocations: 2.402 MB / 475 MB, free: 6.324 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001577/0.4685, allocations: 0.5214 MB / 475.5 MB, free: 6.109 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.008996/0.4775, allocations: 7.158 MB / 482.6 MB, free: 3.887 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004953/0.4825, allocations: 2.808 MB / 485.4 MB, free: 2.871 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003877/0.4864, allocations: 1.552 MB / 487 MB, free: 2.273 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005162/0.4916, allocations: 2.622 MB / 489.6 MB, free: 1.41 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00143/0.493, allocations: 246.8 kB / 489.9 MB, free: 1.41 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00347/0.4965, allocations: 1.123 MB / 491 MB, free: 1.145 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003448/0.5, allocations: 2.21 MB / 493.2 MB, free: 424 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004945/0.5049, allocations: 2.7 MB / 495.9 MB, free: 14.5 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01091/0.5159, allocations: 6.708 MB / 0.4908 GB, free: 11.09 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/0.5159, allocations: 2.5 kB / 0.4908 GB, free: 11.09 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.5159, allocations: 0 / 0.4908 GB, free: 11.09 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0004024/0.5163, allocations: 0 / 0.4908 GB, free: 11.09 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2075 * Number of variables: 2075 Notification: Performance of Generate backend data structure: time 0.02014/0.5365, allocations: 6.553 MB / 0.4972 GB, free: 5.035 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.88e-05/0.5366, allocations: 12.59 kB / 0.4972 GB, free: 5.023 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01317/0.5497, allocations: 3.393 MB / 0.5005 GB, free: 1.617 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008238/0.558, allocations: 2.763 MB / 0.5032 GB, free: 14.79 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003382/0.5584, allocations: 270.7 kB / 0.5035 GB, free: 14.53 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001856/0.5603, allocations: 359.7 kB / 0.5038 GB, free: 14.18 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02873/0.589, allocations: 14.02 MB / 0.5175 GB, free: 15.27 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001681/0.5892, allocations: 55.53 kB / 0.5176 GB, free: 15.21 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006178/0.5898, allocations: 175.8 kB / 0.5178 GB, free: 15.04 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005345/0.5952, allocations: 3.144 MB / 0.5208 GB, free: 11.9 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02861/0.6238, allocations: 12.2 MB / 0.5327 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.403/1.027, allocations: 52.06 MB / 0.5836 GB, free: 87.61 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01219/1.039, allocations: 5.073 MB / 0.5885 GB, free: 86.45 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002958/1.042, allocations: 1.798 MB / 0.5903 GB, free: 86.41 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01508/1.057, allocations: 8.021 MB / 0.5981 GB, free: 84.13 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.695e-05/1.057, allocations: 50.59 kB / 0.5982 GB, free: 84.09 MB / 446.1 MB Notification: Performance of pre-optimization done (n=242): time 8.716e-06/1.057, allocations: 0 / 0.5982 GB, free: 84.09 MB / 446.1 MB Notification: Performance of matching and sorting (n=272): time 0.0338/1.091, allocations: 14.42 MB / 0.6123 GB, free: 78.11 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.181e-05/1.091, allocations: 151.8 kB / 0.6124 GB, free: 77.96 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01115/1.103, allocations: 5.38 MB / 0.6177 GB, free: 76.04 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005913/1.103, allocations: 61.95 kB / 0.6177 GB, free: 75.98 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003321/1.106, allocations: 4.088 MB / 0.6217 GB, free: 72.83 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001613/1.108, allocations: 1.039 MB / 0.6227 GB, free: 72.07 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002856/1.111, allocations: 1.648 MB / 0.6243 GB, free: 71.28 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.628e-05/1.111, allocations: 301.1 kB / 0.6246 GB, free: 70.98 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005611/1.117, allocations: 2.547 MB / 0.6271 GB, free: 70.17 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009121/1.126, allocations: 7.363 MB / 0.6343 GB, free: 62.95 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01608/1.142, allocations: 10.75 MB / 0.6448 GB, free: 54.19 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003171/1.142, allocations: 53.3 kB / 0.6448 GB, free: 54.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=1086) (initialization): time 0.02748/1.17, allocations: 9.931 MB / 0.6545 GB, free: 50.36 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003924/1.17, allocations: 80.16 kB / 0.6546 GB, free: 50.36 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005834/1.171, allocations: 178.2 kB / 0.6548 GB, free: 50.36 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001589/1.172, allocations: 462.2 kB / 0.6552 GB, free: 50.29 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007714/1.18, allocations: 1.852 MB / 0.657 GB, free: 50.07 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006175/1.186, allocations: 4.894 MB / 0.6618 GB, free: 46.54 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009434/1.196, allocations: 425.5 kB / 0.6622 GB, free: 46.24 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002806/1.199, allocations: 499 kB / 0.6627 GB, free: 45.76 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 772 * Number of states: 0 () * Number of discrete variables: 36 (fixedRotation3D.color[3],fixedRotation3D.color[2],fixedRotation3D.color[1],body3D.sphereColor[3],body3D.sphereColor[2],body3D.sphereColor[1],prismatic3D.boxColor[3],prismatic3D.boxColor[2],prismatic3D.boxColor[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],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[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 (1008): * Single equations (assignments): 998 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,17,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.008935/1.208, allocations: 2.846 MB / 0.6655 GB, free: 43.26 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001541/1.209, allocations: 462 kB / 0.6659 GB, free: 42.8 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005333/1.215, allocations: 2.975 MB / 0.6688 GB, free: 40.24 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.7e-05/1.215, allocations: 28 kB / 0.6688 GB, free: 40.21 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.861e-05/1.215, allocations: 5.453 kB / 0.6689 GB, free: 40.21 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.869e-05/1.215, allocations: 10.31 kB / 0.6689 GB, free: 40.21 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02006/1.235, allocations: 9.117 MB / 0.6778 GB, free: 32.59 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.004e-05/1.235, allocations: 11.31 kB / 0.6778 GB, free: 32.59 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002062/1.237, allocations: 387.4 kB / 0.6781 GB, free: 32.27 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009001/1.238, allocations: 248.2 kB / 0.6784 GB, free: 32.08 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002521/1.238, allocations: 51.44 kB / 0.6784 GB, free: 32.03 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004795/1.243, allocations: 4.029 MB / 0.6824 GB, free: 28.03 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.208e-05/1.243, allocations: 15.88 kB / 0.6824 GB, free: 28.02 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01056/1.254, allocations: 5.651 MB / 0.6879 GB, free: 22.8 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002822/1.256, allocations: 0.509 MB / 0.6884 GB, free: 22.29 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001451/1.258, allocations: 44 kB / 0.6884 GB, free: 22.25 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003013/1.261, allocations: 114 kB / 0.6885 GB, free: 22.17 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004671/1.261, allocations: 161 kB / 0.6887 GB, free: 22.07 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002259/1.262, allocations: 80 kB / 0.6888 GB, free: 21.99 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.008949/1.271, allocations: 3.387 MB / 0.6921 GB, free: 18.86 MB / 446.1 MB Notification: Performance of sort global known variables: time 4.71e-07/1.271, allocations: 0 / 0.6921 GB, free: 18.86 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.01504/1.286, allocations: 1.259 MB / 0.6933 GB, free: 17.61 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 6 (revolute.phi,revolute.w,damper1D.s_rel,damper1D.v_rel,prismatic3D.s,prismatic3D.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 (207): * Single equations (assignments): 199 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,15,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0011/1.287, allocations: 186.3 kB / 0.6935 GB, free: 17.42 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01282/1.3, allocations: 6.157 MB / 0.6995 GB, free: 11.28 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.2e-05/1.3, allocations: 4 kB / 0.6995 GB, free: 11.28 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002283/1.302, allocations: 1.805 MB / 0.7013 GB, free: 9.457 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00421/1.306, allocations: 0.6105 MB / 0.7019 GB, free: 8.875 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02518/1.332, allocations: 15.61 MB / 0.7171 GB, free: 9.188 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005447/1.337, allocations: 4.234 MB / 0.7212 GB, free: 4.93 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001617/1.339, allocations: 407.4 kB / 0.7216 GB, free: 4.531 MB / 462.1 MB Notification: Performance of SimCode: time 9.02e-07/1.339, allocations: 0 / 0.7216 GB, free: 4.531 MB / 462.1 MB Notification: Performance of Templates: time 0.4845/1.823, allocations: 130.9 MB / 0.8494 GB, free: 97.07 MB / 494.1 MB make -j1 -f PlanarMechanics_PlanarMechanics.Examples.CraneCrabTo3D.makefile make -j1 -f PlanarMechanics_PlanarMechanics.Examples.CraneCrabTo3D.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.CraneCrabTo3DCalcHelperMain.o OMCppPlanarMechanics_PlanarMechanics.Examples.CraneCrabTo3DCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPlanarMechanics_PlanarMechanics.Examples.CraneCrabTo3DCalcHelperMain.o] Error 1