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.0008877/0.000888, allocations: 92.16 kB / 16.02 MB, free: 80 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.001055/0.001055, allocations: 179.7 kB / 16.92 MB, free: 6.652 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.533/1.533, allocations: 223.2 MB / 240.9 MB, free: 5.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo): time 0.2542/0.2542, allocations: 9.103 MB / 301.2 MB, free: 2.645 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004062/0.0004065, allocations: 8 kB / 364.4 MB, free: 12.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1368/0.1372, allocations: 52.43 MB / 416.8 MB, free: 8.16 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TwoTrackWithDifferentialGear): time 0.3539/0.4912, allocations: 74.22 MB / 491 MB, free: 9.914 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0507/0.542, allocations: 15.22 MB / 0.4944 GB, free: 15.41 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02679/0.5688, allocations: 283.9 kB / 0.4946 GB, free: 15.38 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003073/0.572, allocations: 0.5294 MB / 0.4952 GB, free: 15.15 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009003/0.581, allocations: 2.044 MB / 0.4972 GB, free: 14.14 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002033/0.583, allocations: 415.3 kB / 0.4975 GB, free: 13.91 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01245/0.5955, allocations: 6.218 MB / 0.5036 GB, free: 11.67 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004653/0.6002, allocations: 1.692 MB / 0.5053 GB, free: 11 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005148/0.6054, allocations: 1.478 MB / 0.5067 GB, free: 10.4 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006531/0.612, allocations: 2.406 MB / 0.5091 GB, free: 9.512 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002402/0.6144, allocations: 242.8 kB / 0.5093 GB, free: 9.512 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004756/0.6192, allocations: 0.9171 MB / 0.5102 GB, free: 9.062 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004592/0.6238, allocations: 2.008 MB / 0.5122 GB, free: 7.484 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00742/0.6312, allocations: 2.677 MB / 0.5148 GB, free: 4.938 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01221/0.6435, allocations: 5.932 MB / 0.5206 GB, free: 15.18 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.446e-06/0.6436, allocations: 0 / 0.5206 GB, free: 15.18 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.947e-06/0.6436, allocations: 0 / 0.5206 GB, free: 15.18 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0004817/0.6441, allocations: 0 / 0.5206 GB, free: 15.18 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.05215/0.6962, allocations: 10.75 MB / 0.5311 GB, free: 4.34 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.035e-05/0.6963, allocations: 8.031 kB / 0.5311 GB, free: 4.332 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009978/0.7063, allocations: 2.087 MB / 0.5331 GB, free: 2.234 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008044/0.7144, allocations: 2.471 MB / 0.5355 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005709/0.7151, allocations: 299.9 kB / 0.5358 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002938/0.718, allocations: 407.5 kB / 0.5362 GB, free: 15.01 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04721/0.7653, allocations: 15.3 MB / 0.5511 GB, free: 14.86 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005676/0.7659, allocations: 63.38 kB / 0.5512 GB, free: 14.8 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00273/0.7687, allocations: 187.8 kB / 0.5514 GB, free: 14.61 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00625/0.775, allocations: 2.859 MB / 0.5542 GB, free: 11.75 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04418/0.8192, allocations: 16.04 MB / 0.5698 GB, free: 11.69 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3723/1.191, allocations: 52.73 MB / 0.6213 GB, free: 85.1 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03205/1.224, allocations: 7.689 MB / 0.6288 GB, free: 82.63 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004737/1.228, allocations: 2.992 MB / 0.6318 GB, free: 81.56 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02675/1.255, allocations: 20.39 MB / 0.6517 GB, free: 67.54 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01167/1.267, allocations: 3.805 MB / 0.6554 GB, free: 66.45 MB / 446.1 MB Notification: Performance of pre-optimization done (n=429): time 1.047e-05/1.267, allocations: 4 kB / 0.6554 GB, free: 66.45 MB / 446.1 MB Notification: Performance of matching and sorting (n=504): time 0.06566/1.333, allocations: 42.43 MB / 0.6968 GB, free: 37.79 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002559/1.333, allocations: 0.8264 MB / 0.6976 GB, free: 36.78 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005503/1.338, allocations: 4.361 MB / 0.7019 GB, free: 32.4 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007776/1.339, allocations: 110 kB / 0.702 GB, free: 32.29 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002099/1.341, allocations: 3.499 MB / 0.7054 GB, free: 28.79 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001817/1.343, allocations: 1.798 MB / 0.7072 GB, free: 27.01 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007559/1.344, allocations: 0.7235 MB / 0.7079 GB, free: 26.28 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.423e-05/1.344, allocations: 301.1 kB / 0.7082 GB, free: 25.98 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004256/1.348, allocations: 3 MB / 0.7111 GB, free: 22.98 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005624/1.354, allocations: 7.133 MB / 0.7181 GB, free: 13.86 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01085/1.365, allocations: 11.15 MB / 0.729 GB, free: 0.7188 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.591e-05/1.365, allocations: 43.94 kB / 0.729 GB, free: 0.6758 MB / 446.1 MB Notification: Performance of matching and sorting (n=1159) (initialization): time 0.02132/1.386, allocations: 11.06 MB / 0.7398 GB, free: 5.586 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002087/1.386, allocations: 93.7 kB / 0.7399 GB, free: 5.488 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002344/1.387, allocations: 144 kB / 0.74 GB, free: 5.348 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002275/1.389, allocations: 0.936 MB / 0.7409 GB, free: 4.398 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007415/1.396, allocations: 2.004 MB / 0.7429 GB, free: 2.391 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01204/1.408, allocations: 7.506 MB / 0.7502 GB, free: 10.75 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006886/1.415, allocations: 483.1 kB / 0.7507 GB, free: 10.28 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001809/1.417, allocations: 483.9 kB / 0.7511 GB, free: 9.805 MB / 478.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 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,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 (not torn): 4 * 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): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (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 {(4,51,87.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007204/1.424, allocations: 2.531 MB / 0.7536 GB, free: 7.262 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001587/1.426, allocations: 482 kB / 0.7541 GB, free: 6.785 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01158/1.438, allocations: 5.849 MB / 0.7598 GB, free: 0.8867 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001728/1.438, allocations: 71.92 kB / 0.7599 GB, free: 0.8164 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.72e-05/1.438, allocations: 20 kB / 0.7599 GB, free: 0.7969 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.014e-05/1.438, allocations: 27.91 kB / 0.7599 GB, free: 0.7695 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3327/1.771, allocations: 18.92 MB / 0.7784 GB, free: 136 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.934e-05/1.771, allocations: 9.656 kB / 0.7784 GB, free: 136 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003752/1.775, allocations: 0.8091 MB / 0.7792 GB, free: 135.9 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001888/1.776, allocations: 0.7811 MB / 0.7799 GB, free: 135.7 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004682/1.777, allocations: 98.12 kB / 0.78 GB, free: 135.6 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008848/1.786, allocations: 6.804 MB / 0.7867 GB, free: 132.2 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.909e-06/1.786, allocations: 13.03 kB / 0.7867 GB, free: 132.2 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01645/1.802, allocations: 10.04 MB / 0.7965 GB, free: 128.3 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002147/1.805, allocations: 0.5348 MB / 0.797 GB, free: 128.2 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006784/1.805, allocations: 98.95 kB / 0.7971 GB, free: 128.1 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002259/1.807, allocations: 232.6 kB / 0.7973 GB, free: 128 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007744/1.808, allocations: 325.6 kB / 0.7976 GB, free: 128 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002926/1.809, allocations: 134.5 kB / 0.7978 GB, free: 128 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.005486/1.814, allocations: 2.753 MB / 0.8005 GB, free: 127 MB / 478.1 MB Notification: Performance of sort global known variables: time 3.21e-07/1.814, allocations: 4.469 kB / 0.8005 GB, free: 127 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.009782/1.824, allocations: 1.511 MB / 0.8019 GB, free: 126.8 MB / 478.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 (not torn): 4 * 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): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (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 {(4,51,87.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001071/1.825, allocations: 284.7 kB / 0.8022 GB, free: 126.6 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01891/1.844, allocations: 8.218 MB / 0.8102 GB, free: 123.5 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-05/1.844, allocations: 4.625 kB / 0.8102 GB, free: 123.5 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007739/1.852, allocations: 3.612 MB / 0.8138 GB, free: 121.9 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009745/1.862, allocations: 0.6618 MB / 0.8144 GB, free: 121.6 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03085/1.892, allocations: 17.18 MB / 0.8312 GB, free: 109.6 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00554/1.898, allocations: 4.022 MB / 0.8351 GB, free: 106.5 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002113/1.9, allocations: 450.8 kB / 0.8355 GB, free: 106.1 MB / 478.1 MB Notification: Performance of SimCode: time 2.505e-06/1.9, allocations: 0 / 0.8355 GB, free: 106.1 MB / 478.1 MB Notification: Performance of Templates: time 0.5337/2.434, allocations: 203.9 MB / 1.035 GB, free: 68.3 MB / 478.1 MB make -j1 -f PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TwoTrackWithDifferentialGear.makefile make -j1 -f PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TwoTrackWithDifferentialGear.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.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