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.0009517/0.0009515, allocations: 91.38 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.001118/0.001118, allocations: 179.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.547/1.547, allocations: 223.2 MB / 241 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo): time 0.2078/0.2078, allocations: 9.103 MB / 301.2 MB, free: 2.707 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004042/0.0004044, allocations: 8 kB / 364.3 MB, free: 12.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1419/0.1423, allocations: 52.43 MB / 416.8 MB, free: 8.156 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.KinematicLoop_DynamicStateSelection): time 0.3255/0.4678, allocations: 43.01 MB / 459.8 MB, free: 16.5 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02414/0.492, allocations: 9.2 MB / 469 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01424/0.5063, allocations: 166.5 kB / 469.1 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00214/0.5085, allocations: 372.1 kB / 469.5 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005779/0.5143, allocations: 1.474 MB / 471 MB, free: 9.613 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001103/0.5154, allocations: 186.5 kB / 471.2 MB, free: 9.508 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005572/0.521, allocations: 4.074 MB / 475.2 MB, free: 8.062 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002303/0.5234, allocations: 1.043 MB / 476.3 MB, free: 7.68 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001713/0.5251, allocations: 0.9334 MB / 477.2 MB, free: 7.301 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001955/0.5271, allocations: 1.53 MB / 478.7 MB, free: 6.75 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005037/0.5276, allocations: 156.5 kB / 478.9 MB, free: 6.75 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001896/0.5295, allocations: 0.7974 MB / 479.7 MB, free: 6.559 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001635/0.5311, allocations: 1.31 MB / 481 MB, free: 6.094 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002303/0.5334, allocations: 1.767 MB / 482.8 MB, free: 4.824 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008192/0.5416, allocations: 4.179 MB / 487 MB, free: 3.848 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.5417, allocations: 0 / 487 MB, free: 3.848 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.519e-06/0.5417, allocations: 0.6094 kB / 487 MB, free: 3.848 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0003351/0.5421, allocations: 0 / 487 MB, free: 3.848 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.01768/0.5598, allocations: 4.977 MB / 491.9 MB, free: 1.914 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.569e-05/0.5598, allocations: 10.09 kB / 491.9 MB, free: 1.914 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008667/0.5685, allocations: 1.871 MB / 493.8 MB, free: 1.582 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004383/0.5729, allocations: 1.564 MB / 495.4 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002214/0.5732, allocations: 184.7 kB / 495.6 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00108/0.5743, allocations: 251.2 kB / 495.8 MB, free: 440 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01856/0.5928, allocations: 9.299 MB / 0.4933 GB, free: 10.7 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.64e-05/0.593, allocations: 31.72 kB / 0.4933 GB, free: 10.66 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003682/0.5933, allocations: 115.8 kB / 0.4934 GB, free: 10.55 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003678/0.597, allocations: 2.079 MB / 0.4954 GB, free: 8.469 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0192/0.6162, allocations: 8.244 MB / 0.5035 GB, free: 224 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04791/0.6642, allocations: 30.05 MB / 0.5328 GB, free: 1.543 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008186/0.6724, allocations: 3.033 MB / 0.5358 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002031/0.6745, allocations: 1.116 MB / 0.5369 GB, free: 13.27 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009145/0.6837, allocations: 6.281 MB / 0.543 GB, free: 6.332 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.163e-05/0.6838, allocations: 59.81 kB / 0.5431 GB, free: 6.266 MB / 414.1 MB Notification: Performance of pre-optimization done (n=179): time 4.428e-06/0.6838, allocations: 0 / 0.5431 GB, free: 6.266 MB / 414.1 MB Notification: Performance of matching and sorting (n=239): time 0.03209/0.7159, allocations: 12.39 MB / 0.5552 GB, free: 9.715 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.008742/0.7247, allocations: 6.623 MB / 0.5616 GB, free: 2.789 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005906/0.7306, allocations: 3.077 MB / 0.5646 GB, free: 15.69 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004409/0.7311, allocations: 57.7 kB / 0.5647 GB, free: 15.63 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001948/0.733, allocations: 2.424 MB / 0.5671 GB, free: 13.17 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001352/0.7344, allocations: 0.8632 MB / 0.5679 GB, free: 12.3 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006185/0.735, allocations: 425.2 kB / 0.5683 GB, free: 11.88 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000139/0.7352, allocations: 309.1 kB / 0.5686 GB, free: 11.57 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003127/0.7383, allocations: 1.708 MB / 0.5703 GB, free: 9.855 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005302/0.7436, allocations: 4.331 MB / 0.5745 GB, free: 4.238 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2663/1.01, allocations: 6.537 MB / 0.5809 GB, free: 118.3 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.286e-05/1.01, allocations: 26.25 kB / 0.5809 GB, free: 118.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=668) (initialization): time 0.01213/1.022, allocations: 6.661 MB / 0.5874 GB, free: 117.6 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.39e-05/1.022, allocations: 45.81 kB / 0.5875 GB, free: 117.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001123/1.022, allocations: 93.72 kB / 0.5876 GB, free: 117.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001756/1.024, allocations: 0.702 MB / 0.5882 GB, free: 117.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003388/1.028, allocations: 1.07 MB / 0.5893 GB, free: 117.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01081/1.038, allocations: 11.13 MB / 0.6002 GB, free: 110.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004633/1.043, allocations: 296.5 kB / 0.6004 GB, free: 110.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009471/1.044, allocations: 295.5 kB / 0.6007 GB, free: 110.4 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.003813/1.048, allocations: 1.797 MB / 0.6025 GB, free: 109.6 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005423/1.048, allocations: 291.7 kB / 0.6027 GB, free: 109.6 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005729/1.054, allocations: 3.5 MB / 0.6062 GB, free: 108.3 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004415/1.059, allocations: 3.029 MB / 0.6091 GB, free: 107.2 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.395e-05/1.059, allocations: 6.125 kB / 0.6091 GB, free: 107.2 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.035e-05/1.059, allocations: 13.14 kB / 0.6091 GB, free: 107.2 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02013/1.079, allocations: 10.73 MB / 0.6196 GB, free: 103 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-05/1.079, allocations: 3.312 kB / 0.6196 GB, free: 103 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00117/1.08, allocations: 275.5 kB / 0.6199 GB, free: 102.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002388/1.082, allocations: 0.7867 MB / 0.6207 GB, free: 102.8 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001836/1.083, allocations: 49.53 kB / 0.6207 GB, free: 102.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01373/1.096, allocations: 11.05 MB / 0.6315 GB, free: 95.36 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.006654/1.103, allocations: 5.78 MB / 0.6371 GB, free: 91.38 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007517/1.111, allocations: 5.099 MB / 0.6421 GB, free: 89.33 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001039/1.112, allocations: 373.7 kB / 0.6425 GB, free: 89.05 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002982/1.112, allocations: 43.06 kB / 0.6425 GB, free: 89.02 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001128/1.113, allocations: 110.1 kB / 0.6426 GB, free: 89 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003822/1.114, allocations: 168 kB / 0.6428 GB, free: 88.96 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001242/1.114, allocations: 67.39 kB / 0.6428 GB, free: 88.95 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002776/1.116, allocations: 1.959 MB / 0.6448 GB, free: 88.24 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/1.116, allocations: 0 / 0.6448 GB, free: 88.24 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004532/1.121, allocations: 1.004 MB / 0.6457 GB, free: 88.12 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.0005139/1.122, allocations: 176.6 kB / 0.6459 GB, free: 87.98 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007905/1.129, allocations: 4.856 MB / 0.6506 GB, free: 83.69 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.147e-06/1.129, allocations: 0 / 0.6506 GB, free: 83.69 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00349/1.133, allocations: 2.227 MB / 0.6528 GB, free: 81.65 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003717/1.137, allocations: 449.6 kB / 0.6532 GB, free: 81.3 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01467/1.151, allocations: 10.6 MB / 0.6636 GB, free: 70.73 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002686/1.154, allocations: 2.971 MB / 0.6665 GB, free: 67.73 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001002/1.155, allocations: 263.4 kB / 0.6667 GB, free: 67.48 MB / 446.1 MB Notification: Performance of SimCode: time 8.82e-07/1.155, allocations: 3.938 kB / 0.6668 GB, free: 67.47 MB / 446.1 MB Notification: Performance of Templates: time 0.4391/1.594, allocations: 140.7 MB / 0.8042 GB, free: 104.6 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