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.001003/0.001003, allocations: 102.3 kB / 15.71 MB, free: 460 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.001536/0.001535, allocations: 176.5 kB / 16.58 MB, free: 6.043 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.587/1.587, allocations: 223.3 MB / 240.6 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo): time 0.2405/0.2405, allocations: 9.107 MB / 300.8 MB, free: 2.715 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003302/0.0003302, allocations: 8 kB / 363.7 MB, free: 12.99 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.1194, allocations: 52.43 MB / 416.2 MB, free: 8.523 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.CraneCrabTo3D): time 0.2626/0.3821, allocations: 42.66 MB / 458.8 MB, free: 17.59 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02546/0.4076, allocations: 9.911 MB / 468.7 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01035/0.418, allocations: 190.2 kB / 468.9 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008004/0.426, allocations: 2.136 MB / 471 MB, free: 10.04 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02233/0.4484, allocations: 7.237 MB / 478.3 MB, free: 6.957 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003619/0.452, allocations: 0.5143 MB / 478.8 MB, free: 6.754 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01066/0.4627, allocations: 5.666 MB / 484.5 MB, free: 4.777 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007797/0.4705, allocations: 3.027 MB / 487.5 MB, free: 3.578 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00565/0.4762, allocations: 1.586 MB / 489.1 MB, free: 3.055 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006601/0.4829, allocations: 2.481 MB / 491.5 MB, free: 2.301 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002189/0.4851, allocations: 205.6 kB / 491.8 MB, free: 2.301 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004871/0.49, allocations: 0.9064 MB / 492.7 MB, free: 2.117 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005794/0.4958, allocations: 2.091 MB / 494.7 MB, free: 1.469 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004195/0.5, allocations: 1.102 MB / 495.8 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01137/0.5114, allocations: 6.537 MB / 0.4906 GB, free: 12.5 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.228e-05/0.5115, allocations: 0 / 0.4906 GB, free: 12.5 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.496e-06/0.5115, allocations: 0 / 0.4906 GB, free: 12.5 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.000534/0.5121, allocations: 0 / 0.4906 GB, free: 12.5 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.02053/0.5326, allocations: 5.5 MB / 0.496 GB, free: 8.027 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.968e-05/0.5327, allocations: 8.031 kB / 0.496 GB, free: 8.02 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0133/0.546, allocations: 3.48 MB / 0.4994 GB, free: 4.527 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008625/0.5546, allocations: 2.704 MB / 0.502 GB, free: 1.762 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004586/0.5552, allocations: 272.9 kB / 0.5023 GB, free: 1.496 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002491/0.5577, allocations: 359.7 kB / 0.5026 GB, free: 1.145 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0383/0.596, allocations: 14.01 MB / 0.5163 GB, free: 2.25 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003017/0.5964, allocations: 59.41 kB / 0.5164 GB, free: 2.191 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002102/0.5985, allocations: 179.8 kB / 0.5165 GB, free: 2.016 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005731/0.6042, allocations: 3.144 MB / 0.5196 GB, free: 14.87 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0331/0.6374, allocations: 12.15 MB / 0.5315 GB, free: 2.715 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4453/1.083, allocations: 52.06 MB / 0.5823 GB, free: 105.4 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01113/1.094, allocations: 5.062 MB / 0.5873 GB, free: 104.3 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003073/1.097, allocations: 1.799 MB / 0.589 GB, free: 104.2 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01459/1.112, allocations: 8.011 MB / 0.5968 GB, free: 102 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.291e-05/1.112, allocations: 59.55 kB / 0.5969 GB, free: 101.9 MB / 446.1 MB Notification: Performance of pre-optimization done (n=242): time 7.504e-06/1.112, allocations: 0 / 0.5969 GB, free: 101.9 MB / 446.1 MB Notification: Performance of matching and sorting (n=272): time 0.03105/1.143, allocations: 14.41 MB / 0.611 GB, free: 97.22 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.523e-05/1.143, allocations: 156.7 kB / 0.6111 GB, free: 97.07 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01049/1.154, allocations: 5.35 MB / 0.6163 GB, free: 95.15 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006871/1.154, allocations: 61.92 kB / 0.6164 GB, free: 95.09 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003782/1.158, allocations: 4.091 MB / 0.6204 GB, free: 91.93 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001752/1.16, allocations: 1.038 MB / 0.6214 GB, free: 91.18 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004844/1.16, allocations: 162.1 kB / 0.6216 GB, free: 91.05 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0005857/1.161, allocations: 0.6563 MB / 0.6222 GB, free: 90.6 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004962/1.166, allocations: 2.513 MB / 0.6246 GB, free: 89.79 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009329/1.175, allocations: 7.337 MB / 0.6318 GB, free: 82.57 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01006/1.185, allocations: 4.297 MB / 0.636 GB, free: 80.98 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002819/1.186, allocations: 56.66 kB / 0.6361 GB, free: 80.97 MB / 446.1 MB Notification: Performance of matching and sorting (n=1086) (initialization): time 0.02551/1.211, allocations: 9.856 MB / 0.6457 GB, free: 77.16 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002063/1.211, allocations: 77.47 kB / 0.6458 GB, free: 77.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003941/1.212, allocations: 176.3 kB / 0.6459 GB, free: 77.15 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00124/1.213, allocations: 488.5 kB / 0.6464 GB, free: 77.09 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007014/1.22, allocations: 1.847 MB / 0.6482 GB, free: 76.86 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006148/1.226, allocations: 4.885 MB / 0.653 GB, free: 73.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007832/1.234, allocations: 423.7 kB / 0.6534 GB, free: 73.19 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001819/1.236, allocations: 0.4896 MB / 0.6539 GB, free: 73.12 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 17,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008326/1.244, allocations: 2.841 MB / 0.6566 GB, free: 71.78 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001612/1.246, allocations: 459.9 kB / 0.6571 GB, free: 71.53 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006499/1.252, allocations: 2.964 MB / 0.66 GB, free: 69.98 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.105e-05/1.253, allocations: 28.98 kB / 0.66 GB, free: 69.95 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.327e-05/1.253, allocations: 7.953 kB / 0.66 GB, free: 69.94 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-05/1.253, allocations: 11.62 kB / 0.66 GB, free: 69.94 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02444/1.277, allocations: 9.104 MB / 0.6689 GB, free: 62.34 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.68e-05/1.277, allocations: 7.125 kB / 0.6689 GB, free: 62.33 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001664/1.279, allocations: 389.4 kB / 0.6693 GB, free: 62.01 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006607/1.279, allocations: 232.9 kB / 0.6695 GB, free: 61.83 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003202/1.28, allocations: 55.83 kB / 0.6696 GB, free: 61.78 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003627/1.283, allocations: 4.04 MB / 0.6735 GB, free: 57.78 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.728e-06/1.284, allocations: 8 kB / 0.6735 GB, free: 57.77 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008189/1.292, allocations: 5.626 MB / 0.679 GB, free: 52.58 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002346/1.294, allocations: 0.5284 MB / 0.6795 GB, free: 52.05 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001706/1.296, allocations: 51.75 kB / 0.6796 GB, free: 52 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00317/1.299, allocations: 109.3 kB / 0.6797 GB, free: 51.93 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004098/1.299, allocations: 166.3 kB / 0.6798 GB, free: 51.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001958/1.3, allocations: 87.75 kB / 0.6799 GB, free: 51.74 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.007023/1.307, allocations: 3.344 MB / 0.6832 GB, free: 48.99 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.9e-07/1.307, allocations: 4 kB / 0.6832 GB, free: 48.99 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.01099/1.318, allocations: 1.261 MB / 0.6844 GB, free: 47.73 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 15,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005783/1.318, allocations: 193.3 kB / 0.6846 GB, free: 47.55 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0102/1.329, allocations: 6.123 MB / 0.6906 GB, free: 41.84 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.413e-06/1.329, allocations: 4 kB / 0.6906 GB, free: 41.83 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002139/1.331, allocations: 1.796 MB / 0.6923 GB, free: 40.02 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004397/1.335, allocations: 0.6046 MB / 0.6929 GB, free: 39.44 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02468/1.36, allocations: 15.12 MB / 0.7077 GB, free: 24.21 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005462/1.365, allocations: 4.242 MB / 0.7118 GB, free: 19.95 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001837/1.367, allocations: 407.4 kB / 0.7122 GB, free: 19.55 MB / 446.1 MB Notification: Performance of SimCode: time 2.564e-06/1.367, allocations: 0 / 0.7122 GB, free: 19.55 MB / 446.1 MB Notification: Performance of Templates: time 0.5564/1.924, allocations: 130 MB / 0.8391 GB, free: 66.09 MB / 462.1 MB make -j1 -f PlanarMechanics_PlanarMechanics.Examples.CraneCrabTo3D.makefile make -j1 -f PlanarMechanics_PlanarMechanics.Examples.CraneCrabTo3D.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.CraneCrabTo3DCalcHelperMain.o OMCppPlanarMechanics_PlanarMechanics.Examples.CraneCrabTo3DCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPlanarMechanics_PlanarMechanics.Examples.CraneCrabTo3DCalcHelperMain.o] Error 1