Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.Examples.PendulumExcited.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.PendulumExcited,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.PendulumExcited") translateModel(PlanarMechanics.Examples.PendulumExcited,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.PendulumExcited") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001278/0.001278, 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.001359/0.001358, allocations: 195.9 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.496/1.496, allocations: 222.9 MB / 240.4 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo): time 0.2455/0.2455, allocations: 9.101 MB / 299.7 MB, free: 1.875 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001123/0.001124, allocations: 63.89 kB / 361.9 MB, free: 13.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1286/0.1297, allocations: 51.44 MB / 413.3 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.PendulumExcited): time 0.3043/0.4341, allocations: 30.98 MB / 444.3 MB, free: 26.34 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01784/0.452, allocations: 6.829 MB / 451.1 MB, free: 21.88 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009718/0.4618, allocations: 113.2 kB / 451.2 MB, free: 21.86 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001765/0.4636, allocations: 315.2 kB / 451.6 MB, free: 21.74 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004486/0.4681, allocations: 1.287 MB / 452.8 MB, free: 21.16 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000599/0.4687, allocations: 142.4 kB / 453 MB, free: 21.08 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004607/0.4734, allocations: 3.474 MB / 456.5 MB, free: 19.89 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001317/0.4747, allocations: 0.9046 MB / 457.4 MB, free: 19.55 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001217/0.4759, allocations: 0.7803 MB / 458.1 MB, free: 19.24 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001568/0.4775, allocations: 1.327 MB / 459.5 MB, free: 18.78 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003248/0.4779, allocations: 139.8 kB / 459.6 MB, free: 18.78 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001716/0.4796, allocations: 0.7788 MB / 460.4 MB, free: 18.59 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001135/0.4807, allocations: 1.134 MB / 461.5 MB, free: 18.2 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001554/0.4823, allocations: 1.507 MB / 463 MB, free: 17.11 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004154/0.4865, allocations: 3.836 MB / 466.9 MB, free: 15.84 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/0.4865, allocations: 0 / 466.9 MB, free: 15.84 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.166e-06/0.4865, allocations: 0 / 466.9 MB, free: 15.84 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001143/0.4866, allocations: 7.031 kB / 466.9 MB, free: 15.83 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: 1181 * Number of variables: 1181 Notification: Performance of Generate backend data structure: time 0.01225/0.4989, allocations: 4.266 MB / 471.1 MB, free: 13.78 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.387e-05/0.499, allocations: 10.31 kB / 471.1 MB, free: 13.78 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007536/0.5065, allocations: 1.769 MB / 472.9 MB, free: 13.48 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003502/0.51, allocations: 1.339 MB / 474.2 MB, free: 12.62 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001564/0.5102, allocations: 149.4 kB / 474.4 MB, free: 12.55 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005357/0.5108, allocations: 194.4 kB / 474.6 MB, free: 12.48 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01694/0.5277, allocations: 8.2 MB / 482.8 MB, free: 8.867 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.031e-05/0.5278, allocations: 17.08 kB / 482.8 MB, free: 8.859 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003098/0.5281, allocations: 96.98 kB / 482.9 MB, free: 8.793 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003715/0.5318, allocations: 1.921 MB / 484.8 MB, free: 8.398 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01871/0.5506, allocations: 7.431 MB / 492.2 MB, free: 5.551 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04214/0.5928, allocations: 24.9 MB / 0.505 GB, free: 12.15 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005934/0.5988, allocations: 2.418 MB / 0.5074 GB, free: 9.617 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001467/0.6003, allocations: 0.8598 MB / 0.5082 GB, free: 8.758 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006801/0.6071, allocations: 4.436 MB / 0.5126 GB, free: 3.902 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.513e-05/0.6071, allocations: 47.56 kB / 0.5126 GB, free: 3.844 MB / 382.1 MB Notification: Performance of pre-optimization done (n=130): time 3.246e-06/0.6072, allocations: 3.938 kB / 0.5126 GB, free: 3.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=144): time 0.01128/0.6184, allocations: 4.644 MB / 0.5171 GB, free: 15.19 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.489e-05/0.6185, allocations: 68.34 kB / 0.5172 GB, free: 15.11 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005197/0.6237, allocations: 2.488 MB / 0.5196 GB, free: 12.59 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003679/0.6242, allocations: 45.7 kB / 0.5197 GB, free: 12.54 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002175/0.6263, allocations: 2.074 MB / 0.5217 GB, free: 10.43 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008666/0.6272, allocations: 0.5281 MB / 0.5222 GB, free: 9.898 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001189/0.6284, allocations: 0.7461 MB / 0.5229 GB, free: 9.145 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001345/0.6286, allocations: 305.1 kB / 0.5232 GB, free: 8.844 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002135/0.6307, allocations: 1.233 MB / 0.5244 GB, free: 7.609 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003388/0.6341, allocations: 3.298 MB / 0.5277 GB, free: 3.301 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006531/0.6407, allocations: 4.885 MB / 0.5324 GB, free: 13.41 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.435e-05/0.6407, allocations: 24 kB / 0.5325 GB, free: 13.38 MB / 414.1 MB Notification: Performance of matching and sorting (n=483) (initialization): time 0.008549/0.6493, allocations: 4.656 MB / 0.537 GB, free: 8.723 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.701e-05/0.6494, allocations: 36 kB / 0.537 GB, free: 8.688 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.455e-05/0.6495, allocations: 72 kB / 0.5371 GB, free: 8.617 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006214/0.6501, allocations: 230.7 kB / 0.5373 GB, free: 8.391 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002527/0.6526, allocations: 0.8227 MB / 0.5381 GB, free: 7.566 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003212/0.6558, allocations: 2.621 MB / 0.5407 GB, free: 4.801 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003031/0.6589, allocations: 187.9 kB / 0.5409 GB, free: 4.617 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003895/0.6593, allocations: 224 kB / 0.5411 GB, free: 4.398 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 329 * Number of states: 0 () * Number of discrete variables: 21 (worldForce.arrowTorque.twoHeadedArrow,worldForce.arrowTorque.headAtOrigin,worldForce.arrowForce.twoHeadedArrow,worldForce.arrowForce.headAtOrigin,cutForce.arrowForce.twoHeadedArrow,cutForce.arrowForce.headAtOrigin,worldForce.color[3],worldForce.color[2],worldForce.color[1],cutForce.forceColor[3],cutForce.forceColor[2],cutForce.forceColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[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 (445): * Single equations (assignments): 440 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003193/0.6625, allocations: 1.568 MB / 0.5426 GB, free: 2.812 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004245/0.6629, allocations: 217.1 kB / 0.5428 GB, free: 2.598 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003471/0.6664, allocations: 1.948 MB / 0.5447 GB, free: 0.6406 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001101/0.6665, allocations: 27.98 kB / 0.5448 GB, free: 0.6133 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/0.6665, allocations: 64 / 0.5448 GB, free: 0.6133 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.358e-05/0.6666, allocations: 11.98 kB / 0.5448 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01048/0.677, allocations: 5.84 MB / 0.5505 GB, free: 10.62 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.057e-06/0.6771, allocations: 4.438 kB / 0.5505 GB, free: 10.61 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009195/0.678, allocations: 219.7 kB / 0.5507 GB, free: 10.4 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004087/0.6784, allocations: 128.8 kB / 0.5508 GB, free: 10.27 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.727e-05/0.6785, allocations: 35.97 kB / 0.5508 GB, free: 10.23 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002644/0.6812, allocations: 2.291 MB / 0.5531 GB, free: 7.809 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/0.6812, allocations: 8.031 kB / 0.5531 GB, free: 7.801 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004884/0.6861, allocations: 3.059 MB / 0.5561 GB, free: 4.676 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007806/0.6869, allocations: 286.3 kB / 0.5563 GB, free: 4.375 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000265/0.6872, allocations: 35.97 kB / 0.5564 GB, free: 4.34 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008068/0.688, allocations: 67.98 kB / 0.5564 GB, free: 4.273 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002246/0.6882, allocations: 96.73 kB / 0.5565 GB, free: 4.176 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.489e-05/0.6883, allocations: 43.98 kB / 0.5566 GB, free: 4.133 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002512/0.6908, allocations: 1.6 MB / 0.5581 GB, free: 2.516 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.6909, allocations: 4 kB / 0.5581 GB, free: 2.512 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002963/0.6938, allocations: 0.6524 MB / 0.5588 GB, free: 1.859 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (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 (109): * Single equations (assignments): 104 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003544/0.6942, allocations: 159 kB / 0.5589 GB, free: 1.695 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005453/0.6996, allocations: 3.005 MB / 0.5619 GB, free: 14.7 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.957e-06/0.6997, allocations: 4 kB / 0.5619 GB, free: 14.7 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001615/0.7013, allocations: 1.009 MB / 0.5629 GB, free: 13.68 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002404/0.7037, allocations: 380.6 kB / 0.5632 GB, free: 13.31 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01465/0.7184, allocations: 8.303 MB / 0.5713 GB, free: 4.926 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002803/0.7212, allocations: 2.602 MB / 0.5739 GB, free: 2.289 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000901/0.7222, allocations: 199.4 kB / 0.5741 GB, free: 2.094 MB / 446.1 MB Notification: Performance of SimCode: time 1.893e-06/0.7222, allocations: 4 kB / 0.5741 GB, free: 2.09 MB / 446.1 MB Notification: Performance of Templates: time 0.3144/1.037, allocations: 56.03 MB / 0.6288 GB, free: 105.2 MB / 446.1 MB make -j1 -f PlanarMechanics_PlanarMechanics.Examples.PendulumExcited.makefile make -j1 -f PlanarMechanics_PlanarMechanics.Examples.PendulumExcited.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.PendulumExcitedCalcHelperMain.o OMCppPlanarMechanics_PlanarMechanics.Examples.PendulumExcitedCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPlanarMechanics_PlanarMechanics.Examples.PendulumExcitedCalcHelperMain.o] Error 1