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.001352/0.001352, allocations: 114.6 kB / 16.42 MB, free: 6.492 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.001462/0.001462, allocations: 185.7 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.28/1.28, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo): time 0.04449/0.04449, allocations: 9.127 MB / 300.3 MB, free: 5.832 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001188/0.001188, allocations: 59.91 kB / 415.3 MB, free: 21.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08204/0.08324, allocations: 51.44 MB / 466.7 MB, free: 1.672 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.SingleTrackWithEngine): time 0.009843/0.09312, allocations: 10.09 MB / 476.8 MB, free: 7.531 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005141/0.09829, allocations: 2.889 MB / 479.7 MB, free: 4.633 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008334/0.09915, allocations: 39.94 kB / 479.8 MB, free: 4.594 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008051/0.1, allocations: 433 kB / 480.2 MB, free: 4.168 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003054/0.1031, allocations: 1.642 MB / 481.8 MB, free: 2.52 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004387/0.1035, allocations: 187.6 kB / 482 MB, free: 2.336 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002913/0.1064, allocations: 2.983 MB / 485 MB, free: 15.35 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001164/0.1076, allocations: 1.054 MB / 486.1 MB, free: 14.27 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001223/0.1089, allocations: 1.078 MB / 487.1 MB, free: 13.18 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001643/0.1105, allocations: 1.584 MB / 488.7 MB, free: 11.59 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003756/0.1109, allocations: 264 kB / 489 MB, free: 11.34 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001505/0.1124, allocations: 0.8699 MB / 489.8 MB, free: 10.46 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001247/0.1137, allocations: 1.484 MB / 491.3 MB, free: 8.977 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001592/0.1153, allocations: 1.852 MB / 493.2 MB, free: 7.113 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005473/0.1208, allocations: 5.776 MB / 499 MB, free: 1.316 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.461e-06/0.1208, allocations: 0 / 499 MB, free: 1.316 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.1208, allocations: 0 / 499 MB, free: 1.316 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001072/0.1209, allocations: 0 / 499 MB, free: 1.316 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.02643/0.1473, allocations: 6.946 MB / 0.494 GB, free: 10.3 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.1474, allocations: 15.97 kB / 0.4941 GB, free: 10.29 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006903/0.1543, allocations: 1.836 MB / 0.4959 GB, free: 8.441 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003791/0.1581, allocations: 1.709 MB / 0.4975 GB, free: 6.688 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000162/0.1583, allocations: 184.9 kB / 0.4977 GB, free: 6.504 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006359/0.159, allocations: 243.9 kB / 0.4979 GB, free: 6.266 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2201/0.3791, allocations: 10.4 MB / 0.5081 GB, free: 38.49 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002301/0.3794, allocations: 35.62 kB / 0.5081 GB, free: 38.48 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008685/0.3803, allocations: 119.7 kB / 0.5082 GB, free: 38.43 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003837/0.3841, allocations: 2.148 MB / 0.5103 GB, free: 38.02 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02234/0.4065, allocations: 10.36 MB / 0.5205 GB, free: 34.85 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03698/0.4435, allocations: 33.41 MB / 0.5531 GB, free: 5.797 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0158/0.4593, allocations: 4.327 MB / 0.5573 GB, free: 1.375 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002151/0.4615, allocations: 1.682 MB / 0.559 GB, free: 15.69 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01043/0.4719, allocations: 8.597 MB / 0.5673 GB, free: 6.121 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.268e-05/0.472, allocations: 56.56 kB / 0.5674 GB, free: 6.059 MB / 398.1 MB Notification: Performance of pre-optimization done (n=237): time 4.388e-06/0.472, allocations: 0 / 0.5674 GB, free: 6.059 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