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.0008525/0.0008524, allocations: 92.16 kB / 16.02 MB, free: 80 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.001679/0.001679, allocations: 172.9 kB / 16.92 MB, free: 6.652 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.491/1.491, allocations: 223.3 MB / 241 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo): time 0.2009/0.2009, allocations: 9.087 MB / 301.2 MB, free: 2.629 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004406/0.0004406, allocations: 8 kB / 364.3 MB, free: 12.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1428/0.1432, allocations: 52.44 MB / 416.8 MB, free: 8.188 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.CraneCrabTo3D): time 0.3239/0.4672, allocations: 45.82 MB / 462.6 MB, free: 14.59 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02492/0.4922, allocations: 10.39 MB / 473 MB, free: 7.648 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01318/0.5054, allocations: 191.1 kB / 473.2 MB, free: 7.621 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002387/0.5078, allocations: 0.5647 MB / 473.7 MB, free: 7.41 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007362/0.5152, allocations: 2.415 MB / 476.2 MB, free: 6.367 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001537/0.5168, allocations: 0.519 MB / 476.7 MB, free: 6.156 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01023/0.527, allocations: 7.157 MB / 483.8 MB, free: 3.941 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005941/0.533, allocations: 3.317 MB / 487.1 MB, free: 2.555 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003456/0.5365, allocations: 1.449 MB / 488.6 MB, free: 2.012 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005092/0.5416, allocations: 2.507 MB / 491.1 MB, free: 1.211 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001311/0.5429, allocations: 209 kB / 491.3 MB, free: 1.211 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003582/0.5465, allocations: 1.089 MB / 492.4 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00417/0.5507, allocations: 2.146 MB / 494.5 MB, free: 260 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008288/0.559, allocations: 2.665 MB / 497.2 MB, free: 14.35 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01456/0.5736, allocations: 6.54 MB / 0.4919 GB, free: 11.43 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.153e-06/0.5736, allocations: 0 / 0.4919 GB, free: 11.43 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.086e-06/0.5737, allocations: 0 / 0.4919 GB, free: 11.43 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0003865/0.574, allocations: 4 kB / 0.4919 GB, free: 11.42 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.01859/0.5926, allocations: 5.432 MB / 0.4973 GB, free: 7.023 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.115e-05/0.5927, allocations: 16.53 kB / 0.4973 GB, free: 7.008 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01458/0.6073, allocations: 3.479 MB / 0.5007 GB, free: 3.516 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008089/0.6154, allocations: 2.747 MB / 0.5033 GB, free: 0.707 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004051/0.6159, allocations: 274.7 kB / 0.5036 GB, free: 448 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002106/0.618, allocations: 359.7 kB / 0.504 GB, free: 88 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03177/0.6498, allocations: 14.03 MB / 0.5177 GB, free: 1.168 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003186/0.6502, allocations: 63.45 kB / 0.5177 GB, free: 1.105 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002052/0.6522, allocations: 175.8 kB / 0.5179 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007754/0.66, allocations: 3.14 MB / 0.5209 GB, free: 13.79 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03257/0.6926, allocations: 12.21 MB / 0.5329 GB, free: 1.574 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4165/1.109, allocations: 52.08 MB / 0.5837 GB, free: 106.4 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01134/1.121, allocations: 5.071 MB / 0.5887 GB, free: 105.3 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002823/1.123, allocations: 1.806 MB / 0.5904 GB, free: 105.2 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01441/1.138, allocations: 8.01 MB / 0.5983 GB, free: 102.9 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.258e-05/1.138, allocations: 55.31 kB / 0.5983 GB, free: 102.9 MB / 446.1 MB Notification: Performance of pre-optimization done (n=242): time 5.75e-06/1.138, allocations: 0 / 0.5983 GB, free: 102.9 MB / 446.1 MB Notification: Performance of matching and sorting (n=272): time 0.03227/1.17, allocations: 14.44 MB / 0.6124 GB, free: 97.96 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.036e-05/1.17, allocations: 152.3 kB / 0.6126 GB, free: 97.8 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01176/1.182, allocations: 5.375 MB / 0.6178 GB, free: 95.88 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005851/1.183, allocations: 65.38 kB / 0.6179 GB, free: 95.82 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003841/1.187, allocations: 4.093 MB / 0.6219 GB, free: 92.66 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001836/1.188, allocations: 1.037 MB / 0.6229 GB, free: 91.91 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001135/1.19, allocations: 0.6951 MB / 0.6236 GB, free: 91.61 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.967e-05/1.19, allocations: 302.2 kB / 0.6239 GB, free: 91.32 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005152/1.195, allocations: 2.545 MB / 0.6263 GB, free: 90.51 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008449/1.203, allocations: 7.367 MB / 0.6335 GB, free: 83.29 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01404/1.217, allocations: 10.76 MB / 0.644 GB, free: 74.16 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002661/1.218, allocations: 49.16 kB / 0.6441 GB, free: 74.16 MB / 446.1 MB Notification: Performance of matching and sorting (n=1086) (initialization): time 0.02225/1.24, allocations: 9.931 MB / 0.6538 GB, free: 70.33 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001357/1.24, allocations: 76.88 kB / 0.6539 GB, free: 70.33 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002871/1.24, allocations: 169.5 kB / 0.654 GB, free: 70.33 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001008/1.241, allocations: 468.8 kB / 0.6545 GB, free: 70.27 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006442/1.248, allocations: 1.852 MB / 0.6563 GB, free: 70.04 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004978/1.253, allocations: 4.889 MB / 0.6611 GB, free: 66.52 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00797/1.261, allocations: 417.8 kB / 0.6614 GB, free: 66.37 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001932/1.263, allocations: 498.2 kB / 0.6619 GB, free: 66.11 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.01006/1.273, allocations: 2.852 MB / 0.6647 GB, free: 63.6 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001788/1.275, allocations: 461.9 kB / 0.6652 GB, free: 63.14 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008485/1.283, allocations: 2.976 MB / 0.6681 GB, free: 60.59 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.702e-05/1.283, allocations: 32 kB / 0.6681 GB, free: 60.55 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.899e-05/1.283, allocations: 4 kB / 0.6681 GB, free: 60.55 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.411e-05/1.283, allocations: 15.66 kB / 0.6681 GB, free: 60.55 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02411/1.308, allocations: 9.113 MB / 0.677 GB, free: 52.94 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.891e-05/1.308, allocations: 8.844 kB / 0.677 GB, free: 52.93 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001647/1.309, allocations: 392.6 kB / 0.6774 GB, free: 52.61 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006341/1.31, allocations: 236.4 kB / 0.6776 GB, free: 52.42 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002939/1.31, allocations: 53.95 kB / 0.6777 GB, free: 52.38 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0036/1.314, allocations: 4.047 MB / 0.6816 GB, free: 48.36 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.462e-06/1.314, allocations: 8 kB / 0.6816 GB, free: 48.36 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00799/1.322, allocations: 5.65 MB / 0.6871 GB, free: 43.11 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002372/1.324, allocations: 0.5301 MB / 0.6877 GB, free: 42.56 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001783/1.326, allocations: 48 kB / 0.6877 GB, free: 42.51 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002893/1.329, allocations: 99.88 kB / 0.6878 GB, free: 42.41 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003507/1.329, allocations: 168.1 kB / 0.688 GB, free: 42.25 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000175/1.33, allocations: 80 kB / 0.688 GB, free: 42.17 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.008608/1.338, allocations: 3.381 MB / 0.6913 GB, free: 38.8 MB / 446.1 MB Notification: Performance of sort global known variables: time 5.21e-07/1.338, allocations: 0 / 0.6913 GB, free: 38.8 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.01154/1.35, allocations: 1.263 MB / 0.6926 GB, free: 37.55 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.000991/1.351, allocations: 185.7 kB / 0.6928 GB, free: 37.36 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01249/1.363, allocations: 6.161 MB / 0.6988 GB, free: 31.22 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.25e-05/1.363, allocations: 8.062 kB / 0.6988 GB, free: 31.21 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003087/1.366, allocations: 1.804 MB / 0.7005 GB, free: 29.39 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009561/1.376, allocations: 0.6041 MB / 0.7011 GB, free: 28.81 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03117/1.407, allocations: 15.74 MB / 0.7165 GB, free: 12.97 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004538/1.412, allocations: 4.241 MB / 0.7206 GB, free: 8.707 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001671/1.413, allocations: 403.4 kB / 0.721 GB, free: 8.312 MB / 446.1 MB Notification: Performance of SimCode: time 1.213e-06/1.413, allocations: 0 / 0.721 GB, free: 8.312 MB / 446.1 MB Notification: Performance of Templates: time 0.5255/1.939, allocations: 129.8 MB / 0.8477 GB, free: 75.63 MB / 478.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