Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel.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.VehicleComponents.Examples.TestSlipBasedWheel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel") translateModel(PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001847/0.001847, 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.001974/0.001974, allocations: 195.9 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.597/1.597, 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.224/0.224, allocations: 9.108 MB / 299.7 MB, free: 1.879 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001142/0.001142, allocations: 59.91 kB / 361.9 MB, free: 13.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1427/0.1439, allocations: 51.44 MB / 413.3 MB, free: 10.06 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel): time 0.2828/0.4267, allocations: 23.74 MB / 437.1 MB, free: 30.96 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01586/0.4426, allocations: 5.544 MB / 442.6 MB, free: 27.98 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007572/0.4502, allocations: 87.66 kB / 442.7 MB, free: 27.97 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00164/0.452, allocations: 301.6 kB / 443 MB, free: 27.86 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004648/0.4566, allocations: 1.33 MB / 444.3 MB, free: 27.25 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008771/0.4575, allocations: 143.5 kB / 444.5 MB, free: 27.17 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004238/0.4618, allocations: 3.507 MB / 448 MB, free: 25.96 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001562/0.4634, allocations: 0.7988 MB / 448.8 MB, free: 25.67 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001792/0.4652, allocations: 0.7756 MB / 449.5 MB, free: 25.36 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002473/0.4677, allocations: 1.335 MB / 450.9 MB, free: 24.9 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008585/0.4685, allocations: 135 kB / 451 MB, free: 24.9 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00243/0.471, allocations: 0.8241 MB / 451.8 MB, free: 24.7 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001702/0.4727, allocations: 1.136 MB / 453 MB, free: 24.31 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001878/0.4746, allocations: 1.494 MB / 454.5 MB, free: 23.23 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003793/0.4784, allocations: 3.833 MB / 458.3 MB, free: 21.97 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.4784, allocations: 0 / 458.3 MB, free: 21.97 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.4784, allocations: 0 / 458.3 MB, free: 21.97 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.721e-05/0.4785, allocations: 0 / 458.3 MB, free: 21.97 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: 1167 * Number of variables: 1167 Notification: Performance of Generate backend data structure: time 0.01867/0.4972, allocations: 5.041 MB / 463.3 MB, free: 19.91 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.098e-05/0.4973, allocations: 9.188 kB / 463.3 MB, free: 19.91 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006991/0.5043, allocations: 1.769 MB / 465.1 MB, free: 19.61 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003794/0.5081, allocations: 1.419 MB / 466.5 MB, free: 18.73 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001938/0.5083, allocations: 152.6 kB / 466.7 MB, free: 18.66 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006978/0.5091, allocations: 195.9 kB / 466.9 MB, free: 18.59 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01925/0.5283, allocations: 8.475 MB / 475.4 MB, free: 14.87 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.71e-05/0.5284, allocations: 24.97 kB / 475.4 MB, free: 14.85 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000341/0.5288, allocations: 93.42 kB / 475.5 MB, free: 14.79 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003565/0.5324, allocations: 1.885 MB / 477.4 MB, free: 14.39 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02141/0.5538, allocations: 8.147 MB / 485.5 MB, free: 11.67 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04052/0.5943, allocations: 25.98 MB / 0.4995 GB, free: 1.887 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01019/0.6046, allocations: 2.852 MB / 0.5023 GB, free: 14.92 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001856/0.6065, allocations: 1.083 MB / 0.5033 GB, free: 13.83 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007375/0.6138, allocations: 5.038 MB / 0.5083 GB, free: 8.297 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.044e-05/0.6139, allocations: 55.81 kB / 0.5083 GB, free: 8.23 MB / 382.1 MB Notification: Performance of pre-optimization done (n=157): time 4.238e-06/0.6139, allocations: 0 / 0.5083 GB, free: 8.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=175): time 0.01815/0.6321, allocations: 7.979 MB / 0.5161 GB, free: 120 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.041e-05/0.6322, allocations: 64.72 kB / 0.5162 GB, free: 44 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004168/0.6363, allocations: 2.622 MB / 0.5187 GB, free: 13.39 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001406/0.6365, allocations: 45.7 kB / 0.5188 GB, free: 13.34 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001467/0.638, allocations: 2.066 MB / 0.5208 GB, free: 11.24 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006505/0.6386, allocations: 0.6437 MB / 0.5214 GB, free: 10.59 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00113/0.6398, allocations: 0.8137 MB / 0.5222 GB, free: 9.766 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001277/0.6399, allocations: 305.1 kB / 0.5225 GB, free: 9.465 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00229/0.6422, allocations: 1.374 MB / 0.5238 GB, free: 8.086 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004151/0.6464, allocations: 3.548 MB / 0.5273 GB, free: 3.473 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007375/0.6538, allocations: 5.327 MB / 0.5325 GB, free: 13.09 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.692e-05/0.6538, allocations: 20 kB / 0.5325 GB, free: 13.07 MB / 414.1 MB Notification: Performance of matching and sorting (n=534) (initialization): time 0.01001/0.6639, allocations: 5.125 MB / 0.5375 GB, free: 7.941 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.777e-05/0.664, allocations: 40.03 kB / 0.5376 GB, free: 7.902 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.939e-05/0.6641, allocations: 76 kB / 0.5376 GB, free: 7.828 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008012/0.6649, allocations: 314.3 kB / 0.5379 GB, free: 7.516 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002903/0.6678, allocations: 0.9007 MB / 0.5388 GB, free: 6.613 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004139/0.6719, allocations: 3.047 MB / 0.5418 GB, free: 3.426 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004499/0.6764, allocations: 191.9 kB / 0.542 GB, free: 3.238 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008374/0.6773, allocations: 244 kB / 0.5422 GB, free: 3 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 342 * Number of states: 0 () * Number of discrete variables: 9 (body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (493): * Single equations (assignments): 487 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * 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): 1 system {(2,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004145/0.6815, allocations: 1.571 MB / 0.5437 GB, free: 1.418 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006924/0.6822, allocations: 232.9 kB / 0.544 GB, free: 1.188 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004677/0.6869, allocations: 2.37 MB / 0.5463 GB, free: 14.79 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001116/0.687, allocations: 27.98 kB / 0.5463 GB, free: 14.77 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.856e-06/0.687, allocations: 4 kB / 0.5463 GB, free: 14.76 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.795e-05/0.687, allocations: 7.969 kB / 0.5463 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01143/0.6985, allocations: 6.3 MB / 0.5525 GB, free: 8.32 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.867e-06/0.6985, allocations: 0 / 0.5525 GB, free: 8.32 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001102/0.6996, allocations: 259.6 kB / 0.5527 GB, free: 8.066 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006297/0.7003, allocations: 205.9 kB / 0.5529 GB, free: 7.859 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.054e-05/0.7004, allocations: 35.98 kB / 0.553 GB, free: 7.824 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003218/0.7036, allocations: 2.601 MB / 0.5555 GB, free: 5.09 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.7036, allocations: 8.062 kB / 0.5555 GB, free: 5.082 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005764/0.7094, allocations: 3.611 MB / 0.559 GB, free: 1.41 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009628/0.7104, allocations: 310.1 kB / 0.5593 GB, free: 1.086 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003129/0.7107, allocations: 35.94 kB / 0.5594 GB, free: 1.051 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008953/0.7116, allocations: 68.05 kB / 0.5594 GB, free: 0.9844 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002491/0.7119, allocations: 101.2 kB / 0.5595 GB, free: 0.8867 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001131/0.712, allocations: 47.98 kB / 0.5596 GB, free: 0.8398 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002724/0.7147, allocations: 1.696 MB / 0.5612 GB, free: 15.13 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.7147, allocations: 0 / 0.5612 GB, free: 15.13 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003732/0.7185, allocations: 0.7071 MB / 0.5619 GB, free: 14.42 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 6 (prismatic.s,prismatic.v,revolute.phi,revolute.w,engineTorque.phi,inertia.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 (140): * Single equations (assignments): 134 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * 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): 1 system {(2,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005197/0.719, allocations: 187.1 kB / 0.5621 GB, free: 14.23 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006084/0.7251, allocations: 3.487 MB / 0.5655 GB, free: 10.72 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.568e-06/0.7251, allocations: 0 / 0.5655 GB, free: 10.72 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001795/0.7269, allocations: 1.246 MB / 0.5667 GB, free: 9.441 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002161/0.7291, allocations: 364.5 kB / 0.5671 GB, free: 9.09 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01411/0.7432, allocations: 8.763 MB / 0.5756 GB, free: 264 kB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2404/0.9837, allocations: 2.596 MB / 0.5782 GB, free: 124.2 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009515/0.9847, allocations: 221.3 kB / 0.5784 GB, free: 124.2 MB / 446.1 MB Notification: Performance of SimCode: time 1.833e-06/0.9847, allocations: 1.312 kB / 0.5784 GB, free: 124.2 MB / 446.1 MB Notification: Performance of Templates: time 0.1067/1.091, allocations: 73.31 MB / 0.65 GB, free: 85.78 MB / 446.1 MB make -j1 -f PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel.makefile make -j1 -f PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel.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.VehicleComponents.Examples.TestSlipBasedWheelCalcHelperMain.o OMCppPlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheelCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheelCalcHelperMain.o] Error 1