Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.SingleTrackWithEngine.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.SingleTrackWithEngine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.SingleTrackWithEngine") translateModel(PlanarMechanics.VehicleComponents.Examples.SingleTrackWithEngine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.SingleTrackWithEngine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009486/0.009485, allocations: 100.8 kB / 15.87 MB, free: 5.867 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.001653/0.001653, allocations: 192.1 kB / 16.79 MB, free: 5.809 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.581/1.581, allocations: 222.9 MB / 240.4 MB, free: 4.559 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo): time 0.1982/0.1982, allocations: 9.089 MB / 299.7 MB, free: 1.824 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00168/0.00168, allocations: 59.91 kB / 361.9 MB, free: 13.49 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1425/0.1442, allocations: 51.44 MB / 413.3 MB, free: 10.01 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.SingleTrackWithEngine): time 0.2887/0.4329, allocations: 36.29 MB / 449.6 MB, free: 22.61 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0186/0.4516, allocations: 7.772 MB / 457.4 MB, free: 17.32 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01011/0.4617, allocations: 134.7 kB / 457.5 MB, free: 17.3 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001602/0.4634, allocations: 356.7 kB / 457.9 MB, free: 17.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004855/0.4683, allocations: 1.498 MB / 459.4 MB, free: 16.47 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006384/0.469, allocations: 158.3 kB / 459.5 MB, free: 16.38 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004533/0.4735, allocations: 4.137 MB / 463.7 MB, free: 14.97 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001396/0.4749, allocations: 0.9597 MB / 464.6 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001504/0.4765, allocations: 0.9239 MB / 465.5 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001696/0.4782, allocations: 1.605 MB / 467.2 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004201/0.4786, allocations: 162.3 kB / 467.3 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001672/0.4803, allocations: 0.794 MB / 468.1 MB, free: 13.51 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001417/0.4817, allocations: 1.396 MB / 469.5 MB, free: 13.04 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001959/0.4837, allocations: 1.757 MB / 471.3 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005343/0.489, allocations: 4.348 MB / 475.6 MB, free: 10.35 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.796e-06/0.4891, allocations: 0 / 475.6 MB, free: 10.35 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.4891, allocations: 0 / 475.6 MB, free: 10.35 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.000248/0.4893, allocations: 1.156 kB / 475.6 MB, free: 10.35 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: 1388 * Number of variables: 1388 Notification: Performance of Generate backend data structure: time 0.03205/0.5214, allocations: 6.959 MB / 482.6 MB, free: 7.953 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.001e-05/0.5215, allocations: 10.12 kB / 482.6 MB, free: 7.953 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00728/0.5288, allocations: 1.833 MB / 484.4 MB, free: 7.625 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00353/0.5323, allocations: 1.701 MB / 486.1 MB, free: 6.621 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001689/0.5325, allocations: 187.8 kB / 486.3 MB, free: 6.527 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005761/0.5331, allocations: 247.4 kB / 486.5 MB, free: 6.438 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02331/0.5564, allocations: 10.41 MB / 496.9 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001229/0.5566, allocations: 34.12 kB / 497 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004194/0.557, allocations: 119.8 kB / 497.1 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003466/0.5605, allocations: 2.15 MB / 499.2 MB, free: 14.38 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02303/0.5835, allocations: 10.35 MB / 0.4976 GB, free: 4.023 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06521/0.6488, allocations: 33.53 MB / 0.5304 GB, free: 1.844 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0187/0.6675, allocations: 4.314 MB / 0.5346 GB, free: 13.41 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003511/0.671, allocations: 1.682 MB / 0.5362 GB, free: 11.72 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01459/0.6857, allocations: 8.601 MB / 0.5446 GB, free: 2.141 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.999e-05/0.6858, allocations: 60.5 kB / 0.5447 GB, free: 2.07 MB / 414.1 MB Notification: Performance of pre-optimization done (n=237): time 8.326e-06/0.6858, allocations: 0 / 0.5447 GB, free: 2.07 MB / 414.1 MB Notification: Performance of matching and sorting (n=277): time 0.03196/0.7178, allocations: 12.75 MB / 0.5572 GB, free: 5.164 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00461/0.7224, allocations: 3.359 MB / 0.5604 GB, free: 1.648 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006909/0.7293, allocations: 3.051 MB / 0.5634 GB, free: 14.59 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004736/0.7299, allocations: 65.7 kB / 0.5635 GB, free: 14.52 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002411/0.7323, allocations: 2.408 MB / 0.5658 GB, free: 12.07 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001858/0.7342, allocations: 0.9942 MB / 0.5668 GB, free: 11.06 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003574/0.7378, allocations: 1.08 MB / 0.5679 GB, free: 9.973 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001254/0.7379, allocations: 301.1 kB / 0.5681 GB, free: 9.676 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004094/0.742, allocations: 1.912 MB / 0.57 GB, free: 7.758 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006305/0.7483, allocations: 4.657 MB / 0.5746 GB, free: 1.766 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.3152/1.064, allocations: 7.148 MB / 0.5815 GB, free: 120.3 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001722/1.064, allocations: 29.72 kB / 0.5816 GB, free: 120.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=725) (initialization): time 0.01511/1.079, allocations: 7.054 MB / 0.5885 GB, free: 118.3 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.965e-05/1.079, allocations: 46.47 kB / 0.5885 GB, free: 118.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001227/1.079, allocations: 94.12 kB / 0.5886 GB, free: 118.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001194/1.08, allocations: 0.5402 MB / 0.5891 GB, free: 118.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004178/1.085, allocations: 1.233 MB / 0.5903 GB, free: 118 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00764/1.092, allocations: 6.793 MB / 0.597 GB, free: 113.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005093/1.097, allocations: 283.8 kB / 0.5972 GB, free: 113.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001235/1.099, allocations: 310.3 kB / 0.5975 GB, free: 113.7 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 432 * Number of states: 0 () * Number of discrete variables: 15 (trail.color[3],trail.color[2],trail.color[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],chassis.color[3],chassis.color[2],chassis.color[1],bodyRear.sphereColor[3],bodyRear.sphereColor[2],bodyRear.sphereColor[1],bodyFront.sphereColor[3],bodyFront.sphereColor[2],bodyFront.sphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (661): * Single equations (assignments): 655 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(6,26,55.6%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003911/1.102, allocations: 1.848 MB / 0.5993 GB, free: 112.8 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006717/1.103, allocations: 293.8 kB / 0.5996 GB, free: 112.8 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005804/1.109, allocations: 3.841 MB / 0.6034 GB, free: 111.3 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001052/1.109, allocations: 40.09 kB / 0.6034 GB, free: 111.3 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.332e-05/1.109, allocations: 13.34 kB / 0.6034 GB, free: 111.3 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.101e-05/1.109, allocations: 10.5 kB / 0.6034 GB, free: 111.3 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02245/1.132, allocations: 10.96 MB / 0.6141 GB, free: 107.1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.958e-05/1.132, allocations: 7.625 kB / 0.6141 GB, free: 107.1 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001794/1.133, allocations: 395.1 kB / 0.6145 GB, free: 107 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001569/1.135, allocations: 0.5531 MB / 0.615 GB, free: 106.9 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001985/1.135, allocations: 55.64 kB / 0.6151 GB, free: 106.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01099/1.146, allocations: 7.374 MB / 0.6223 GB, free: 102.5 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.003946/1.15, allocations: 3.126 MB / 0.6254 GB, free: 100.4 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01356/1.164, allocations: 5.848 MB / 0.6311 GB, free: 97.95 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00229/1.166, allocations: 0.6208 MB / 0.6317 GB, free: 97.58 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001146/1.167, allocations: 53.73 kB / 0.6317 GB, free: 97.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002245/1.17, allocations: 130.7 kB / 0.6318 GB, free: 97.52 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006595/1.17, allocations: 179.9 kB / 0.632 GB, free: 97.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000269/1.171, allocations: 74.58 kB / 0.6321 GB, free: 97.46 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.005477/1.176, allocations: 1.948 MB / 0.634 GB, free: 96.77 MB / 446.1 MB Notification: Performance of sort global known variables: time 4.2e-07/1.176, allocations: 1.125 kB / 0.634 GB, free: 96.77 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.007508/1.184, allocations: 0.9846 MB / 0.635 GB, free: 96.63 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 8 ($STATESET1.x,bodyRear.r[1],bodyRear.r[2],bodyRear.phi,idealWheelFront.phi_roll,revolute.phi,revolute.w,engineTorque.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 (208): * Single equations (assignments): 202 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(6,26,55.6%), (3,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007627/1.184, allocations: 188.6 kB / 0.6351 GB, free: 96.49 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.008668/1.193, allocations: 5.051 MB / 0.6401 GB, free: 92.04 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.666e-06/1.193, allocations: 0 / 0.6401 GB, free: 92.04 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003401/1.196, allocations: 2.135 MB / 0.6422 GB, free: 90.15 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003928/1.2, allocations: 449.5 kB / 0.6426 GB, free: 89.79 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02092/1.221, allocations: 11.23 MB / 0.6535 GB, free: 79.35 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005074/1.226, allocations: 3.004 MB / 0.6565 GB, free: 76.71 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00148/1.228, allocations: 284.3 kB / 0.6568 GB, free: 76.43 MB / 446.1 MB Notification: Performance of SimCode: time 1.703e-06/1.228, allocations: 0 / 0.6568 GB, free: 76.43 MB / 446.1 MB Notification: Performance of Templates: time 0.381/1.609, allocations: 88.25 MB / 0.7429 GB, free: 130.8 MB / 462.1 MB make -j1 -f PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.SingleTrackWithEngine.makefile make -j1 -f PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.SingleTrackWithEngine.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.SingleTrackWithEngineCalcHelperMain.o OMCppPlanarMechanics_PlanarMechanics.VehicleComponents.Examples.SingleTrackWithEngineCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPlanarMechanics_PlanarMechanics.VehicleComponents.Examples.SingleTrackWithEngineCalcHelperMain.o] Error 1