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.001093/0.001093, allocations: 115.2 kB / 16.42 MB, free: 6.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00115/0.00115, allocations: 187.9 kB / 17.35 MB, free: 5.762 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.34/1.34, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo): time 0.04495/0.04495, allocations: 9.116 MB / 300.3 MB, free: 5.836 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001194/0.001194, allocations: 59.91 kB / 415.3 MB, free: 21.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08164/0.08284, allocations: 51.45 MB / 466.8 MB, free: 1.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.SingleTrackWithEngine): time 0.01003/0.09291, allocations: 10.09 MB / 476.9 MB, free: 7.535 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005205/0.09814, allocations: 2.889 MB / 479.7 MB, free: 4.637 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001412/0.09959, allocations: 39.94 kB / 479.8 MB, free: 4.598 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001005/0.1007, allocations: 429 kB / 480.2 MB, free: 4.176 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003471/0.1041, allocations: 1.599 MB / 481.8 MB, free: 2.57 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004566/0.1046, allocations: 183.7 kB / 482 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003486/0.1081, allocations: 2.965 MB / 484.9 MB, free: 15.42 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001419/0.1095, allocations: 1.054 MB / 486 MB, free: 14.34 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001463/0.111, allocations: 1.097 MB / 487.1 MB, free: 13.23 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001799/0.1128, allocations: 1.572 MB / 488.7 MB, free: 11.66 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004325/0.1133, allocations: 264 kB / 488.9 MB, free: 11.4 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00161/0.1149, allocations: 0.8699 MB / 489.8 MB, free: 10.53 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001292/0.1162, allocations: 1.484 MB / 491.3 MB, free: 9.039 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001708/0.1179, allocations: 1.86 MB / 493.1 MB, free: 7.168 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005813/0.1237, allocations: 5.772 MB / 498.9 MB, free: 1.375 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.1238, allocations: 0 / 498.9 MB, free: 1.375 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.1238, allocations: 0 / 498.9 MB, free: 1.375 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.933e-05/0.1239, allocations: 0 / 498.9 MB, free: 1.375 MB / 366.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.0275/0.1514, allocations: 6.942 MB / 0.494 GB, free: 10.36 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/0.1515, allocations: 12.03 kB / 0.494 GB, free: 10.35 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007323/0.1588, allocations: 1.84 MB / 0.4958 GB, free: 8.5 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003146/0.162, allocations: 1.701 MB / 0.4975 GB, free: 6.754 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001615/0.1621, allocations: 188.9 kB / 0.4976 GB, free: 6.566 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007899/0.1629, allocations: 247.9 kB / 0.4979 GB, free: 6.324 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1951/0.358, allocations: 10.4 MB / 0.508 GB, free: 38.84 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.581e-05/0.3582, allocations: 36.03 kB / 0.5081 GB, free: 38.83 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003931/0.3586, allocations: 114.8 kB / 0.5082 GB, free: 38.79 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003621/0.3622, allocations: 2.157 MB / 0.5103 GB, free: 38.37 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02273/0.3849, allocations: 10.36 MB / 0.5204 GB, free: 35.2 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03783/0.4228, allocations: 33.41 MB / 0.553 GB, free: 6.051 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01647/0.4393, allocations: 4.318 MB / 0.5573 GB, free: 1.633 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002074/0.4414, allocations: 1.689 MB / 0.5589 GB, free: 15.94 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009613/0.451, allocations: 8.601 MB / 0.5673 GB, free: 6.359 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.46e-05/0.4511, allocations: 57.56 kB / 0.5674 GB, free: 6.297 MB / 398.1 MB Notification: Performance of pre-optimization done (n=237): time 4.248e-06/0.4511, allocations: 0 / 0.5674 GB, free: 6.297 MB / 398.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:342:7-342:48:writable] Error: Internal error BackendDAETransform.analyseStrongComponentBlock failed variables: equations: idealWheelFront.R[2,2] = cos(bodyFront.phi) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:346:7-346:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:196:5-196:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:107:7-107:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:8011:5-8011:89:writable] Error: Internal error Transformation module sort components failed Error: Internal error SimCode DAEmode: The model PlanarMechanics.VehicleComponents.Examples.SingleTrackWithEngine could not be translated