Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel.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.TestDryFrictionWheel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel") translateModel(PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009594/0.0009593, allocations: 98.88 kB / 16.02 MB, free: 76 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.0009127/0.0009126, allocations: 183.7 kB / 16.92 MB, free: 6.77 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.59/1.59, allocations: 223.3 MB / 241 MB, free: 5.254 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo): time 0.2501/0.2501, allocations: 9.1 MB / 301.2 MB, free: 2.648 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003568/0.000357, allocations: 8 kB / 364.3 MB, free: 12.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.137/0.1374, allocations: 52.44 MB / 416.8 MB, free: 8.156 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel): time 0.3207/0.4582, allocations: 22.78 MB / 439.6 MB, free: 29.78 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01404/0.4722, allocations: 5.484 MB / 445 MB, free: 27.87 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006224/0.4785, allocations: 86.53 kB / 445.1 MB, free: 27.86 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001098/0.4796, allocations: 305.2 kB / 445.4 MB, free: 27.75 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003921/0.4836, allocations: 1.322 MB / 446.8 MB, free: 27.14 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000524/0.4841, allocations: 137.9 kB / 446.9 MB, free: 27.07 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00372/0.4878, allocations: 3.477 MB / 450.4 MB, free: 25.88 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001128/0.489, allocations: 0.7859 MB / 451.2 MB, free: 25.59 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001181/0.4902, allocations: 0.7448 MB / 451.9 MB, free: 25.29 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001649/0.4918, allocations: 1.308 MB / 453.2 MB, free: 24.85 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003193/0.4922, allocations: 129.6 kB / 453.3 MB, free: 24.85 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001568/0.4937, allocations: 0.8212 MB / 454.2 MB, free: 24.65 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009689/0.4947, allocations: 1.137 MB / 455.3 MB, free: 24.25 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001199/0.4959, allocations: 1.494 MB / 456.8 MB, free: 23.17 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00352/0.4995, allocations: 3.712 MB / 460.5 MB, free: 22.32 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.4995, allocations: 0 / 460.5 MB, free: 22.32 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.4995, allocations: 1.5 kB / 460.5 MB, free: 22.32 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.153e-05/0.4996, allocations: 3.125 kB / 460.5 MB, free: 22.32 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: 1162 * Number of variables: 1162 Notification: Performance of Generate backend data structure: time 0.01604/0.5156, allocations: 4.38 MB / 464.9 MB, free: 20.63 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.328e-05/0.5157, allocations: 8.875 kB / 464.9 MB, free: 20.63 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007778/0.5235, allocations: 1.813 MB / 466.7 MB, free: 20.33 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003953/0.5275, allocations: 1.41 MB / 468.1 MB, free: 19.46 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001526/0.5276, allocations: 148.2 kB / 468.3 MB, free: 19.39 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000579/0.5282, allocations: 200.2 kB / 468.5 MB, free: 19.32 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01931/0.5476, allocations: 8.456 MB / 476.9 MB, free: 15.6 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.19e-05/0.5477, allocations: 25.2 kB / 476.9 MB, free: 15.59 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003193/0.548, allocations: 90 kB / 477 MB, free: 15.52 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004131/0.5521, allocations: 1.885 MB / 478.9 MB, free: 15.13 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0222/0.5744, allocations: 8.138 MB / 487 MB, free: 12.09 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04734/0.6217, allocations: 25.94 MB / 0.501 GB, free: 2.547 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01222/0.634, allocations: 2.872 MB / 0.5038 GB, free: 15.56 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002504/0.6366, allocations: 1.072 MB / 0.5048 GB, free: 14.48 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008483/0.6451, allocations: 5.023 MB / 0.5097 GB, free: 8.965 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.584e-05/0.6452, allocations: 47.88 kB / 0.5098 GB, free: 8.906 MB / 382.1 MB Notification: Performance of pre-optimization done (n=155): time 4.399e-06/0.6452, allocations: 0 / 0.5098 GB, free: 8.906 MB / 382.1 MB Notification: Performance of matching and sorting (n=173): time 0.01871/0.6639, allocations: 7.939 MB / 0.5175 GB, free: 0.832 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.768e-05/0.664, allocations: 72.66 kB / 0.5176 GB, free: 0.75 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005697/0.6697, allocations: 2.593 MB / 0.5201 GB, free: 14.12 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001535/0.6699, allocations: 61.62 kB / 0.5202 GB, free: 14.06 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001925/0.6718, allocations: 2.051 MB / 0.5222 GB, free: 11.98 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007891/0.6726, allocations: 0.6321 MB / 0.5228 GB, free: 11.34 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006916/0.6733, allocations: 342.7 kB / 0.5231 GB, free: 10.99 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001176/0.6734, allocations: 305.1 kB / 0.5234 GB, free: 10.69 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002729/0.6762, allocations: 1.37 MB / 0.5248 GB, free: 9.316 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004492/0.6807, allocations: 3.532 MB / 0.5282 GB, free: 4.719 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007449/0.6882, allocations: 5.305 MB / 0.5334 GB, free: 14.36 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.329e-05/0.6883, allocations: 20 kB / 0.5334 GB, free: 14.34 MB / 414.1 MB Notification: Performance of matching and sorting (n=531) (initialization): time 0.01066/0.699, allocations: 5.1 MB / 0.5384 GB, free: 9.234 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001273/0.6991, allocations: 40.06 kB / 0.5384 GB, free: 9.195 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000147/0.6993, allocations: 76 kB / 0.5385 GB, free: 9.121 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009241/0.7002, allocations: 313.5 kB / 0.5388 GB, free: 8.809 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003147/0.7034, allocations: 0.8968 MB / 0.5397 GB, free: 7.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004139/0.7075, allocations: 3.042 MB / 0.5426 GB, free: 4.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003493/0.711, allocations: 195.9 kB / 0.5428 GB, free: 4.539 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007012/0.7118, allocations: 240 kB / 0.5431 GB, free: 4.305 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 (490): * Single equations (assignments): 484 * 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.003811/0.7156, allocations: 1.57 MB / 0.5446 GB, free: 2.727 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006417/0.7162, allocations: 229 kB / 0.5448 GB, free: 2.5 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004776/0.721, allocations: 2.347 MB / 0.5471 GB, free: 136 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001034/0.7212, allocations: 27.98 kB / 0.5471 GB, free: 108 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-05/0.7212, allocations: 7.984 kB / 0.5471 GB, free: 100 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.617e-05/0.7212, allocations: 3.984 kB / 0.5471 GB, free: 96 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01336/0.7346, allocations: 6.249 MB / 0.5532 GB, free: 9.707 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.15e-05/0.7346, allocations: 4 kB / 0.5532 GB, free: 9.703 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001069/0.7357, allocations: 255.6 kB / 0.5535 GB, free: 9.453 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006278/0.7363, allocations: 210.5 kB / 0.5537 GB, free: 9.242 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001413/0.7365, allocations: 35.98 kB / 0.5537 GB, free: 9.207 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003509/0.74, allocations: 2.601 MB / 0.5563 GB, free: 6.48 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.404e-06/0.7401, allocations: 8.062 kB / 0.5563 GB, free: 6.473 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006625/0.7467, allocations: 3.59 MB / 0.5598 GB, free: 2.82 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001033/0.7478, allocations: 314.1 kB / 0.5601 GB, free: 2.492 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006398/0.7484, allocations: 28 kB / 0.5601 GB, free: 2.465 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0013/0.7497, allocations: 79.84 kB / 0.5602 GB, free: 2.387 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002229/0.75, allocations: 89.19 kB / 0.5603 GB, free: 2.297 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001152/0.7501, allocations: 51.98 kB / 0.5603 GB, free: 2.246 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003748/0.7538, allocations: 1.683 MB / 0.562 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of sort global known variables: time 3.61e-07/0.7538, allocations: 0 / 0.562 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00422/0.7581, allocations: 0.711 MB / 0.5626 GB, free: 15.83 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 (138): * Single equations (assignments): 132 * 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.0005386/0.7586, allocations: 179.1 kB / 0.5628 GB, free: 15.65 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006858/0.7655, allocations: 3.469 MB / 0.5662 GB, free: 12.17 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.244e-06/0.7655, allocations: 0 / 0.5662 GB, free: 12.17 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001998/0.7675, allocations: 1.242 MB / 0.5674 GB, free: 10.89 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003784/0.7713, allocations: 367 kB / 0.5678 GB, free: 10.54 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0166/0.7879, allocations: 8.857 MB / 0.5764 GB, free: 1.605 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3413/1.129, allocations: 2.597 MB / 0.579 GB, free: 106.3 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001065/1.13, allocations: 223.7 kB / 0.5792 GB, free: 106.3 MB / 446.1 MB Notification: Performance of SimCode: time 1.473e-06/1.13, allocations: 0 / 0.5792 GB, free: 106.3 MB / 446.1 MB Notification: Performance of Templates: time 0.108/1.238, allocations: 72.31 MB / 0.6498 GB, free: 68.17 MB / 446.1 MB make -j1 -f PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel.makefile make -j1 -f PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel.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.TestDryFrictionWheelCalcHelperMain.o OMCppPlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheelCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheelCalcHelperMain.o] Error 1