Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TwoTrackWithDifferentialGear.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.TwoTrackWithDifferentialGear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TwoTrackWithDifferentialGear") translateModel(PlanarMechanics.VehicleComponents.Examples.TwoTrackWithDifferentialGear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TwoTrackWithDifferentialGear") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001132/0.001132, allocations: 99.75 kB / 15.71 MB, free: 452 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.001772/0.001773, allocations: 179.8 kB / 16.58 MB, free: 6.879 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.602/1.602, allocations: 223.2 MB / 240.6 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo): time 0.2705/0.2705, allocations: 9.1 MB / 300.8 MB, free: 2.727 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003837/0.0003837, allocations: 8 kB / 363.7 MB, free: 13.01 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1542/0.1546, allocations: 52.42 MB / 416.2 MB, free: 8.539 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TwoTrackWithDifferentialGear): time 0.4003/0.5549, allocations: 69.03 MB / 485.2 MB, free: 14.74 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.04948/0.6045, allocations: 14.72 MB / 499.9 MB, free: 4.398 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02277/0.6273, allocations: 283.7 kB / 0.4885 GB, free: 4.367 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01504/0.6424, allocations: 3.418 MB / 0.4918 GB, free: 3.156 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0487/0.6911, allocations: 11.69 MB / 0.5032 GB, free: 13.92 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006372/0.6975, allocations: 440 kB / 0.5036 GB, free: 13.67 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0124/0.71, allocations: 5.125 MB / 0.5086 GB, free: 10.68 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004891/0.7149, allocations: 1.662 MB / 0.5103 GB, free: 9.605 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004712/0.7197, allocations: 1.548 MB / 0.5118 GB, free: 8.051 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005556/0.7253, allocations: 2.378 MB / 0.5141 GB, free: 5.66 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001478/0.7268, allocations: 240.7 kB / 0.5143 GB, free: 5.426 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003408/0.7302, allocations: 0.8114 MB / 0.5151 GB, free: 4.613 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003198/0.7334, allocations: 1.944 MB / 0.517 GB, free: 2.664 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002509/0.7359, allocations: 1.084 MB / 0.5181 GB, free: 1.57 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009951/0.7459, allocations: 5.939 MB / 0.5239 GB, free: 11.62 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.081e-05/0.746, allocations: 0 / 0.5239 GB, free: 11.62 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.745e-06/0.746, allocations: 3.938 kB / 0.5239 GB, free: 11.61 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.000366/0.7464, allocations: 0.75 kB / 0.5239 GB, free: 11.61 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2054 * Number of variables: 2054 Notification: Performance of Generate backend data structure: time 0.0445/0.7909, allocations: 10.79 MB / 0.5344 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.342e-05/0.791, allocations: 12.03 kB / 0.5344 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009625/0.8006, allocations: 2.09 MB / 0.5365 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00722/0.8079, allocations: 2.43 MB / 0.5388 GB, free: 12.13 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004654/0.8084, allocations: 295.5 kB / 0.5391 GB, free: 11.84 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00241/0.8108, allocations: 407.6 kB / 0.5395 GB, free: 11.44 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04368/0.8545, allocations: 15.27 MB / 0.5544 GB, free: 11.32 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004324/0.855, allocations: 59.47 kB / 0.5545 GB, free: 11.26 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002475/0.8575, allocations: 191.8 kB / 0.5547 GB, free: 11.07 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005703/0.8632, allocations: 2.859 MB / 0.5575 GB, free: 8.211 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04192/0.9052, allocations: 15.99 MB / 0.5731 GB, free: 8.207 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3593/1.265, allocations: 52.71 MB / 0.6245 GB, free: 85.16 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03658/1.301, allocations: 7.667 MB / 0.632 GB, free: 82.75 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005782/1.307, allocations: 2.973 MB / 0.6349 GB, free: 81.68 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03074/1.338, allocations: 20.41 MB / 0.6549 GB, free: 67.64 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01039/1.348, allocations: 3.795 MB / 0.6586 GB, free: 66.55 MB / 446.1 MB Notification: Performance of pre-optimization done (n=429): time 8.556e-06/1.348, allocations: 2.312 kB / 0.6586 GB, free: 66.55 MB / 446.1 MB Notification: Performance of matching and sorting (n=504): time 0.06468/1.413, allocations: 42.37 MB / 0.7 GB, free: 34.89 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002996/1.413, allocations: 0.8264 MB / 0.7008 GB, free: 33.88 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005914/1.419, allocations: 4.337 MB / 0.705 GB, free: 29.52 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008112/1.42, allocations: 101.7 kB / 0.7051 GB, free: 29.41 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002487/1.423, allocations: 3.503 MB / 0.7085 GB, free: 25.91 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002115/1.425, allocations: 1.803 MB / 0.7103 GB, free: 24.13 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004234/1.425, allocations: 176 kB / 0.7104 GB, free: 23.96 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000412/1.425, allocations: 0.6743 MB / 0.7111 GB, free: 23.27 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004512/1.43, allocations: 2.965 MB / 0.714 GB, free: 20.3 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006481/1.437, allocations: 7.102 MB / 0.7209 GB, free: 11.21 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007439/1.444, allocations: 4.603 MB / 0.7254 GB, free: 6.594 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.58e-05/1.444, allocations: 40 kB / 0.7255 GB, free: 6.555 MB / 446.1 MB Notification: Performance of matching and sorting (n=1159) (initialization): time 0.02526/1.469, allocations: 10.99 MB / 0.7362 GB, free: 11.53 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001622/1.47, allocations: 93.7 kB / 0.7363 GB, free: 11.43 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002918/1.47, allocations: 140 kB / 0.7364 GB, free: 11.3 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002338/1.472, allocations: 0.9477 MB / 0.7373 GB, free: 10.33 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007831/1.48, allocations: 2.009 MB / 0.7393 GB, free: 8.32 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0118/1.492, allocations: 7.469 MB / 0.7466 GB, free: 0.7188 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007565/1.5, allocations: 487.2 kB / 0.7471 GB, free: 248 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.3202/1.82, allocations: 481 kB / 0.7475 GB, free: 123.4 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 641 * Number of states: 0 () * Number of discrete variables: 41 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],rightTrail.color[3],rightTrail.color[2],rightTrail.color[1],leftTrail.color[3],leftTrail.color[2],leftTrail.color[1],fixedTranslation5.color[3],fixedTranslation5.color[2],fixedTranslation5.color[1],fixedTranslation4.color[3],fixedTranslation4.color[2],fixedTranslation4.color[1],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],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[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 (1074): * Single equations (assignments): 1064 * Array equations: 4 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,87.5%) 51} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007487/1.827, allocations: 2.532 MB / 0.75 GB, free: 123.3 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00113/1.828, allocations: 473.8 kB / 0.7505 GB, free: 123.3 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01066/1.839, allocations: 5.848 MB / 0.7562 GB, free: 123 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001753/1.839, allocations: 66.09 kB / 0.7562 GB, free: 123 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.63e-05/1.839, allocations: 15.97 kB / 0.7562 GB, free: 123 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.929e-05/1.84, allocations: 34.34 kB / 0.7563 GB, free: 123 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03133/1.871, allocations: 18.9 MB / 0.7747 GB, free: 114.9 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.48e-05/1.871, allocations: 9.188 kB / 0.7747 GB, free: 114.9 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003333/1.874, allocations: 0.8011 MB / 0.7755 GB, free: 114.8 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001663/1.876, allocations: 0.7805 MB / 0.7763 GB, free: 114.6 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004213/1.876, allocations: 98 kB / 0.7764 GB, free: 114.6 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009264/1.886, allocations: 6.79 MB / 0.783 GB, free: 111.1 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.639e-05/1.886, allocations: 12.53 kB / 0.783 GB, free: 111.1 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01924/1.905, allocations: 9.994 MB / 0.7928 GB, free: 107.2 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002155/1.907, allocations: 0.5401 MB / 0.7933 GB, free: 106.8 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001067/1.908, allocations: 91.5 kB / 0.7934 GB, free: 106.7 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002279/1.911, allocations: 237.3 kB / 0.7936 GB, free: 106.7 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008041/1.911, allocations: 317.8 kB / 0.7939 GB, free: 106.6 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003164/1.912, allocations: 140.3 kB / 0.7941 GB, free: 106.6 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.005751/1.917, allocations: 2.727 MB / 0.7967 GB, free: 105.6 MB / 462.1 MB Notification: Performance of sort global known variables: time 5.61e-07/1.918, allocations: 0 / 0.7967 GB, free: 105.6 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.009442/1.927, allocations: 1.513 MB / 0.7982 GB, free: 105.4 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 36 * Number of states: 16 (body1.r[1],body1.r[2],body1.v[1],body1.v[2],body1.phi,body1.w,inertia.phi,inertia.w,inertia1.phi,inertia1.w,inertia2.phi,inertia2.w,inertia3.phi,inertia3.w,revolute.phi,revolute2.w) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (433): * Single equations (assignments): 422 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,87.5%) 51} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001201/1.928, allocations: 277.8 kB / 0.7985 GB, free: 105.2 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01599/1.944, allocations: 8.185 MB / 0.8065 GB, free: 102.1 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.657e-05/1.944, allocations: 0 / 0.8065 GB, free: 102.1 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007365/1.952, allocations: 3.594 MB / 0.81 GB, free: 100.5 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007666/1.959, allocations: 0.6605 MB / 0.8106 GB, free: 100.2 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0331/1.993, allocations: 16.53 MB / 0.8267 GB, free: 85.45 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005197/1.998, allocations: 4.021 MB / 0.8307 GB, free: 82.32 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001944/2, allocations: 449.1 kB / 0.8311 GB, free: 81.91 MB / 462.1 MB Notification: Performance of SimCode: time 1.372e-06/2, allocations: 0 / 0.8311 GB, free: 81.91 MB / 462.1 MB Notification: Performance of Templates: time 0.6003/2.6, allocations: 204 MB / 1.03 GB, free: 60.11 MB / 478.1 MB make -j1 -f PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TwoTrackWithDifferentialGear.makefile make -j1 -f PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TwoTrackWithDifferentialGear.makefile clang++ NOTFOUND -Winvalid-pch -O0 -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/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppPlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TwoTrackWithDifferentialGearCalcHelperMain.o OMCppPlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TwoTrackWithDifferentialGearCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TwoTrackWithDifferentialGearCalcHelperMain.o] Error 1