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.0008147/0.0008194, allocations: 98.8 kB / 16.02 MB, free: 76 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.001045/0.001045, allocations: 188.3 kB / 16.92 MB, free: 6.75 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.555/1.555, allocations: 223.3 MB / 241 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.1869/0.1869, allocations: 9.1 MB / 301.2 MB, free: 2.773 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000379/0.000379, allocations: 8 kB / 364.4 MB, free: 12.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.132/0.1324, allocations: 52.42 MB / 416.8 MB, free: 8.191 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.PendulumExcited): time 0.3159/0.4483, allocations: 30.08 MB / 446.9 MB, free: 25.44 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01728/0.4657, allocations: 6.797 MB / 453.7 MB, free: 21.8 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007339/0.473, allocations: 111.6 kB / 453.8 MB, free: 21.79 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001336/0.4744, allocations: 312.2 kB / 454.1 MB, free: 21.68 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004043/0.4785, allocations: 1.281 MB / 455.3 MB, free: 21.1 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004844/0.479, allocations: 131.5 kB / 455.5 MB, free: 21.03 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004053/0.483, allocations: 3.484 MB / 459 MB, free: 19.83 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001336/0.4844, allocations: 0.886 MB / 459.8 MB, free: 19.5 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001188/0.4856, allocations: 0.7607 MB / 460.6 MB, free: 19.2 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001515/0.4871, allocations: 1.304 MB / 461.9 MB, free: 18.75 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002731/0.4874, allocations: 128.4 kB / 462 MB, free: 18.75 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001381/0.4888, allocations: 0.7723 MB / 462.8 MB, free: 18.56 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009152/0.4897, allocations: 1.145 MB / 464 MB, free: 18.16 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001141/0.4909, allocations: 1.503 MB / 465.5 MB, free: 17.06 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003148/0.494, allocations: 3.736 MB / 469.2 MB, free: 16.21 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.494, allocations: 0 / 469.2 MB, free: 16.21 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.494, allocations: 0 / 469.2 MB, free: 16.21 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.898e-05/0.4941, allocations: 0 / 469.2 MB, free: 16.21 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.008692/0.5028, allocations: 3.649 MB / 472.8 MB, free: 14.53 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.304e-05/0.5029, allocations: 13.48 kB / 472.9 MB, free: 14.53 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008724/0.5116, allocations: 1.801 MB / 474.7 MB, free: 14.23 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004538/0.5162, allocations: 1.343 MB / 476 MB, free: 13.36 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002285/0.5165, allocations: 153 kB / 476.1 MB, free: 13.29 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009267/0.5174, allocations: 195.5 kB / 476.3 MB, free: 13.22 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01577/0.5332, allocations: 8.197 MB / 484.5 MB, free: 9.613 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.26e-05/0.5333, allocations: 17.52 kB / 484.6 MB, free: 9.605 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002899/0.5336, allocations: 93.73 kB / 484.6 MB, free: 9.539 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003792/0.5374, allocations: 1.921 MB / 486.6 MB, free: 9.145 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01996/0.5574, allocations: 7.441 MB / 494 MB, free: 6.195 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04477/0.6022, allocations: 24.93 MB / 0.5068 GB, free: 12.76 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006228/0.6085, allocations: 2.416 MB / 0.5091 GB, free: 10.22 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001698/0.6102, allocations: 0.8716 MB / 0.51 GB, free: 9.352 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007581/0.6178, allocations: 4.438 MB / 0.5143 GB, free: 4.496 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.551e-05/0.6179, allocations: 39.56 kB / 0.5144 GB, free: 4.445 MB / 382.1 MB Notification: Performance of pre-optimization done (n=130): time 4.047e-06/0.6179, allocations: 0 / 0.5144 GB, free: 4.445 MB / 382.1 MB Notification: Performance of matching and sorting (n=144): time 0.01305/0.631, allocations: 4.683 MB / 0.5189 GB, free: 15.76 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.867e-05/0.6311, allocations: 64.41 kB / 0.519 GB, free: 15.68 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005083/0.6362, allocations: 2.488 MB / 0.5214 GB, free: 13.16 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001885/0.6364, allocations: 41.7 kB / 0.5215 GB, free: 13.11 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001918/0.6383, allocations: 2.07 MB / 0.5235 GB, free: 11.01 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007877/0.6391, allocations: 0.5359 MB / 0.524 GB, free: 10.47 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005324/0.6396, allocations: 317.7 kB / 0.5243 GB, free: 10.15 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000175/0.6398, allocations: 301.1 kB / 0.5246 GB, free: 9.855 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002461/0.6423, allocations: 1.245 MB / 0.5258 GB, free: 8.609 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003882/0.6462, allocations: 3.302 MB / 0.529 GB, free: 4.297 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006626/0.6528, allocations: 4.904 MB / 0.5338 GB, free: 14.39 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.95e-05/0.6529, allocations: 20 kB / 0.5338 GB, free: 14.37 MB / 414.1 MB Notification: Performance of matching and sorting (n=483) (initialization): time 0.008822/0.6617, allocations: 4.646 MB / 0.5384 GB, free: 9.715 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.592e-05/0.6618, allocations: 43.98 kB / 0.5384 GB, free: 9.672 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.369e-05/0.6619, allocations: 72 kB / 0.5385 GB, free: 9.602 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005732/0.6625, allocations: 220.8 kB / 0.5387 GB, free: 9.383 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00252/0.665, allocations: 0.8343 MB / 0.5395 GB, free: 8.547 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003201/0.6682, allocations: 2.641 MB / 0.5421 GB, free: 5.762 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00357/0.6718, allocations: 195.9 kB / 0.5423 GB, free: 5.57 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007991/0.6726, allocations: 216 kB / 0.5425 GB, free: 5.359 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.004348/0.677, allocations: 1.582 MB / 0.544 GB, free: 3.762 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005894/0.6776, allocations: 213.2 kB / 0.5442 GB, free: 3.551 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004111/0.6817, allocations: 1.952 MB / 0.5461 GB, free: 1.59 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001119/0.6818, allocations: 27.98 kB / 0.5462 GB, free: 1.562 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.253e-05/0.6819, allocations: 0 / 0.5462 GB, free: 1.562 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.519e-05/0.6819, allocations: 3.984 kB / 0.5462 GB, free: 1.559 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01358/0.6955, allocations: 5.852 MB / 0.5519 GB, free: 11.56 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.496e-05/0.6955, allocations: 4 kB / 0.5519 GB, free: 11.56 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009442/0.6965, allocations: 224.1 kB / 0.5521 GB, free: 11.34 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004226/0.6969, allocations: 136.7 kB / 0.5522 GB, free: 11.2 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001259/0.6971, allocations: 27.98 kB / 0.5523 GB, free: 11.18 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002653/0.6997, allocations: 2.301 MB / 0.5545 GB, free: 8.738 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-06/0.6997, allocations: 4 kB / 0.5545 GB, free: 8.734 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005161/0.7049, allocations: 3.083 MB / 0.5575 GB, free: 5.586 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001063/0.706, allocations: 298.3 kB / 0.5578 GB, free: 5.273 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006621/0.7067, allocations: 23.98 kB / 0.5578 GB, free: 5.25 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001291/0.708, allocations: 75.91 kB / 0.5579 GB, free: 5.176 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002492/0.7082, allocations: 92.81 kB / 0.558 GB, free: 5.082 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001073/0.7084, allocations: 43.98 kB / 0.558 GB, free: 5.039 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002949/0.7113, allocations: 1.6 MB / 0.5596 GB, free: 3.422 MB / 430.1 MB Notification: Performance of sort global known variables: time 2e-07/0.7113, allocations: 0 / 0.5596 GB, free: 3.422 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0039/0.7152, allocations: 0.6602 MB / 0.5602 GB, free: 2.762 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.0004338/0.7157, allocations: 159.1 kB / 0.5604 GB, free: 2.598 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005359/0.7211, allocations: 3.018 MB / 0.5633 GB, free: 15.59 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/0.7211, allocations: 0.9375 kB / 0.5633 GB, free: 15.59 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001502/0.7226, allocations: 1.016 MB / 0.5643 GB, free: 14.56 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003237/0.7258, allocations: 387.6 kB / 0.5647 GB, free: 14.19 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01442/0.7403, allocations: 8.37 MB / 0.5729 GB, free: 5.742 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002801/0.7431, allocations: 2.598 MB / 0.5754 GB, free: 3.109 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008537/0.744, allocations: 203.4 kB / 0.5756 GB, free: 2.91 MB / 446.1 MB Notification: Performance of SimCode: time 1.483e-06/0.744, allocations: 0 / 0.5756 GB, free: 2.91 MB / 446.1 MB Notification: Performance of Templates: time 0.3573/1.101, allocations: 55.39 MB / 0.6297 GB, free: 103.6 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