Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.Examples.FreeBody.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.FreeBody,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.FreeBody") translateModel(PlanarMechanics.Examples.FreeBody,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.FreeBody") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001167/0.001167, allocations: 100.1 kB / 15.88 MB, free: 12 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.001355/0.001355, allocations: 198.8 kB / 16.79 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.493/1.493, allocations: 222.9 MB / 240.5 MB, free: 4.461 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo): time 0.1954/0.1954, allocations: 9.101 MB / 299.7 MB, free: 1.836 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001465/0.001466, allocations: 59.91 kB / 361.9 MB, free: 13.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1388/0.1403, allocations: 51.43 MB / 413.3 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.FreeBody): time 0.01327/0.1536, allocations: 9.584 MB / 422.9 MB, free: 432 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2792/0.4328, allocations: 2.728 MB / 425.6 MB, free: 35.95 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001921/0.4348, allocations: 33.44 kB / 425.7 MB, free: 35.95 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009344/0.4358, allocations: 226.2 kB / 425.9 MB, free: 35.95 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002658/0.4385, allocations: 1.041 MB / 426.9 MB, free: 35.9 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001335/0.4387, allocations: 31.55 kB / 427 MB, free: 35.89 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002683/0.4414, allocations: 2.69 MB / 429.7 MB, free: 35.73 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002401/0.4416, allocations: 149.6 kB / 429.8 MB, free: 35.69 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005579/0.4422, allocations: 0.5335 MB / 430.3 MB, free: 35.55 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009881/0.4432, allocations: 0.9942 MB / 431.3 MB, free: 35.4 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001855/0.4434, allocations: 93.41 kB / 431.4 MB, free: 35.4 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001156/0.4445, allocations: 0.687 MB / 432.1 MB, free: 35.37 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006821/0.4452, allocations: 0.8787 MB / 433 MB, free: 35.23 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008054/0.446, allocations: 1.124 MB / 434.1 MB, free: 34.41 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002311/0.4484, allocations: 3.097 MB / 437.2 MB, free: 33.49 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.4484, allocations: 0 / 437.2 MB, free: 33.49 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.4484, allocations: 0 / 437.2 MB, free: 33.49 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.366e-05/0.4484, allocations: 4.031 kB / 437.2 MB, free: 33.49 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: 902 * Number of variables: 902 Notification: Performance of Generate backend data structure: time 0.004832/0.4533, allocations: 2.567 MB / 439.8 MB, free: 31.95 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.353e-05/0.4533, allocations: 14 kB / 439.8 MB, free: 31.95 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006153/0.4595, allocations: 1.677 MB / 441.5 MB, free: 31.71 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002858/0.4624, allocations: 1.078 MB / 442.5 MB, free: 31.01 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00011/0.4625, allocations: 105.5 kB / 442.6 MB, free: 30.98 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003598/0.4629, allocations: 132.7 kB / 442.8 MB, free: 30.96 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01216/0.4751, allocations: 6.506 MB / 449.3 MB, free: 28.23 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.24e-05/0.4752, allocations: 18.86 kB / 449.3 MB, free: 28.21 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002473/0.4754, allocations: 61.23 kB / 449.4 MB, free: 28.2 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003147/0.4786, allocations: 1.623 MB / 451 MB, free: 27.87 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01393/0.4925, allocations: 6.048 MB / 457 MB, free: 25.76 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0328/0.5254, allocations: 18.19 MB / 475.2 MB, free: 14.56 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003204/0.5286, allocations: 1.554 MB / 476.8 MB, free: 13.63 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001144/0.5298, allocations: 0.5281 MB / 477.3 MB, free: 13.44 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004553/0.5344, allocations: 2.148 MB / 479.4 MB, free: 12.11 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.838e-05/0.5345, allocations: 36.98 kB / 479.5 MB, free: 12.07 MB / 350.1 MB Notification: Performance of pre-optimization done (n=80): time 3.547e-06/0.5345, allocations: 1.375 kB / 479.5 MB, free: 12.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=80): time 0.003594/0.5381, allocations: 1.488 MB / 481 MB, free: 11.57 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.638e-05/0.5381, allocations: 64.78 kB / 481 MB, free: 11.5 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004115/0.5422, allocations: 2.006 MB / 483 MB, free: 10.72 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.797e-05/0.5423, allocations: 42.27 kB / 483.1 MB, free: 10.68 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00134/0.5437, allocations: 1.65 MB / 484.7 MB, free: 9.297 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003558/0.544, allocations: 320.8 kB / 485 MB, free: 9.035 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009797/0.545, allocations: 0.5669 MB / 485.6 MB, free: 8.703 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001869/0.5452, allocations: 362.3 kB / 486 MB, free: 8.359 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001713/0.5469, allocations: 0.9258 MB / 486.9 MB, free: 7.902 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002651/0.5496, allocations: 2.569 MB / 489.5 MB, free: 5.121 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003725/0.5533, allocations: 3.726 MB / 493.2 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.203e-05/0.5534, allocations: 16 kB / 493.2 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of matching and sorting (n=360) (initialization): time 0.006284/0.5597, allocations: 3.431 MB / 496.6 MB, free: 13.25 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.456e-05/0.5598, allocations: 30.19 kB / 496.7 MB, free: 13.22 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001073/0.5599, allocations: 60 kB / 496.7 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.137e-05/0.56, allocations: 76 kB / 496.8 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001856/0.5619, allocations: 0.6121 MB / 497.4 MB, free: 12.47 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001246/0.562, allocations: 119.5 kB / 497.5 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002351/0.5644, allocations: 418.6 kB / 497.9 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002899/0.5647, allocations: 172 kB / 498.1 MB, free: 11.78 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 266 * 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 (334): * Single equations (assignments): 330 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00221/0.5669, allocations: 1.313 MB / 499.4 MB, free: 10.45 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003134/0.5672, allocations: 150.3 kB / 499.6 MB, free: 10.3 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001869/0.5691, allocations: 1.058 MB / 0.4889 GB, free: 9.238 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001148/0.5692, allocations: 23.97 kB / 0.4889 GB, free: 9.215 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.977e-06/0.5692, allocations: 7.875 kB / 0.4889 GB, free: 9.207 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.716e-06/0.5693, allocations: 1.734 kB / 0.4889 GB, free: 9.207 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007175/0.5764, allocations: 3.584 MB / 0.4924 GB, free: 5.562 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.868e-06/0.5765, allocations: 4.125 kB / 0.4924 GB, free: 5.559 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005013/0.577, allocations: 107.9 kB / 0.4925 GB, free: 5.453 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.452e-05/0.577, allocations: 4 kB / 0.4925 GB, free: 5.449 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.902e-05/0.5771, allocations: 16 kB / 0.4925 GB, free: 5.434 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.157e-06/0.5771, allocations: 7.984 kB / 0.4926 GB, free: 5.426 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/0.5771, allocations: 0 / 0.4926 GB, free: 5.426 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002635/0.5797, allocations: 1.739 MB / 0.4942 GB, free: 3.664 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00075/0.5805, allocations: 247.1 kB / 0.4945 GB, free: 3.402 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004101/0.5809, allocations: 15.36 kB / 0.4945 GB, free: 3.391 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007441/0.5817, allocations: 35.95 kB / 0.4945 GB, free: 3.355 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001087/0.5818, allocations: 32.39 kB / 0.4946 GB, free: 3.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.079e-05/0.5819, allocations: 24 kB / 0.4946 GB, free: 3.297 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.002913/0.5848, allocations: 1.317 MB / 0.4959 GB, free: 1.984 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.5848, allocations: 3.938 kB / 0.4959 GB, free: 1.98 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.003011/0.5878, allocations: 0.636 MB / 0.4965 GB, free: 1.344 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (body.r[1],body.r[2],body.v[1],body.v[2],body.phi,body.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 (55): * Single equations (assignments): 51 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004259/0.5883, allocations: 137.4 kB / 0.4966 GB, free: 1.203 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003635/0.5919, allocations: 2.001 MB / 0.4986 GB, free: 15.21 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/0.5919, allocations: 4.062 kB / 0.4986 GB, free: 15.21 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006793/0.5926, allocations: 474.4 kB / 0.499 GB, free: 14.75 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001764/0.5944, allocations: 271 kB / 0.4993 GB, free: 14.5 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01238/0.6068, allocations: 6.458 MB / 0.5056 GB, free: 8.016 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003422/0.6103, allocations: 2.185 MB / 0.5077 GB, free: 5.801 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006787/0.611, allocations: 155.4 kB / 0.5079 GB, free: 5.652 MB / 382.1 MB Notification: Performance of SimCode: time 1.653e-06/0.611, allocations: 0 / 0.5079 GB, free: 5.652 MB / 382.1 MB Notification: Performance of Templates: time 0.0592/0.6702, allocations: 30.92 MB / 0.5381 GB, free: 6.922 MB / 414.1 MB make -j1 -f PlanarMechanics_PlanarMechanics.Examples.FreeBody.makefile make -j1 -f PlanarMechanics_PlanarMechanics.Examples.FreeBody.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.FreeBodyCalcHelperMain.o OMCppPlanarMechanics_PlanarMechanics.Examples.FreeBodyCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPlanarMechanics_PlanarMechanics.Examples.FreeBodyCalcHelperMain.o] Error 1