Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.Examples.InvertedCraneCrab.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.InvertedCraneCrab,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.InvertedCraneCrab") translateModel(PlanarMechanics.Examples.InvertedCraneCrab,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.InvertedCraneCrab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01182/0.01182, allocations: 96.91 kB / 15.87 MB, free: 6.297 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001824/0.001824, allocations: 197.3 kB / 16.79 MB, free: 6.223 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.689/1.689, allocations: 222.9 MB / 240.5 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo): time 0.1998/0.1998, allocations: 9.101 MB / 299.7 MB, free: 1.906 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001336/0.001336, allocations: 59.91 kB / 361.9 MB, free: 13.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.1282, allocations: 51.44 MB / 413.3 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.InvertedCraneCrab): time 0.2806/0.4088, allocations: 27.33 MB / 440.7 MB, free: 28.74 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01743/0.4263, allocations: 6.111 MB / 446.8 MB, free: 25.01 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007972/0.4343, allocations: 99.97 kB / 446.9 MB, free: 25 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00166/0.436, allocations: 305.9 kB / 447.2 MB, free: 24.89 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004545/0.4406, allocations: 1.31 MB / 448.5 MB, free: 24.29 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008323/0.4415, allocations: 122.2 kB / 448.6 MB, free: 24.22 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004679/0.4462, allocations: 3.497 MB / 452.1 MB, free: 23.02 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00178/0.448, allocations: 0.851 MB / 453 MB, free: 22.7 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001684/0.4497, allocations: 0.7676 MB / 453.7 MB, free: 22.39 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002347/0.4521, allocations: 1.323 MB / 455 MB, free: 21.93 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008539/0.4529, allocations: 141.3 kB / 455.2 MB, free: 21.93 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002119/0.4551, allocations: 0.7791 MB / 456 MB, free: 21.74 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00155/0.4567, allocations: 1.137 MB / 457.1 MB, free: 21.35 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002135/0.4588, allocations: 1.473 MB / 458.6 MB, free: 20.3 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003762/0.4626, allocations: 3.768 MB / 462.3 MB, free: 19.05 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.4626, allocations: 0 / 462.3 MB, free: 19.05 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.4626, allocations: 4 kB / 462.3 MB, free: 19.04 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001207/0.4627, allocations: 0 / 462.3 MB, free: 19.04 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: 1155 * Number of variables: 1155 Notification: Performance of Generate backend data structure: time 0.01015/0.4729, allocations: 3.875 MB / 466.2 MB, free: 17.02 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/0.473, allocations: 10.78 kB / 466.2 MB, free: 17.02 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00634/0.4793, allocations: 1.768 MB / 468 MB, free: 16.72 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003654/0.483, allocations: 1.357 MB / 469.4 MB, free: 15.86 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00023/0.4833, allocations: 149.4 kB / 469.5 MB, free: 15.79 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00101/0.4843, allocations: 197.2 kB / 469.7 MB, free: 15.72 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01658/0.5009, allocations: 7.963 MB / 477.7 MB, free: 12.18 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001278/0.501, allocations: 25.42 kB / 477.7 MB, free: 12.17 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006003/0.5016, allocations: 97.95 kB / 477.8 MB, free: 12.1 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003659/0.5053, allocations: 1.849 MB / 479.6 MB, free: 11.72 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02036/0.5257, allocations: 7.165 MB / 486.8 MB, free: 9.281 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04739/0.5731, allocations: 24.14 MB / 0.499 GB, free: 2.5 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00616/0.5793, allocations: 2.383 MB / 0.5013 GB, free: 4 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001644/0.581, allocations: 0.8223 MB / 0.5021 GB, free: 15.18 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009938/0.591, allocations: 4.741 MB / 0.5067 GB, free: 10.06 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.825e-05/0.5911, allocations: 47.56 kB / 0.5068 GB, free: 10 MB / 382.1 MB Notification: Performance of pre-optimization done (n=128): time 4.137e-06/0.5911, allocations: 0 / 0.5068 GB, free: 10 MB / 382.1 MB Notification: Performance of matching and sorting (n=154): time 0.01677/0.6079, allocations: 7.002 MB / 0.5136 GB, free: 2.93 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.822e-05/0.6079, allocations: 68.7 kB / 0.5137 GB, free: 2.848 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005823/0.6138, allocations: 2.617 MB / 0.5162 GB, free: 204 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002134/0.614, allocations: 49.62 kB / 0.5163 GB, free: 148 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002063/0.6161, allocations: 2.085 MB / 0.5183 GB, free: 14.03 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007596/0.6169, allocations: 0.5628 MB / 0.5189 GB, free: 13.46 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001697/0.6186, allocations: 0.7819 MB / 0.5196 GB, free: 12.66 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001256/0.6187, allocations: 301.1 kB / 0.5199 GB, free: 12.37 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002943/0.6217, allocations: 1.312 MB / 0.5212 GB, free: 11.05 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004689/0.6264, allocations: 3.433 MB / 0.5245 GB, free: 6.562 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007688/0.6341, allocations: 5.087 MB / 0.5295 GB, free: 448 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.839e-05/0.6342, allocations: 20 kB / 0.5295 GB, free: 428 kB / 398.1 MB Notification: Performance of matching and sorting (n=512) (initialization): time 0.01001/0.6442, allocations: 4.808 MB / 0.5342 GB, free: 11.6 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.868e-05/0.6443, allocations: 38.5 kB / 0.5343 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001383/0.6445, allocations: 75.94 kB / 0.5343 GB, free: 11.49 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005031/0.645, allocations: 189.7 kB / 0.5345 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003035/0.6481, allocations: 0.9046 MB / 0.5354 GB, free: 10.4 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002514/0.6506, allocations: 2.184 MB / 0.5375 GB, free: 8.059 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00336/0.654, allocations: 211.8 kB / 0.5377 GB, free: 7.852 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006541/0.6546, allocations: 232 kB / 0.5379 GB, free: 7.625 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 338 * Number of states: 0 () * Number of discrete variables: 15 (prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[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 (478): * Single equations (assignments): 473 * 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,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003684/0.6583, allocations: 1.56 MB / 0.5395 GB, free: 6.055 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006807/0.659, allocations: 221.2 kB / 0.5397 GB, free: 5.836 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004297/0.6633, allocations: 1.951 MB / 0.5416 GB, free: 3.871 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001105/0.6635, allocations: 23.98 kB / 0.5416 GB, free: 3.848 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.081e-05/0.6635, allocations: 4 kB / 0.5416 GB, free: 3.844 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.58e-05/0.6635, allocations: 7.969 kB / 0.5416 GB, free: 3.836 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01389/0.6774, allocations: 5.612 MB / 0.5471 GB, free: 14.09 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.028e-05/0.6774, allocations: 4 kB / 0.5471 GB, free: 14.09 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001008/0.6784, allocations: 239.6 kB / 0.5473 GB, free: 13.85 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003274/0.6788, allocations: 92.88 kB / 0.5474 GB, free: 13.76 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001214/0.6789, allocations: 27.98 kB / 0.5475 GB, free: 13.73 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002377/0.6813, allocations: 1.927 MB / 0.5493 GB, free: 11.65 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.618e-06/0.6814, allocations: 7.969 kB / 0.5493 GB, free: 11.64 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005586/0.6869, allocations: 3.031 MB / 0.5523 GB, free: 8.57 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001418/0.6884, allocations: 294.3 kB / 0.5526 GB, free: 8.262 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009322/0.6893, allocations: 27.98 kB / 0.5526 GB, free: 8.234 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001585/0.6909, allocations: 71.91 kB / 0.5527 GB, free: 8.164 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000263/0.6912, allocations: 80.83 kB / 0.5528 GB, free: 8.082 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001257/0.6913, allocations: 44 kB / 0.5528 GB, free: 8.039 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.004791/0.6961, allocations: 1.684 MB / 0.5544 GB, free: 6.34 MB / 430.1 MB Notification: Performance of sort global known variables: time 3.297e-06/0.6962, allocations: 0 / 0.5544 GB, free: 6.34 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004336/0.7005, allocations: 0.6756 MB / 0.5551 GB, free: 5.664 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (revolute.phi,prismatic.s,prismatic.v) * 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 (124): * Single equations (assignments): 119 * 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,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005249/0.701, allocations: 155 kB / 0.5552 GB, free: 5.504 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.006221/0.7073, allocations: 3.113 MB / 0.5583 GB, free: 2.398 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.711e-06/0.7073, allocations: 192 / 0.5583 GB, free: 2.398 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001719/0.709, allocations: 0.9883 MB / 0.5593 GB, free: 1.391 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002864/0.7119, allocations: 358.6 kB / 0.5596 GB, free: 1.047 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01861/0.7305, allocations: 8.308 MB / 0.5677 GB, free: 8.695 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005088/0.7357, allocations: 2.567 MB / 0.5702 GB, free: 6.098 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001113/0.7368, allocations: 211.4 kB / 0.5704 GB, free: 5.895 MB / 446.1 MB Notification: Performance of SimCode: time 2.364e-06/0.7369, allocations: 0 / 0.5704 GB, free: 5.895 MB / 446.1 MB Notification: Performance of Templates: time 0.3666/1.103, allocations: 56.29 MB / 0.6254 GB, free: 106 MB / 446.1 MB make -j1 -f PlanarMechanics_PlanarMechanics.Examples.InvertedCraneCrab.makefile make -j1 -f PlanarMechanics_PlanarMechanics.Examples.InvertedCraneCrab.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.InvertedCraneCrabCalcHelperMain.o OMCppPlanarMechanics_PlanarMechanics.Examples.InvertedCraneCrabCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPlanarMechanics_PlanarMechanics.Examples.InvertedCraneCrabCalcHelperMain.o] Error 1