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.001024/0.001024, allocations: 97.02 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.001295/0.001296, allocations: 170.9 kB / 16.58 MB, free: 6.422 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.561/1.561, allocations: 223.2 MB / 240.6 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo): time 0.2682/0.2682, allocations: 9.101 MB / 300.8 MB, free: 2.719 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003365/0.0003365, allocations: 8 kB / 363.7 MB, free: 13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1481/0.1485, allocations: 52.43 MB / 416.2 MB, free: 8.523 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.SingleTrackWithEngine): time 0.3792/0.5277, allocations: 32.84 MB / 449 MB, free: 24.69 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0222/0.55, allocations: 7.449 MB / 456.4 MB, free: 19.51 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009456/0.5595, allocations: 132.4 kB / 456.6 MB, free: 19.5 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006171/0.5657, allocations: 1.601 MB / 458.2 MB, free: 18.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02043/0.5861, allocations: 5.656 MB / 463.8 MB, free: 16.43 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00306/0.5892, allocations: 174.7 kB / 464 MB, free: 16.34 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006481/0.5957, allocations: 3.318 MB / 467.3 MB, free: 15.07 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002875/0.5987, allocations: 0.9371 MB / 468.3 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003218/0.6019, allocations: 0.9607 MB / 469.2 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003539/0.6055, allocations: 1.568 MB / 470.8 MB, free: 13.88 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001428/0.6069, allocations: 153 kB / 470.9 MB, free: 13.88 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003131/0.6101, allocations: 0.6802 MB / 471.6 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003119/0.6132, allocations: 1.355 MB / 473 MB, free: 13.3 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002426/0.6156, allocations: 0.7367 MB / 473.7 MB, free: 12.76 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01025/0.6259, allocations: 4.237 MB / 477.9 MB, free: 11.78 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.247e-06/0.6259, allocations: 0 / 477.9 MB, free: 11.78 MB / 350.1 MB Notification: Performance of FrontEnd: time 5.27e-06/0.626, allocations: 0.6562 kB / 477.9 MB, free: 11.78 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0003103/0.6263, allocations: 1.5 kB / 477.9 MB, free: 11.78 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.02854/0.6548, allocations: 6.206 MB / 484.2 MB, free: 9.555 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.266e-05/0.6549, allocations: 9.531 kB / 484.2 MB, free: 9.555 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008535/0.6634, allocations: 1.88 MB / 486 MB, free: 8.562 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005604/0.6691, allocations: 1.671 MB / 487.7 MB, free: 7.402 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002602/0.6694, allocations: 184 kB / 487.9 MB, free: 7.312 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001546/0.6709, allocations: 244.8 kB / 488.1 MB, free: 7.223 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02526/0.6962, allocations: 10.4 MB / 498.5 MB, free: 1.043 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000137/0.6964, allocations: 31.66 kB / 498.6 MB, free: 1.012 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004845/0.6969, allocations: 119.8 kB / 498.7 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004227/0.7011, allocations: 2.15 MB / 0.4891 GB, free: 14.74 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03/0.7311, allocations: 10.33 MB / 0.4992 GB, free: 4.402 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06661/0.7978, allocations: 33.53 MB / 0.5319 GB, free: 2.211 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01785/0.8157, allocations: 4.336 MB / 0.5362 GB, free: 13.75 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003452/0.8192, allocations: 1.681 MB / 0.5378 GB, free: 12.07 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01347/0.8327, allocations: 8.601 MB / 0.5462 GB, free: 2.492 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.989e-05/0.8328, allocations: 60.52 kB / 0.5463 GB, free: 2.422 MB / 414.1 MB Notification: Performance of pre-optimization done (n=237): time 5.13e-06/0.8328, allocations: 0 / 0.5463 GB, free: 2.422 MB / 414.1 MB Notification: Performance of matching and sorting (n=277): time 0.03031/0.8631, allocations: 12.71 MB / 0.5587 GB, free: 5.559 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.004459/0.8676, allocations: 3.359 MB / 0.562 GB, free: 2.043 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005405/0.8731, allocations: 3.028 MB / 0.5649 GB, free: 15 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005047/0.8736, allocations: 65.7 kB / 0.565 GB, free: 14.93 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002416/0.876, allocations: 2.404 MB / 0.5673 GB, free: 12.49 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001265/0.8773, allocations: 0.9942 MB / 0.5683 GB, free: 11.48 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002491/0.8775, allocations: 116 kB / 0.5684 GB, free: 11.37 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0005954/0.8781, allocations: 0.5454 MB / 0.5689 GB, free: 10.82 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00341/0.8816, allocations: 1.881 MB / 0.5708 GB, free: 8.934 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005716/0.8873, allocations: 4.641 MB / 0.5753 GB, free: 2.957 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.3192/1.207, allocations: 2.981 MB / 0.5782 GB, free: 121.1 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001163/1.207, allocations: 27.31 kB / 0.5782 GB, free: 121.1 MB / 446.1 MB Notification: Performance of matching and sorting (n=725) (initialization): time 0.01531/1.222, allocations: 6.993 MB / 0.5851 GB, free: 120.6 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.302e-05/1.222, allocations: 50.25 kB / 0.5851 GB, free: 120.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001424/1.222, allocations: 95.47 kB / 0.5852 GB, free: 120.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001311/1.224, allocations: 0.5526 MB / 0.5857 GB, free: 120.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004909/1.229, allocations: 1.228 MB / 0.5869 GB, free: 120.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007977/1.237, allocations: 6.784 MB / 0.5936 GB, free: 117.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004601/1.241, allocations: 284.6 kB / 0.5938 GB, free: 117.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009959/1.242, allocations: 322.4 kB / 0.5942 GB, free: 117.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,55.6%) 26,(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003872/1.246, allocations: 1.849 MB / 0.596 GB, free: 116.3 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000565/1.247, allocations: 295.2 kB / 0.5962 GB, free: 116.3 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005726/1.252, allocations: 3.819 MB / 0.6 GB, free: 114.8 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001017/1.252, allocations: 44.83 kB / 0.6 GB, free: 114.8 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.432e-05/1.253, allocations: 7.688 kB / 0.6 GB, free: 114.8 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.296e-05/1.253, allocations: 13.48 kB / 0.6 GB, free: 114.8 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01875/1.271, allocations: 10.94 MB / 0.6107 GB, free: 110.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.488e-05/1.271, allocations: 7.375 kB / 0.6107 GB, free: 110.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001527/1.273, allocations: 385.6 kB / 0.6111 GB, free: 110.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001224/1.274, allocations: 0.5595 MB / 0.6116 GB, free: 110.4 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001847/1.274, allocations: 56.59 kB / 0.6117 GB, free: 110.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009329/1.284, allocations: 7.364 MB / 0.6189 GB, free: 106 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.003484/1.287, allocations: 3.111 MB / 0.6219 GB, free: 103.9 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009723/1.297, allocations: 5.826 MB / 0.6276 GB, free: 101.5 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002334/1.299, allocations: 0.6322 MB / 0.6282 GB, free: 101.1 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006229/1.3, allocations: 52.52 kB / 0.6283 GB, free: 101.1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001271/1.301, allocations: 122.8 kB / 0.6284 GB, free: 101 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003927/1.302, allocations: 190.5 kB / 0.6286 GB, free: 101 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001513/1.302, allocations: 80.67 kB / 0.6287 GB, free: 101 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003492/1.305, allocations: 1.923 MB / 0.6305 GB, free: 100.3 MB / 446.1 MB Notification: Performance of sort global known variables: time 4.6e-07/1.305, allocations: 0 / 0.6305 GB, free: 100.3 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.006279/1.312, allocations: 0.9875 MB / 0.6315 GB, free: 100.2 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,55.6%) 26,(3,100.0%) 15} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000589/1.312, allocations: 192.5 kB / 0.6317 GB, free: 100 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.008641/1.321, allocations: 5.019 MB / 0.6366 GB, free: 97.86 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.037e-05/1.321, allocations: 0 / 0.6366 GB, free: 97.86 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00313/1.324, allocations: 2.126 MB / 0.6387 GB, free: 95.98 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002715/1.327, allocations: 449.8 kB / 0.6391 GB, free: 95.61 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01704/1.344, allocations: 10.96 MB / 0.6498 GB, free: 85.53 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002817/1.347, allocations: 3.006 MB / 0.6527 GB, free: 83.12 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001317/1.348, allocations: 284.8 kB / 0.653 GB, free: 82.86 MB / 446.1 MB Notification: Performance of SimCode: time 2.375e-06/1.348, allocations: 0 / 0.653 GB, free: 82.86 MB / 446.1 MB Notification: Performance of Templates: time 0.1108/1.459, allocations: 87.6 MB / 0.7385 GB, free: 11.71 MB / 462.1 MB make -j1 -f PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.SingleTrackWithEngine.makefile make -j1 -f PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.SingleTrackWithEngine.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.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