Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.Examples.KinematicLoop.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.KinematicLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.KinematicLoop") translateModel(PlanarMechanics.Examples.KinematicLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.KinematicLoop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001014/0.001014, allocations: 92.39 kB / 16.02 MB, free: 80 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.001474/0.001474, allocations: 181.7 kB / 16.92 MB, free: 6.652 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.487/1.487, allocations: 223.2 MB / 240.9 MB, free: 5.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo): time 0.2615/0.2615, allocations: 9.103 MB / 301.2 MB, free: 2.625 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003711/0.0003711, allocations: 8 kB / 364.3 MB, free: 12.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1459/0.1463, allocations: 52.43 MB / 416.8 MB, free: 8.141 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.KinematicLoop): time 0.3421/0.4885, allocations: 43.02 MB / 459.8 MB, free: 16.53 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02512/0.5136, allocations: 9.199 MB / 469 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0116/0.5253, allocations: 168.9 kB / 469.2 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001354/0.5267, allocations: 369.9 kB / 469.5 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004451/0.5311, allocations: 1.479 MB / 471 MB, free: 9.598 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005867/0.5317, allocations: 178.6 kB / 471.2 MB, free: 9.496 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004674/0.5364, allocations: 4.072 MB / 475.3 MB, free: 8.055 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001788/0.5382, allocations: 1.058 MB / 476.3 MB, free: 7.656 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001574/0.5398, allocations: 0.9249 MB / 477.2 MB, free: 7.285 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002012/0.5418, allocations: 1.529 MB / 478.8 MB, free: 6.734 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003907/0.5422, allocations: 162.4 kB / 478.9 MB, free: 6.73 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001739/0.544, allocations: 0.7954 MB / 479.7 MB, free: 6.543 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001436/0.5454, allocations: 1.312 MB / 481 MB, free: 6.074 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001866/0.5473, allocations: 1.764 MB / 482.8 MB, free: 4.809 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006224/0.5535, allocations: 4.178 MB / 487 MB, free: 3.832 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.5535, allocations: 0 / 487 MB, free: 3.832 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.829e-06/0.5536, allocations: 0.9688 kB / 487 MB, free: 3.832 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002079/0.5538, allocations: 4 kB / 487 MB, free: 3.828 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: 1368 * Number of variables: 1368 Notification: Performance of Generate backend data structure: time 0.01615/0.5699, allocations: 4.973 MB / 491.9 MB, free: 1.898 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.609e-05/0.57, allocations: 10.69 kB / 492 MB, free: 1.898 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008972/0.579, allocations: 1.869 MB / 493.8 MB, free: 1.566 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005516/0.5845, allocations: 1.562 MB / 495.4 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003601/0.5849, allocations: 185.6 kB / 495.6 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001862/0.5868, allocations: 246.8 kB / 495.8 MB, free: 428 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02156/0.6084, allocations: 9.315 MB / 0.4933 GB, free: 10.66 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001097/0.6085, allocations: 27.72 kB / 0.4933 GB, free: 10.63 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004034/0.6089, allocations: 111.9 kB / 0.4934 GB, free: 10.52 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003793/0.6127, allocations: 2.08 MB / 0.4955 GB, free: 8.441 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02038/0.6331, allocations: 8.246 MB / 0.5035 GB, free: 192 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06089/0.6941, allocations: 30.04 MB / 0.5328 GB, free: 1.52 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009819/0.7039, allocations: 3.043 MB / 0.5358 GB, free: 14.36 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002566/0.7066, allocations: 1.108 MB / 0.5369 GB, free: 13.25 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01191/0.7185, allocations: 6.277 MB / 0.543 GB, free: 6.312 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.795e-05/0.7186, allocations: 51.81 kB / 0.5431 GB, free: 6.254 MB / 414.1 MB Notification: Performance of pre-optimization done (n=179): time 5.22e-06/0.7186, allocations: 0 / 0.5431 GB, free: 6.254 MB / 414.1 MB Notification: Performance of matching and sorting (n=233): time 0.0255/0.7441, allocations: 8.333 MB / 0.5512 GB, free: 13.85 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.854e-05/0.7443, allocations: 81.33 kB / 0.5513 GB, free: 13.76 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006591/0.7509, allocations: 3.065 MB / 0.5543 GB, free: 10.67 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000269/0.7511, allocations: 57.7 kB / 0.5543 GB, free: 10.61 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00243/0.7536, allocations: 2.424 MB / 0.5567 GB, free: 8.152 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001113/0.7547, allocations: 0.8479 MB / 0.5575 GB, free: 7.293 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009143/0.7556, allocations: 417 kB / 0.5579 GB, free: 6.879 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001716/0.7558, allocations: 301.1 kB / 0.5582 GB, free: 6.582 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003369/0.7592, allocations: 1.642 MB / 0.5598 GB, free: 4.934 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005749/0.765, allocations: 4.252 MB / 0.564 GB, free: 15.39 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01025/0.7752, allocations: 6.387 MB / 0.5702 GB, free: 7.742 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001254/0.7754, allocations: 28 kB / 0.5702 GB, free: 7.715 MB / 446.1 MB Notification: Performance of matching and sorting (n=659) (initialization): time 0.01618/0.7916, allocations: 6.48 MB / 0.5766 GB, free: 1.211 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001782/0.7918, allocations: 44 kB / 0.5766 GB, free: 1.168 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002355/0.792, allocations: 95.94 kB / 0.5767 GB, free: 1.074 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001992/0.7941, allocations: 0.7002 MB / 0.5774 GB, free: 368 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.2695/1.064, allocations: 1.052 MB / 0.5784 GB, free: 122.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01191/1.075, allocations: 11.12 MB / 0.5893 GB, free: 117 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004349/1.08, allocations: 255 kB / 0.5895 GB, free: 117 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006029/1.081, allocations: 293.2 kB / 0.5898 GB, free: 117 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 413 * Number of states: 0 () * Number of discrete variables: 27 (fixedTranslation3.color[3],fixedTranslation3.color[2],fixedTranslation3.color[1],fixedTranslation2.color[3],fixedTranslation2.color[2],fixedTranslation2.color[1],fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],revolute4.cylinderColor[3],revolute4.cylinderColor[2],revolute4.cylinderColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],revolute3.cylinderColor[3],revolute3.cylinderColor[2],revolute3.cylinderColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (583): * Single equations (assignments): 574 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,8,100.0%), (2,17,100.0%), (2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,10)} Notification: Performance of prepare postOptimizeDAE: time 0.00325/1.084, allocations: 1.793 MB / 0.5915 GB, free: 116.6 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004796/1.084, allocations: 282.9 kB / 0.5918 GB, free: 116.6 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005138/1.089, allocations: 3.128 MB / 0.5949 GB, free: 115.4 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001075/1.09, allocations: 33.7 kB / 0.5949 GB, free: 115.4 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.16e-05/1.09, allocations: 5.562 kB / 0.5949 GB, free: 115.4 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-05/1.09, allocations: 10.73 kB / 0.5949 GB, free: 115.4 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01381/1.103, allocations: 8.326 MB / 0.603 GB, free: 112.1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.311e-05/1.103, allocations: 3.281 kB / 0.603 GB, free: 112.1 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001084/1.105, allocations: 296.2 kB / 0.6033 GB, free: 112.1 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001237/1.106, allocations: 0.5414 MB / 0.6039 GB, free: 112 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001144/1.106, allocations: 46.41 kB / 0.6039 GB, free: 111.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008035/1.114, allocations: 9.178 MB / 0.6129 GB, free: 105.2 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/1.114, allocations: 3 kB / 0.6129 GB, free: 105.2 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007247/1.121, allocations: 4.692 MB / 0.6175 GB, free: 103.4 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001101/1.122, allocations: 367.8 kB / 0.6178 GB, free: 103.1 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00032/1.123, allocations: 39.78 kB / 0.6178 GB, free: 103.1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001137/1.124, allocations: 95.69 kB / 0.6179 GB, free: 103.1 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003256/1.124, allocations: 155.6 kB / 0.6181 GB, free: 103 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001331/1.124, allocations: 63.59 kB / 0.6181 GB, free: 103 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003365/1.128, allocations: 1.959 MB / 0.6201 GB, free: 102.3 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.11e-07/1.128, allocations: 1.75 kB / 0.6201 GB, free: 102.3 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005273/1.133, allocations: 0.9073 MB / 0.6209 GB, free: 102.2 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 4 (revolute1.phi,revolute1.w,revolute4.phi,revolute4.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 (170): * Single equations (assignments): 161 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,6,100.0%), (2,15,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005235/1.134, allocations: 185.6 kB / 0.6211 GB, free: 102.1 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.008795/1.142, allocations: 4.682 MB / 0.6257 GB, free: 100.1 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.006e-05/1.142, allocations: 1.344 kB / 0.6257 GB, free: 100.1 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003493/1.146, allocations: 1.975 MB / 0.6276 GB, free: 99.05 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005197/1.151, allocations: 444.4 kB / 0.628 GB, free: 98.87 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01898/1.17, allocations: 10.29 MB / 0.6381 GB, free: 93.08 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004655/1.175, allocations: 2.928 MB / 0.641 GB, free: 91.84 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001094/1.176, allocations: 250.1 kB / 0.6412 GB, free: 91.82 MB / 446.1 MB Notification: Performance of SimCode: time 1.553e-06/1.176, allocations: 0 / 0.6412 GB, free: 91.82 MB / 446.1 MB Notification: Performance of Templates: time 0.425/1.601, allocations: 138.8 MB / 0.7768 GB, free: 126.6 MB / 462.1 MB make -j1 -f PlanarMechanics_PlanarMechanics.Examples.KinematicLoop.makefile make -j1 -f PlanarMechanics_PlanarMechanics.Examples.KinematicLoop.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.KinematicLoopCalcHelperMain.o OMCppPlanarMechanics_PlanarMechanics.Examples.KinematicLoopCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPlanarMechanics_PlanarMechanics.Examples.KinematicLoopCalcHelperMain.o] Error 1