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.0008902/0.0008903, allocations: 100.5 kB / 15.71 MB, free: 452 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.00107/0.00107, allocations: 174.9 kB / 16.58 MB, free: 6.422 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.553/1.553, allocations: 223.3 MB / 240.6 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo): time 0.2327/0.2327, allocations: 9.099 MB / 300.8 MB, free: 2.77 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004015/0.0004015, allocations: 8 kB / 363.7 MB, free: 13.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1488/0.1493, allocations: 52.43 MB / 416.2 MB, free: 8.547 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.KinematicLoop): time 0.3386/0.4879, allocations: 40.04 MB / 456.2 MB, free: 19.5 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02145/0.5094, allocations: 8.885 MB / 465.1 MB, free: 13.29 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009839/0.5193, allocations: 162.5 kB / 465.2 MB, free: 13.27 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007751/0.5271, allocations: 1.982 MB / 467.2 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02261/0.5497, allocations: 6.855 MB / 474.1 MB, free: 9.535 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002526/0.5523, allocations: 200.7 kB / 474.3 MB, free: 9.422 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004583/0.5569, allocations: 3.29 MB / 477.6 MB, free: 8.117 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00177/0.5587, allocations: 1.047 MB / 478.6 MB, free: 7.738 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001658/0.5604, allocations: 0.959 MB / 479.6 MB, free: 7.395 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00213/0.5625, allocations: 1.513 MB / 481.1 MB, free: 6.875 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004822/0.563, allocations: 158.5 kB / 481.2 MB, free: 6.875 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001785/0.5648, allocations: 0.6945 MB / 481.9 MB, free: 6.73 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001764/0.5666, allocations: 1.261 MB / 483.2 MB, free: 6.297 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009398/0.5675, allocations: 0.7424 MB / 483.9 MB, free: 5.758 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006559/0.5741, allocations: 4.175 MB / 488.1 MB, free: 4.785 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.885e-06/0.5741, allocations: 1.031 kB / 488.1 MB, free: 4.785 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.545e-06/0.5741, allocations: 3.938 kB / 488.1 MB, free: 4.781 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.000196/0.5743, allocations: 0 / 488.1 MB, free: 4.781 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.0141/0.5884, allocations: 5.014 MB / 493.1 MB, free: 2.234 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.5885, allocations: 9.906 kB / 493.1 MB, free: 2.234 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007752/0.5963, allocations: 1.87 MB / 495 MB, free: 1.25 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004271/0.6006, allocations: 1.534 MB / 496.5 MB, free: 160 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001715/0.6008, allocations: 192.4 kB / 496.7 MB, free: 60 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006109/0.6014, allocations: 247.9 kB / 497 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01757/0.619, allocations: 9.289 MB / 0.4944 GB, free: 9.32 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.926e-05/0.6191, allocations: 23.81 kB / 0.4944 GB, free: 9.297 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003663/0.6195, allocations: 124.4 kB / 0.4945 GB, free: 9.18 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003434/0.6229, allocations: 2.076 MB / 0.4966 GB, free: 7.102 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01798/0.6409, allocations: 8.206 MB / 0.5046 GB, free: 14.89 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04998/0.6909, allocations: 30.02 MB / 0.5339 GB, free: 240 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00802/0.699, allocations: 3.025 MB / 0.5368 GB, free: 13.09 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001889/0.7009, allocations: 1.104 MB / 0.5379 GB, free: 11.99 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009087/0.71, allocations: 6.285 MB / 0.5441 GB, free: 5.047 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.799e-05/0.7101, allocations: 47.88 kB / 0.5441 GB, free: 4.992 MB / 414.1 MB Notification: Performance of pre-optimization done (n=179): time 4.95e-06/0.7101, allocations: 0 / 0.5441 GB, free: 4.992 MB / 414.1 MB Notification: Performance of matching and sorting (n=233): time 0.02403/0.7342, allocations: 8.307 MB / 0.5522 GB, free: 12.61 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.406e-05/0.7343, allocations: 77.39 kB / 0.5523 GB, free: 12.52 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007519/0.7419, allocations: 3.045 MB / 0.5553 GB, free: 9.457 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004872/0.7424, allocations: 65.69 kB / 0.5553 GB, free: 9.387 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002262/0.7447, allocations: 2.413 MB / 0.5577 GB, free: 6.941 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001256/0.7459, allocations: 0.8479 MB / 0.5585 GB, free: 6.082 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006358/0.7466, allocations: 104 kB / 0.5586 GB, free: 5.98 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0005716/0.7472, allocations: 0.5129 MB / 0.5591 GB, free: 5.461 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003829/0.751, allocations: 1.614 MB / 0.5607 GB, free: 3.84 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006071/0.7571, allocations: 4.236 MB / 0.5648 GB, free: 14.32 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005509/0.7627, allocations: 2.613 MB / 0.5674 GB, free: 11.71 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001099/0.7628, allocations: 32 kB / 0.5674 GB, free: 11.68 MB / 446.1 MB Notification: Performance of matching and sorting (n=659) (initialization): time 0.01546/0.7783, allocations: 6.434 MB / 0.5737 GB, free: 5.219 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001144/0.7784, allocations: 49.05 kB / 0.5737 GB, free: 5.172 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001756/0.7786, allocations: 95.98 kB / 0.5738 GB, free: 5.078 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00197/0.7806, allocations: 0.7126 MB / 0.5745 GB, free: 4.352 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003967/0.7846, allocations: 1.049 MB / 0.5755 GB, free: 3.301 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2795/1.064, allocations: 11.09 MB / 0.5864 GB, free: 116.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004133/1.068, allocations: 261.9 kB / 0.5866 GB, free: 116.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007764/1.069, allocations: 291.3 kB / 0.5869 GB, free: 116.2 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 (linear and non-linear blocks): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 8,(2,100.0%) 17,(2,100.0%) 10} * Non-linear torn systems: 1 {2 10} Notification: Performance of prepare postOptimizeDAE: time 0.003555/1.073, allocations: 1.796 MB / 0.5887 GB, free: 116 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004624/1.073, allocations: 279.7 kB / 0.5889 GB, free: 116 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004717/1.078, allocations: 3.112 MB / 0.592 GB, free: 115.3 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.567e-05/1.078, allocations: 37.91 kB / 0.592 GB, free: 115.3 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.073e-05/1.078, allocations: 6.406 kB / 0.592 GB, free: 115.3 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.163e-05/1.078, allocations: 14.59 kB / 0.592 GB, free: 115.3 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01323/1.091, allocations: 8.307 MB / 0.6001 GB, free: 112.1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.4e-05/1.091, allocations: 3.844 kB / 0.6001 GB, free: 112.1 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001082/1.092, allocations: 296.3 kB / 0.6004 GB, free: 112 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001182/1.094, allocations: 0.5341 MB / 0.6009 GB, free: 111.9 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001201/1.094, allocations: 46.16 kB / 0.601 GB, free: 111.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008114/1.102, allocations: 9.172 MB / 0.6099 GB, free: 105.1 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.666e-06/1.102, allocations: 9.094 kB / 0.61 GB, free: 105.1 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008352/1.11, allocations: 4.667 MB / 0.6145 GB, free: 103.3 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001321/1.112, allocations: 364.3 kB / 0.6149 GB, free: 103 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003386/1.112, allocations: 39.84 kB / 0.6149 GB, free: 103 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009837/1.113, allocations: 94.94 kB / 0.615 GB, free: 103 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003646/1.113, allocations: 157.7 kB / 0.6151 GB, free: 103 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000135/1.113, allocations: 65.23 kB / 0.6152 GB, free: 102.9 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.005009/1.118, allocations: 1.94 MB / 0.6171 GB, free: 102.2 MB / 446.1 MB Notification: Performance of sort global known variables: time 6.81e-07/1.118, allocations: 1.031 kB / 0.6171 GB, free: 102.2 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.007475/1.126, allocations: 0.9077 MB / 0.618 GB, free: 102.1 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 (linear and non-linear blocks): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 6,(2,100.0%) 15,(2,100.0%) 6} * Non-linear torn systems: 1 {2 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.000642/1.127, allocations: 178.4 kB / 0.6181 GB, free: 102 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.008799/1.135, allocations: 4.661 MB / 0.6227 GB, free: 100 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.955e-06/1.135, allocations: 0.9688 kB / 0.6227 GB, free: 100 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002821/1.138, allocations: 1.969 MB / 0.6246 GB, free: 98.96 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002737/1.141, allocations: 449.5 kB / 0.6251 GB, free: 98.79 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01704/1.158, allocations: 9.86 MB / 0.6347 GB, free: 93.49 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003576/1.162, allocations: 2.929 MB / 0.6375 GB, free: 92.24 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001018/1.163, allocations: 255.2 kB / 0.6378 GB, free: 92.22 MB / 446.1 MB Notification: Performance of SimCode: time 1.162e-06/1.163, allocations: 0 / 0.6378 GB, free: 92.22 MB / 446.1 MB Notification: Performance of Templates: time 0.4393/1.602, allocations: 138.9 MB / 0.7735 GB, free: 129.2 MB / 462.1 MB make -j1 -f PlanarMechanics_PlanarMechanics.Examples.KinematicLoop.makefile make -j1 -f PlanarMechanics_PlanarMechanics.Examples.KinematicLoop.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.KinematicLoopCalcHelperMain.o OMCppPlanarMechanics_PlanarMechanics.Examples.KinematicLoopCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPlanarMechanics_PlanarMechanics.Examples.KinematicLoopCalcHelperMain.o] Error 1