Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.Examples.Pendulum.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.Pendulum,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.Pendulum") translateModel(PlanarMechanics.Examples.Pendulum,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.Pendulum") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001072/0.001072, allocations: 101.8 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.001921/0.001921, allocations: 178.3 kB / 16.58 MB, free: 6.141 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.613/1.613, allocations: 223.3 MB / 240.6 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo): time 0.2538/0.2538, allocations: 9.099 MB / 300.8 MB, free: 2.77 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003946/0.0003948, allocations: 12 kB / 363.7 MB, free: 13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1112/0.1116, allocations: 52.44 MB / 416.2 MB, free: 8.52 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.Pendulum): time 0.2699/0.3815, allocations: 16.41 MB / 432.6 MB, free: 34.25 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01007/0.3917, allocations: 4.218 MB / 436.8 MB, free: 33.45 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004191/0.3959, allocations: 64.78 kB / 436.8 MB, free: 33.44 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003075/0.399, allocations: 0.785 MB / 437.6 MB, free: 33.18 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00789/0.4069, allocations: 2.912 MB / 440.5 MB, free: 32.06 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006007/0.4076, allocations: 80.84 kB / 440.6 MB, free: 32.01 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002265/0.4098, allocations: 2.377 MB / 443 MB, free: 31.12 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006903/0.4105, allocations: 0.637 MB / 443.6 MB, free: 30.9 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006395/0.4112, allocations: 0.6664 MB / 444.3 MB, free: 30.68 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001114/0.4123, allocations: 1.114 MB / 445.4 MB, free: 30.32 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001871/0.4125, allocations: 110.4 kB / 445.5 MB, free: 30.32 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001087/0.4136, allocations: 0.6416 MB / 446.2 MB, free: 30.19 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006715/0.4143, allocations: 0.9633 MB / 447.1 MB, free: 29.87 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003573/0.4147, allocations: 0.5604 MB / 447.7 MB, free: 29.44 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002456/0.4171, allocations: 3.313 MB / 451 MB, free: 28.69 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.4171, allocations: 0 / 451 MB, free: 28.69 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.033e-06/0.4171, allocations: 3.938 kB / 451 MB, free: 28.69 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.328e-05/0.4172, allocations: 0 / 451 MB, free: 28.69 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: 1017 * Number of variables: 1017 Notification: Performance of Generate backend data structure: time 0.005791/0.423, allocations: 2.839 MB / 453.8 MB, free: 27.22 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.4231, allocations: 9.406 kB / 453.9 MB, free: 27.22 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005932/0.429, allocations: 1.758 MB / 455.6 MB, free: 26.95 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002523/0.4315, allocations: 1.173 MB / 456.8 MB, free: 26.2 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.152e-05/0.4317, allocations: 120.1 kB / 456.9 MB, free: 26.14 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003236/0.432, allocations: 159 kB / 457.1 MB, free: 26.08 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01208/0.4441, allocations: 7.194 MB / 464.3 MB, free: 22.92 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.193e-05/0.4442, allocations: 17.17 kB / 464.3 MB, free: 22.91 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002792/0.4445, allocations: 77.28 kB / 464.3 MB, free: 22.86 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003591/0.4481, allocations: 1.738 MB / 466.1 MB, free: 22.5 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01825/0.4663, allocations: 6.555 MB / 472.6 MB, free: 20.23 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04102/0.5074, allocations: 21.19 MB / 493.8 MB, free: 5.082 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004364/0.5118, allocations: 2.014 MB / 495.8 MB, free: 3.5 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00112/0.513, allocations: 0.6714 MB / 496.5 MB, free: 2.828 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005612/0.5186, allocations: 3.286 MB / 499.8 MB, free: 15.27 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.576e-05/0.5187, allocations: 39.22 kB / 499.8 MB, free: 15.23 MB / 366.1 MB Notification: Performance of pre-optimization done (n=106): time 4.418e-06/0.5187, allocations: 0 / 499.8 MB, free: 15.23 MB / 366.1 MB Notification: Performance of matching and sorting (n=120): time 0.0132/0.5319, allocations: 5.513 MB / 0.4935 GB, free: 9.617 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.982e-05/0.532, allocations: 68.39 kB / 0.4936 GB, free: 9.539 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004639/0.5367, allocations: 2.254 MB / 0.4958 GB, free: 7.238 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00014/0.5369, allocations: 41.7 kB / 0.4958 GB, free: 7.191 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001913/0.5388, allocations: 1.833 MB / 0.4976 GB, free: 5.328 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006175/0.5394, allocations: 461.9 kB / 0.498 GB, free: 4.871 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002594/0.5397, allocations: 68 kB / 0.4981 GB, free: 4.805 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0003561/0.54, allocations: 445.1 kB / 0.4985 GB, free: 4.363 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002389/0.5424, allocations: 1.088 MB / 0.4996 GB, free: 3.273 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003466/0.5459, allocations: 2.955 MB / 0.5025 GB, free: 15.4 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003442/0.5494, allocations: 1.799 MB / 0.5042 GB, free: 13.61 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.606e-05/0.5495, allocations: 20 kB / 0.5043 GB, free: 13.59 MB / 382.1 MB Notification: Performance of matching and sorting (n=430) (initialization): time 0.008492/0.558, allocations: 4.116 MB / 0.5083 GB, free: 9.461 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.037e-05/0.5581, allocations: 32 kB / 0.5083 GB, free: 9.43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001219/0.5582, allocations: 67.95 kB / 0.5084 GB, free: 9.363 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005868/0.5588, allocations: 220.7 kB / 0.5086 GB, free: 9.145 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002435/0.5613, allocations: 0.7213 MB / 0.5093 GB, free: 8.422 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003286/0.5646, allocations: 2.468 MB / 0.5117 GB, free: 5.812 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00255/0.5671, allocations: 168 kB / 0.5119 GB, free: 5.648 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004536/0.5676, allocations: 196 kB / 0.512 GB, free: 5.457 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 298 * Number of states: 0 () * Number of discrete variables: 9 (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 (395): * Single equations (assignments): 390 * 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 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003096/0.5707, allocations: 1.425 MB / 0.5134 GB, free: 4.02 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004907/0.5712, allocations: 189.6 kB / 0.5136 GB, free: 3.832 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003276/0.5745, allocations: 1.615 MB / 0.5152 GB, free: 2.207 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.495e-05/0.5746, allocations: 23.98 kB / 0.5152 GB, free: 2.184 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.318e-05/0.5746, allocations: 4 kB / 0.5152 GB, free: 2.18 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.269e-05/0.5747, allocations: 7.984 kB / 0.5152 GB, free: 2.172 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01002/0.5847, allocations: 4.866 MB / 0.52 GB, free: 13.19 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.141e-05/0.5847, allocations: 4 kB / 0.52 GB, free: 13.18 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006735/0.5854, allocations: 167.7 kB / 0.5201 GB, free: 13.02 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003435/0.5858, allocations: 113 kB / 0.5202 GB, free: 12.91 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.283e-05/0.5859, allocations: 27.98 kB / 0.5203 GB, free: 12.88 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00219/0.5881, allocations: 1.999 MB / 0.5222 GB, free: 10.75 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/0.5881, allocations: 0 / 0.5222 GB, free: 10.75 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004005/0.5921, allocations: 2.544 MB / 0.5247 GB, free: 8.145 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009117/0.593, allocations: 278.7 kB / 0.525 GB, free: 7.852 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005287/0.5936, allocations: 28.05 kB / 0.525 GB, free: 7.824 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009318/0.5945, allocations: 56 kB / 0.5251 GB, free: 7.77 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001332/0.5947, allocations: 68.81 kB / 0.5251 GB, free: 7.703 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.011e-05/0.5948, allocations: 35.98 kB / 0.5252 GB, free: 7.668 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.003091/0.5979, allocations: 1.457 MB / 0.5266 GB, free: 6.188 MB / 398.1 MB Notification: Performance of sort global known variables: time 5.21e-07/0.5979, allocations: 0 / 0.5266 GB, free: 6.188 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00338/0.6013, allocations: 0.5625 MB / 0.5271 GB, free: 5.625 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (88): * Single equations (assignments): 83 * 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 {(1,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004444/0.6017, allocations: 151.6 kB / 0.5273 GB, free: 5.469 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004847/0.6066, allocations: 2.622 MB / 0.5298 GB, free: 2.848 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 8.926e-06/0.6066, allocations: 0 / 0.5298 GB, free: 2.848 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001262/0.6079, allocations: 0.8246 MB / 0.5306 GB, free: 2.008 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002318/0.6102, allocations: 321.6 kB / 0.5309 GB, free: 1.699 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01391/0.6241, allocations: 7.011 MB / 0.5378 GB, free: 10.62 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00349/0.6277, allocations: 2.362 MB / 0.5401 GB, free: 8.227 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008389/0.6286, allocations: 171.4 kB / 0.5403 GB, free: 8.059 MB / 414.1 MB Notification: Performance of SimCode: time 2.013e-06/0.6286, allocations: 0 / 0.5403 GB, free: 8.059 MB / 414.1 MB Notification: Performance of Templates: time 0.3364/0.965, allocations: 48.89 MB / 0.588 GB, free: 123.6 MB / 446.1 MB make -j1 -f PlanarMechanics_PlanarMechanics.Examples.Pendulum.makefile make -j1 -f PlanarMechanics_PlanarMechanics.Examples.Pendulum.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.PendulumCalcHelperMain.o OMCppPlanarMechanics_PlanarMechanics.Examples.PendulumCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPlanarMechanics_PlanarMechanics.Examples.PendulumCalcHelperMain.o] Error 1