Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.Examples.KinematicLoop_DynamicStateSelection.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_DynamicStateSelection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.KinematicLoop_DynamicStateSelection") translateModel(PlanarMechanics.Examples.KinematicLoop_DynamicStateSelection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.KinematicLoop_DynamicStateSelection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001746/0.001746, 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.001821/0.001821, allocations: 198.3 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.516/1.516, allocations: 222.9 MB / 240.4 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo): time 0.1985/0.1985, allocations: 9.102 MB / 299.7 MB, free: 1.918 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 63.89 kB / 361.9 MB, free: 13.56 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1445/0.1457, allocations: 51.44 MB / 413.3 MB, free: 10.08 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.KinematicLoop_DynamicStateSelection): time 0.3098/0.4555, allocations: 44.17 MB / 457.5 MB, free: 17.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02124/0.4768, allocations: 9.243 MB / 466.7 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01117/0.488, allocations: 164.9 kB / 466.9 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001409/0.4895, allocations: 373.5 kB / 467.3 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004569/0.4941, allocations: 1.468 MB / 468.7 MB, free: 9.828 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006053/0.4947, allocations: 188 kB / 468.9 MB, free: 9.715 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004397/0.4991, allocations: 4.07 MB / 473 MB, free: 8.273 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002081/0.5012, allocations: 1.069 MB / 474.1 MB, free: 7.879 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002095/0.5033, allocations: 0.9525 MB / 475 MB, free: 7.484 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002867/0.5062, allocations: 1.556 MB / 476.6 MB, free: 6.918 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006925/0.5069, allocations: 169.5 kB / 476.7 MB, free: 6.918 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002375/0.5093, allocations: 0.8106 MB / 477.5 MB, free: 6.727 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002148/0.5115, allocations: 1.32 MB / 478.9 MB, free: 6.254 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003147/0.5146, allocations: 1.766 MB / 480.6 MB, free: 5 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008335/0.523, allocations: 4.289 MB / 484.9 MB, free: 3.559 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.875e-06/0.523, allocations: 0.8906 kB / 484.9 MB, free: 3.559 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.5231, allocations: 1.062 kB / 484.9 MB, free: 3.559 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002692/0.5233, allocations: 0 / 484.9 MB, free: 3.559 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.01806/0.5414, allocations: 5.731 MB / 490.7 MB, free: 1.184 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.951e-05/0.5415, allocations: 14.41 kB / 490.7 MB, free: 1.18 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007696/0.5492, allocations: 1.82 MB / 492.5 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004217/0.5534, allocations: 1.572 MB / 494.1 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002061/0.5537, allocations: 185.8 kB / 494.2 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006345/0.5543, allocations: 239.8 kB / 494.5 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0181/0.5724, allocations: 9.303 MB / 0.492 GB, free: 9.902 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-05/0.5726, allocations: 31.72 kB / 0.492 GB, free: 9.871 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003904/0.573, allocations: 115.8 kB / 0.4921 GB, free: 9.758 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003341/0.5763, allocations: 2.079 MB / 0.4941 GB, free: 7.676 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0182/0.5945, allocations: 8.243 MB / 0.5022 GB, free: 15.43 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.046/0.6406, allocations: 30.02 MB / 0.5315 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009066/0.6497, allocations: 3.044 MB / 0.5345 GB, free: 13.62 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002356/0.6521, allocations: 1.116 MB / 0.5356 GB, free: 12.51 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01077/0.6629, allocations: 6.279 MB / 0.5417 GB, free: 5.57 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.628e-05/0.663, allocations: 47.88 kB / 0.5418 GB, free: 5.516 MB / 414.1 MB Notification: Performance of pre-optimization done (n=179): time 4.829e-06/0.663, allocations: 0 / 0.5418 GB, free: 5.516 MB / 414.1 MB Notification: Performance of matching and sorting (n=239): time 0.03287/0.6959, allocations: 12.34 MB / 0.5538 GB, free: 9.008 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.009415/0.7053, allocations: 6.631 MB / 0.5603 GB, free: 2.074 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00667/0.712, allocations: 3.069 MB / 0.5633 GB, free: 14.98 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005683/0.7126, allocations: 53.7 kB / 0.5633 GB, free: 14.93 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00242/0.7151, allocations: 2.425 MB / 0.5657 GB, free: 12.47 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001421/0.7165, allocations: 0.8671 MB / 0.5665 GB, free: 11.59 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00279/0.7193, allocations: 1 MB / 0.5675 GB, free: 10.58 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.00012/0.7194, allocations: 301.1 kB / 0.5678 GB, free: 10.28 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00352/0.723, allocations: 1.708 MB / 0.5695 GB, free: 8.566 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005539/0.7285, allocations: 4.339 MB / 0.5737 GB, free: 2.941 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2851/1.014, allocations: 6.525 MB / 0.5801 GB, free: 121.7 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001174/1.014, allocations: 25.72 kB / 0.5801 GB, free: 121.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=668) (initialization): time 0.01361/1.027, allocations: 6.666 MB / 0.5866 GB, free: 120.2 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.31e-05/1.028, allocations: 45.28 kB / 0.5867 GB, free: 120.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001143/1.028, allocations: 91.97 kB / 0.5868 GB, free: 120.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001688/1.029, allocations: 0.7058 MB / 0.5874 GB, free: 120 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003369/1.033, allocations: 1.073 MB / 0.5885 GB, free: 119.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01137/1.044, allocations: 11.11 MB / 0.5993 GB, free: 112.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004719/1.049, allocations: 300.6 kB / 0.5996 GB, free: 112.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00065/1.05, allocations: 296.6 kB / 0.5999 GB, free: 112.1 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 (590): * Single equations (assignments): 579 * Array equations: 6 * 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.00404/1.054, allocations: 1.798 MB / 0.6017 GB, free: 111.3 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006699/1.054, allocations: 284.3 kB / 0.6019 GB, free: 111.3 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005927/1.06, allocations: 3.495 MB / 0.6054 GB, free: 110 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004396/1.065, allocations: 3.029 MB / 0.6083 GB, free: 108.9 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.757e-05/1.065, allocations: 10.16 kB / 0.6083 GB, free: 108.9 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.393e-05/1.065, allocations: 14.36 kB / 0.6083 GB, free: 108.9 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0234/1.088, allocations: 10.73 MB / 0.6188 GB, free: 104.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.638e-05/1.088, allocations: 2.125 kB / 0.6188 GB, free: 104.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001151/1.089, allocations: 272.2 kB / 0.6191 GB, free: 104.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002706/1.092, allocations: 0.7802 MB / 0.6198 GB, free: 104.5 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002268/1.092, allocations: 47.61 kB / 0.6199 GB, free: 104.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01549/1.108, allocations: 11.03 MB / 0.6307 GB, free: 97.07 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.007626/1.116, allocations: 5.777 MB / 0.6363 GB, free: 93.09 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01019/1.126, allocations: 5.1 MB / 0.6413 GB, free: 91.04 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001555/1.127, allocations: 352.1 kB / 0.6416 GB, free: 90.77 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001081/1.129, allocations: 44.14 kB / 0.6417 GB, free: 90.74 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001962/1.131, allocations: 108.9 kB / 0.6418 GB, free: 90.71 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005908/1.131, allocations: 169.9 kB / 0.6419 GB, free: 90.68 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002186/1.131, allocations: 70.48 kB / 0.642 GB, free: 90.66 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004337/1.136, allocations: 1.958 MB / 0.6439 GB, free: 89.23 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.8e-07/1.136, allocations: 0 / 0.6439 GB, free: 89.23 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.006299/1.142, allocations: 1.007 MB / 0.6449 GB, free: 88.23 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 4 ($STATESET2.x,$STATESET1.x[2],$STATESET1.x[1],revolute4.phi) * 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 (158): * Single equations (assignments): 149 * 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%), (4,12,87.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,17)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005915/1.143, allocations: 173.4 kB / 0.645 GB, free: 88.06 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007958/1.151, allocations: 4.864 MB / 0.6498 GB, free: 83.7 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.785e-06/1.151, allocations: 4 kB / 0.6498 GB, free: 83.69 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003081/1.154, allocations: 2.216 MB / 0.652 GB, free: 81.66 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003087/1.157, allocations: 444.1 kB / 0.6524 GB, free: 81.3 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02096/1.178, allocations: 10.55 MB / 0.6627 GB, free: 71.09 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003622/1.182, allocations: 2.963 MB / 0.6656 GB, free: 68.11 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001199/1.183, allocations: 271.3 kB / 0.6658 GB, free: 67.85 MB / 446.1 MB Notification: Performance of SimCode: time 1.142e-06/1.183, allocations: 3.938 kB / 0.6658 GB, free: 67.84 MB / 446.1 MB Notification: Performance of Templates: time 0.427/1.61, allocations: 141.5 MB / 0.804 GB, free: 106.5 MB / 462.1 MB make -j1 -f PlanarMechanics_PlanarMechanics.Examples.KinematicLoop_DynamicStateSelection.makefile make -j1 -f PlanarMechanics_PlanarMechanics.Examples.KinematicLoop_DynamicStateSelection.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.KinematicLoop_DynamicStateSelectionCalcHelperMain.o OMCppPlanarMechanics_PlanarMechanics.Examples.KinematicLoop_DynamicStateSelectionCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPlanarMechanics_PlanarMechanics.Examples.KinematicLoop_DynamicStateSelectionCalcHelperMain.o] Error 1