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.001244/0.001244, 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.001593/0.001593, allocations: 197 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.542/1.542, allocations: 222.9 MB / 240.5 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo): time 0.244/0.244, allocations: 9.099 MB / 299.7 MB, free: 1.953 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001298, allocations: 59.89 kB / 361.9 MB, free: 13.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.131/0.1324, allocations: 51.44 MB / 413.3 MB, free: 10 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TwoTrackWithDifferentialGear): time 0.3174/0.4498, allocations: 76.02 MB / 489.4 MB, free: 10.15 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.04546/0.4953, allocations: 15.27 MB / 0.4928 GB, free: 15.64 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02509/0.5205, allocations: 283.9 kB / 0.4931 GB, free: 15.61 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003274/0.5239, allocations: 0.5345 MB / 0.4936 GB, free: 15.38 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009867/0.5338, allocations: 2.042 MB / 0.4956 GB, free: 14.37 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00258/0.5364, allocations: 408.1 kB / 0.496 GB, free: 14.13 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01364/0.5501, allocations: 6.212 MB / 0.502 GB, free: 11.9 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006858/0.557, allocations: 1.733 MB / 0.5037 GB, free: 11.22 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005298/0.5623, allocations: 1.526 MB / 0.5052 GB, free: 10.59 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006346/0.5687, allocations: 2.458 MB / 0.5076 GB, free: 9.664 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002321/0.571, allocations: 269.4 kB / 0.5079 GB, free: 9.547 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004278/0.5753, allocations: 0.9339 MB / 0.5088 GB, free: 8.805 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004502/0.5799, allocations: 2.019 MB / 0.5108 GB, free: 7.066 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007291/0.5872, allocations: 2.682 MB / 0.5134 GB, free: 4.363 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009907/0.5971, allocations: 6.093 MB / 0.5193 GB, free: 14.26 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.5971, allocations: 0 / 0.5193 GB, free: 14.26 MB / 398.1 MB Notification: Performance of FrontEnd: time 9.81e-07/0.5971, allocations: 0 / 0.5193 GB, free: 14.26 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0005136/0.5977, allocations: 4 kB / 0.5193 GB, free: 14.25 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.05714/0.6548, allocations: 11.95 MB / 0.531 GB, free: 2.215 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.55e-05/0.6549, allocations: 8.031 kB / 0.531 GB, free: 2.207 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009039/0.6639, allocations: 2.049 MB / 0.533 GB, free: 152 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007915/0.6719, allocations: 2.472 MB / 0.5354 GB, free: 13.61 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000573/0.6725, allocations: 299.9 kB / 0.5357 GB, free: 13.32 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003393/0.6759, allocations: 403.6 kB / 0.5361 GB, free: 12.93 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04229/0.7182, allocations: 15.28 MB / 0.551 GB, free: 12.8 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004221/0.7187, allocations: 55.42 kB / 0.5511 GB, free: 12.74 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002378/0.7211, allocations: 191.8 kB / 0.5513 GB, free: 12.55 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006367/0.7275, allocations: 2.851 MB / 0.554 GB, free: 9.699 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04434/0.7719, allocations: 16.01 MB / 0.5697 GB, free: 9.668 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3739/1.146, allocations: 52.7 MB / 0.6211 GB, free: 87.3 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03267/1.179, allocations: 7.619 MB / 0.6286 GB, free: 84.87 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006148/1.185, allocations: 2.989 MB / 0.6315 GB, free: 83.8 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03375/1.218, allocations: 20.39 MB / 0.6514 GB, free: 69.78 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01282/1.231, allocations: 3.802 MB / 0.6551 GB, free: 68.7 MB / 446.1 MB Notification: Performance of pre-optimization done (n=429): time 2.668e-05/1.231, allocations: 0 / 0.6551 GB, free: 68.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=504): time 0.07494/1.306, allocations: 42.38 MB / 0.6965 GB, free: 37.53 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003233/1.307, allocations: 0.8302 MB / 0.6973 GB, free: 36.52 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006043/1.313, allocations: 4.361 MB / 0.7016 GB, free: 32.14 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001076/1.314, allocations: 107.7 kB / 0.7017 GB, free: 32.03 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002828/1.317, allocations: 3.498 MB / 0.7051 GB, free: 28.49 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002795/1.32, allocations: 1.803 MB / 0.7069 GB, free: 26.66 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002739/1.322, allocations: 1.68 MB / 0.7085 GB, free: 24.96 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.966e-05/1.322, allocations: 301.1 kB / 0.7088 GB, free: 24.67 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004628/1.327, allocations: 2.992 MB / 0.7117 GB, free: 21.67 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00664/1.334, allocations: 7.138 MB / 0.7187 GB, free: 12.54 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01421/1.348, allocations: 11.13 MB / 0.7296 GB, free: 15.43 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002229/1.348, allocations: 45.56 kB / 0.7296 GB, free: 15.38 MB / 462.1 MB Notification: Performance of matching and sorting (n=1159) (initialization): time 0.03002/1.378, allocations: 11.05 MB / 0.7404 GB, free: 4.293 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004236/1.379, allocations: 94.7 kB / 0.7405 GB, free: 4.195 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004747/1.379, allocations: 140 kB / 0.7406 GB, free: 4.059 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003168/1.382, allocations: 0.9397 MB / 0.7415 GB, free: 3.102 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008627/1.391, allocations: 1.996 MB / 0.7435 GB, free: 1.102 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01537/1.407, allocations: 7.519 MB / 0.7508 GB, free: 9.438 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008014/1.415, allocations: 471.2 kB / 0.7513 GB, free: 8.977 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002247/1.417, allocations: 491.9 kB / 0.7517 GB, free: 8.496 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.007652/1.425, allocations: 2.528 MB / 0.7542 GB, free: 5.953 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002563/1.427, allocations: 478 kB / 0.7547 GB, free: 5.48 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2793/1.706, allocations: 5.845 MB / 0.7604 GB, free: 142 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002113/1.707, allocations: 69.62 kB / 0.7604 GB, free: 142 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.706e-05/1.707, allocations: 15.94 kB / 0.7605 GB, free: 142 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001168/1.707, allocations: 33.05 kB / 0.7605 GB, free: 142 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0291/1.736, allocations: 18.91 MB / 0.779 GB, free: 135.5 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-05/1.736, allocations: 14.92 kB / 0.779 GB, free: 135.5 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003473/1.74, allocations: 0.8015 MB / 0.7798 GB, free: 135.5 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001885/1.741, allocations: 0.7773 MB / 0.7805 GB, free: 135.3 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004911/1.742, allocations: 109.4 kB / 0.7806 GB, free: 135.2 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008466/1.75, allocations: 6.803 MB / 0.7873 GB, free: 131.8 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.528e-05/1.751, allocations: 13.53 kB / 0.7873 GB, free: 131.8 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01879/1.769, allocations: 10.02 MB / 0.7971 GB, free: 127.9 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001706/1.771, allocations: 0.5157 MB / 0.7976 GB, free: 127.8 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001504/1.773, allocations: 93.09 kB / 0.7977 GB, free: 127.7 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003167/1.776, allocations: 228.8 kB / 0.7979 GB, free: 127.7 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009849/1.777, allocations: 326.4 kB / 0.7982 GB, free: 127.6 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000536/1.777, allocations: 139 kB / 0.7983 GB, free: 127.6 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.006606/1.784, allocations: 2.753 MB / 0.801 GB, free: 126.6 MB / 478.1 MB Notification: Performance of sort global known variables: time 7.92e-07/1.784, allocations: 0 / 0.801 GB, free: 126.6 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.008394/1.792, allocations: 1.509 MB / 0.8025 GB, free: 126.4 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.0008381/1.793, allocations: 285.3 kB / 0.8028 GB, free: 126.2 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01499/1.808, allocations: 8.216 MB / 0.8108 GB, free: 123.1 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.335e-05/1.808, allocations: 0 / 0.8108 GB, free: 123.1 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005875/1.814, allocations: 3.604 MB / 0.8143 GB, free: 121.5 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004428/1.819, allocations: 0.6572 MB / 0.8149 GB, free: 121.2 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02165/1.84, allocations: 16.92 MB / 0.8315 GB, free: 110.3 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004065/1.844, allocations: 4.022 MB / 0.8354 GB, free: 107.2 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001813/1.846, allocations: 452.9 kB / 0.8358 GB, free: 106.8 MB / 478.1 MB Notification: Performance of SimCode: time 1.113e-06/1.846, allocations: 0 / 0.8358 GB, free: 106.8 MB / 478.1 MB Notification: Performance of Templates: time 0.5277/2.374, allocations: 205 MB / 1.036 GB, free: 68.38 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