Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.Examples.ControlledCraneCrab.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.ControlledCraneCrab,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.ControlledCraneCrab") translateModel(PlanarMechanics.Examples.ControlledCraneCrab,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.ControlledCraneCrab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001181/0.001181, allocations: 102.6 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.001894/0.001895, allocations: 176.6 kB / 16.58 MB, free: 6.402 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.546/1.546, allocations: 223.2 MB / 240.6 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo): time 0.2506/0.2506, allocations: 9.095 MB / 300.8 MB, free: 2.684 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004614/0.0004616, allocations: 12 kB / 363.7 MB, free: 12.99 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1575/0.158, allocations: 52.43 MB / 416.2 MB, free: 8.516 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.ControlledCraneCrab): time 0.2876/0.4456, allocations: 24.85 MB / 441 MB, free: 30.28 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01611/0.4618, allocations: 5.894 MB / 446.9 MB, free: 26.19 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006859/0.4687, allocations: 99.28 kB / 447 MB, free: 26.18 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004433/0.4732, allocations: 1.193 MB / 448.2 MB, free: 25.75 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01326/0.4865, allocations: 4.276 MB / 452.5 MB, free: 23.88 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001756/0.4882, allocations: 155 kB / 452.6 MB, free: 23.79 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004535/0.4928, allocations: 2.858 MB / 455.5 MB, free: 22.68 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001924/0.4947, allocations: 0.8575 MB / 456.3 MB, free: 22.37 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001924/0.4967, allocations: 0.8245 MB / 457.2 MB, free: 22.07 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002444/0.4991, allocations: 1.306 MB / 458.5 MB, free: 21.64 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005615/0.4997, allocations: 132 kB / 458.6 MB, free: 21.64 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001616/0.5013, allocations: 0.6667 MB / 459.3 MB, free: 21.51 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001102/0.5025, allocations: 1.108 MB / 460.4 MB, free: 21.13 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007415/0.5032, allocations: 0.6476 MB / 461 MB, free: 20.65 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00411/0.5073, allocations: 3.721 MB / 464.7 MB, free: 19.8 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.898e-06/0.5074, allocations: 3 kB / 464.7 MB, free: 19.8 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.066e-06/0.5074, allocations: 0 / 464.7 MB, free: 19.8 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.306e-05/0.5075, allocations: 0 / 464.7 MB, free: 19.8 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: 1165 * Number of variables: 1165 Notification: Performance of Generate backend data structure: time 0.008052/0.5155, allocations: 3.325 MB / 468.1 MB, free: 18.11 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.217e-05/0.5156, allocations: 10.02 kB / 468.1 MB, free: 18.11 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006791/0.5224, allocations: 1.814 MB / 469.9 MB, free: 17.81 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003155/0.5256, allocations: 1.368 MB / 471.3 MB, free: 16.96 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001453/0.5257, allocations: 155.6 kB / 471.4 MB, free: 16.88 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004425/0.5262, allocations: 203.3 kB / 471.6 MB, free: 16.81 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01652/0.5427, allocations: 7.979 MB / 479.6 MB, free: 13.25 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002112/0.5429, allocations: 25.06 kB / 479.6 MB, free: 13.23 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008481/0.5438, allocations: 101.9 kB / 479.7 MB, free: 13.16 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004132/0.548, allocations: 1.851 MB / 481.6 MB, free: 12.78 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01909/0.5671, allocations: 7.14 MB / 488.7 MB, free: 9.801 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0464/0.6135, allocations: 24.44 MB / 0.5011 GB, free: 2.109 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006364/0.6199, allocations: 2.373 MB / 0.5034 GB, free: 15.62 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001812/0.6218, allocations: 0.8168 MB / 0.5042 GB, free: 14.8 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008538/0.6303, allocations: 4.655 MB / 0.5088 GB, free: 9.773 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.284e-05/0.6304, allocations: 43.56 kB / 0.5088 GB, free: 9.723 MB / 382.1 MB Notification: Performance of pre-optimization done (n=131): time 4.669e-06/0.6304, allocations: 0 / 0.5088 GB, free: 9.723 MB / 382.1 MB Notification: Performance of matching and sorting (n=153): time 0.01634/0.6468, allocations: 6.856 MB / 0.5155 GB, free: 2.773 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.947e-05/0.6469, allocations: 68.72 kB / 0.5156 GB, free: 2.695 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006603/0.6535, allocations: 2.644 MB / 0.5182 GB, free: 24 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004761/0.654, allocations: 45.7 kB / 0.5182 GB, free: 15.97 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002869/0.6569, allocations: 2.113 MB / 0.5203 GB, free: 13.83 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001207/0.6582, allocations: 0.5667 MB / 0.5208 GB, free: 13.25 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006359/0.6588, allocations: 76 kB / 0.5209 GB, free: 13.18 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0006276/0.6595, allocations: 478.6 kB / 0.5213 GB, free: 12.7 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003534/0.663, allocations: 1.284 MB / 0.5226 GB, free: 11.41 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004919/0.668, allocations: 3.42 MB / 0.5259 GB, free: 6.934 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003955/0.6719, allocations: 2.097 MB / 0.528 GB, free: 4.836 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.411e-05/0.672, allocations: 20 kB / 0.528 GB, free: 4.816 MB / 398.1 MB Notification: Performance of matching and sorting (n=516) (initialization): time 0.01199/0.684, allocations: 4.883 MB / 0.5328 GB, free: 15.93 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001376/0.6842, allocations: 36 kB / 0.5328 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002049/0.6845, allocations: 80.12 kB / 0.5329 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001117/0.6856, allocations: 312.7 kB / 0.5332 GB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003279/0.6889, allocations: 0.8578 MB / 0.534 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005013/0.6939, allocations: 3.351 MB / 0.5373 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003457/0.6974, allocations: 195.9 kB / 0.5375 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008605/0.6983, allocations: 236 kB / 0.5377 GB, free: 10.73 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 340 * Number of states: 0 () * Number of discrete variables: 16 (revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],PID.I.local_reset,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 (472): * Single equations (assignments): 467 * 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 {(2,100.0%) 17} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004399/0.7027, allocations: 1.566 MB / 0.5392 GB, free: 9.156 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006781/0.7034, allocations: 225 kB / 0.5395 GB, free: 8.934 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004387/0.7078, allocations: 2.014 MB / 0.5414 GB, free: 6.906 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001038/0.7079, allocations: 23.98 kB / 0.5414 GB, free: 6.883 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.162e-05/0.708, allocations: 4 kB / 0.5414 GB, free: 6.879 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.634e-05/0.708, allocations: 3.984 kB / 0.5415 GB, free: 6.875 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01387/0.7219, allocations: 5.726 MB / 0.547 GB, free: 1.031 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.269e-05/0.7219, allocations: 288 / 0.547 GB, free: 1.031 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008654/0.7228, allocations: 207.7 kB / 0.5472 GB, free: 0.8281 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006031/0.7234, allocations: 202.9 kB / 0.5474 GB, free: 0.6289 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001131/0.7236, allocations: 35.92 kB / 0.5475 GB, free: 0.5938 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003832/0.7274, allocations: 2.712 MB / 0.5501 GB, free: 13.75 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.016e-05/0.7274, allocations: 7.922 kB / 0.5501 GB, free: 13.74 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005455/0.7329, allocations: 3.087 MB / 0.5531 GB, free: 10.61 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001458/0.7344, allocations: 473.9 kB / 0.5536 GB, free: 10.12 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007042/0.7351, allocations: 24 kB / 0.5536 GB, free: 10.1 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001252/0.7364, allocations: 67.91 kB / 0.5537 GB, free: 10.03 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002017/0.7366, allocations: 88.84 kB / 0.5538 GB, free: 9.945 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001077/0.7367, allocations: 43.98 kB / 0.5538 GB, free: 9.902 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.004344/0.741, allocations: 1.701 MB / 0.5555 GB, free: 8.188 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.741, allocations: 0 / 0.5555 GB, free: 8.188 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004369/0.7454, allocations: 0.6836 MB / 0.5561 GB, free: 7.504 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 6 (PID.I.y,PID.D.x,prismatic.s,prismatic.v,revolute.phi,revolute.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 (113): * Single equations (assignments): 108 * 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 {(2,100.0%) 15} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004963/0.7459, allocations: 167 kB / 0.5563 GB, free: 7.328 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.006248/0.7522, allocations: 3.149 MB / 0.5594 GB, free: 4.188 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.7522, allocations: 0 / 0.5594 GB, free: 4.188 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001749/0.754, allocations: 1.021 MB / 0.5604 GB, free: 3.16 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003047/0.757, allocations: 382.6 kB / 0.5607 GB, free: 2.793 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01848/0.7755, allocations: 8.27 MB / 0.5688 GB, free: 10.45 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003591/0.7792, allocations: 2.592 MB / 0.5713 GB, free: 7.82 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009372/0.7801, allocations: 211.4 kB / 0.5715 GB, free: 7.613 MB / 446.1 MB Notification: Performance of SimCode: time 2.444e-06/0.7801, allocations: 0 / 0.5715 GB, free: 7.613 MB / 446.1 MB Notification: Performance of Templates: time 0.3762/1.156, allocations: 56.32 MB / 0.6265 GB, free: 105.1 MB / 446.1 MB make -j1 -f PlanarMechanics_PlanarMechanics.Examples.ControlledCraneCrab.makefile make -j1 -f PlanarMechanics_PlanarMechanics.Examples.ControlledCraneCrab.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.ControlledCraneCrabCalcHelperMain.o OMCppPlanarMechanics_PlanarMechanics.Examples.ControlledCraneCrabCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPlanarMechanics_PlanarMechanics.Examples.ControlledCraneCrabCalcHelperMain.o] Error 1