Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.Examples.CounterSpin.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.CounterSpin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.CounterSpin") translateModel(PlanarMechanics.Examples.CounterSpin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.CounterSpin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001004/0.001004, 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.001572/0.001572, allocations: 176.2 kB / 16.58 MB, free: 6.863 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.597/1.597, allocations: 223.2 MB / 240.6 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo): time 0.1994/0.1994, allocations: 9.102 MB / 300.8 MB, free: 2.816 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003308/0.0003308, allocations: 16 kB / 363.7 MB, free: 13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1335/0.1339, allocations: 52.44 MB / 416.2 MB, free: 8.52 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.CounterSpin): time 0.3263/0.4602, allocations: 12.85 MB / 429 MB, free: 34.5 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008946/0.4692, allocations: 3.539 MB / 432.5 MB, free: 33.99 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002616/0.4719, allocations: 46.06 kB / 432.6 MB, free: 33.99 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001598/0.4735, allocations: 0.5896 MB / 433.2 MB, free: 33.86 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005796/0.4793, allocations: 2.19 MB / 435.4 MB, free: 33.41 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004952/0.4798, allocations: 70.45 kB / 435.4 MB, free: 33.41 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003622/0.4835, allocations: 2.254 MB / 437.7 MB, free: 33.09 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005438/0.484, allocations: 170.7 kB / 437.9 MB, free: 33.04 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001425/0.4855, allocations: 0.6232 MB / 438.5 MB, free: 32.91 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001721/0.4872, allocations: 1.052 MB / 439.5 MB, free: 32.76 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002829/0.4875, allocations: 102 kB / 439.6 MB, free: 32.76 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001321/0.4888, allocations: 0.6033 MB / 440.2 MB, free: 32.73 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008537/0.4897, allocations: 0.9174 MB / 441.2 MB, free: 32.62 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006006/0.4903, allocations: 0.5416 MB / 441.7 MB, free: 32.39 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002955/0.4933, allocations: 3.213 MB / 444.9 MB, free: 31.77 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.237e-06/0.4933, allocations: 2.812 kB / 444.9 MB, free: 31.77 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.898e-06/0.4933, allocations: 0 / 444.9 MB, free: 31.77 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.238e-05/0.4934, allocations: 3.469 kB / 444.9 MB, free: 31.77 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: 981 * Number of variables: 981 Notification: Performance of Generate backend data structure: time 0.007884/0.5013, allocations: 3.094 MB / 448 MB, free: 30.36 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.192e-05/0.5013, allocations: 9.5 kB / 448 MB, free: 30.36 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006003/0.5073, allocations: 1.739 MB / 449.8 MB, free: 30.11 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002755/0.5101, allocations: 1.154 MB / 450.9 MB, free: 29.37 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001067/0.5103, allocations: 114.3 kB / 451 MB, free: 29.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003677/0.5106, allocations: 145.4 kB / 451.2 MB, free: 29.32 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01097/0.5216, allocations: 7.04 MB / 458.2 MB, free: 26.3 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.883e-05/0.5217, allocations: 13.62 kB / 458.2 MB, free: 26.29 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002353/0.522, allocations: 74.19 kB / 458.3 MB, free: 26.27 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002702/0.5247, allocations: 1.729 MB / 460 MB, free: 25.92 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01542/0.5401, allocations: 6.435 MB / 466.5 MB, free: 23.69 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04048/0.5807, allocations: 20.96 MB / 487.4 MB, free: 9.48 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004378/0.5851, allocations: 1.927 MB / 489.3 MB, free: 8.215 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00111/0.5863, allocations: 0.5904 MB / 489.9 MB, free: 7.926 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005273/0.5916, allocations: 3.352 MB / 493.3 MB, free: 5.125 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.624e-05/0.5916, allocations: 40.44 kB / 493.3 MB, free: 5.078 MB / 350.1 MB Notification: Performance of pre-optimization done (n=93): time 4.638e-06/0.5916, allocations: 1.375 kB / 493.3 MB, free: 5.078 MB / 350.1 MB Notification: Performance of matching and sorting (n=93): time 0.0038/0.5954, allocations: 1.809 MB / 495.1 MB, free: 3.691 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.327e-05/0.5955, allocations: 63.97 kB / 495.2 MB, free: 3.617 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002872/0.5984, allocations: 2.184 MB / 497.4 MB, free: 1.434 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.762e-05/0.5984, allocations: 33.7 kB / 497.4 MB, free: 1.395 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001215/0.5996, allocations: 1.82 MB / 499.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003484/0.6, allocations: 373.1 kB / 499.6 MB, free: 15.21 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001237/0.6001, allocations: 60 kB / 499.7 MB, free: 15.15 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002962/0.6004, allocations: 436.8 kB / 0.4884 GB, free: 14.72 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001843/0.6023, allocations: 1.002 MB / 0.4893 GB, free: 13.71 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003494/0.6058, allocations: 2.891 MB / 0.4922 GB, free: 9.879 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0026/0.6084, allocations: 1.701 MB / 0.4938 GB, free: 8.18 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.373e-05/0.6085, allocations: 23.95 kB / 0.4938 GB, free: 8.156 MB / 366.1 MB Notification: Performance of matching and sorting (n=413) (initialization): time 0.006428/0.6149, allocations: 3.791 MB / 0.4975 GB, free: 4.367 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.21e-05/0.615, allocations: 36 kB / 0.4976 GB, free: 4.332 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.36e-05/0.615, allocations: 64 kB / 0.4976 GB, free: 4.27 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001078/0.6152, allocations: 100 kB / 0.4977 GB, free: 4.172 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002069/0.6172, allocations: 0.7174 MB / 0.4984 GB, free: 3.453 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001313/0.6174, allocations: 131.5 kB / 0.4986 GB, free: 3.324 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002667/0.6201, allocations: 463 kB / 0.499 GB, free: 2.867 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000294/0.6204, allocations: 209.5 kB / 0.4992 GB, free: 2.664 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 306 * Number of states: 0 () * Number of discrete variables: 3 (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 (387): * Single equations (assignments): 383 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002696/0.6231, allocations: 1.391 MB / 0.5006 GB, free: 1.262 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003169/0.6234, allocations: 173.7 kB / 0.5007 GB, free: 1.09 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002309/0.6257, allocations: 1.181 MB / 0.5019 GB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.306e-05/0.6258, allocations: 27.98 kB / 0.5019 GB, free: 15.88 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/0.6258, allocations: 0 / 0.5019 GB, free: 15.88 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.145e-05/0.6258, allocations: 4.359 kB / 0.5019 GB, free: 15.88 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007244/0.6331, allocations: 3.936 MB / 0.5058 GB, free: 11.88 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.723e-06/0.6331, allocations: 4 kB / 0.5058 GB, free: 11.87 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005773/0.6337, allocations: 131.8 kB / 0.5059 GB, free: 11.74 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.191e-05/0.6337, allocations: 7.938 kB / 0.5059 GB, free: 11.73 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.369e-05/0.6338, allocations: 28.27 kB / 0.5059 GB, free: 11.71 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.17e-05/0.6338, allocations: 7.953 kB / 0.5059 GB, free: 11.7 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.583e-06/0.6338, allocations: 11.78 kB / 0.5059 GB, free: 11.69 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002672/0.6365, allocations: 1.943 MB / 0.5078 GB, free: 9.707 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000552/0.6371, allocations: 274.7 kB / 0.5081 GB, free: 9.418 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001787/0.6373, allocations: 16 kB / 0.5081 GB, free: 9.402 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005351/0.6378, allocations: 41.2 kB / 0.5082 GB, free: 9.363 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.424e-05/0.6379, allocations: 48.41 kB / 0.5082 GB, free: 9.316 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.029e-05/0.638, allocations: 32.84 kB / 0.5082 GB, free: 9.285 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002332/0.6403, allocations: 1.404 MB / 0.5096 GB, free: 7.891 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.6403, allocations: 0 / 0.5096 GB, free: 7.891 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002811/0.6431, allocations: 0.7056 MB / 0.5103 GB, free: 7.184 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 4 (body.v[1],body.w,slipBasedRolling.frame_a.x,slipBasedRolling.phi) * 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 (69): * Single equations (assignments): 65 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003877/0.6435, allocations: 155.6 kB / 0.5104 GB, free: 7.023 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003775/0.6473, allocations: 2.224 MB / 0.5126 GB, free: 4.805 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.752e-06/0.6474, allocations: 5.438 kB / 0.5126 GB, free: 4.801 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008278/0.6482, allocations: 0.5209 MB / 0.5131 GB, free: 4.281 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001658/0.6499, allocations: 291.4 kB / 0.5134 GB, free: 4.004 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01166/0.6615, allocations: 6.772 MB / 0.52 GB, free: 13.17 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002569/0.6642, allocations: 2.279 MB / 0.5222 GB, free: 10.86 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006598/0.6648, allocations: 171.4 kB / 0.5224 GB, free: 10.7 MB / 398.1 MB Notification: Performance of SimCode: time 1.723e-06/0.6648, allocations: 3.938 kB / 0.5224 GB, free: 10.69 MB / 398.1 MB Notification: Performance of Templates: time 0.06135/0.7262, allocations: 33.25 MB / 0.5549 GB, free: 9.605 MB / 430.1 MB make -j1 -f PlanarMechanics_PlanarMechanics.Examples.CounterSpin.makefile make -j1 -f PlanarMechanics_PlanarMechanics.Examples.CounterSpin.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.CounterSpinCalcHelperMain.o OMCppPlanarMechanics_PlanarMechanics.Examples.CounterSpinCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPlanarMechanics_PlanarMechanics.Examples.CounterSpinCalcHelperMain.o] Error 1