Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.Examples.PistonEngine_DynamicStateSelection.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.Examples.PistonEngine_DynamicStateSelection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.PistonEngine_DynamicStateSelection") translateModel(PlanarMechanics.Examples.PistonEngine_DynamicStateSelection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.PistonEngine_DynamicStateSelection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001491/0.001491, allocations: 110.4 kB / 16.42 MB, free: 6.508 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.001696/0.001696, allocations: 185.5 kB / 17.35 MB, free: 5.738 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.385/1.385, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo): time 0.04641/0.04641, allocations: 9.117 MB / 300.3 MB, free: 5.832 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 63.91 kB / 415.3 MB, free: 21.01 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07691/0.07813, allocations: 51.44 MB / 466.8 MB, free: 1.559 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.PistonEngine_DynamicStateSelection): time 0.009689/0.08784, allocations: 9.724 MB / 476.5 MB, free: 7.785 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005351/0.09323, allocations: 2.838 MB / 479.3 MB, free: 4.938 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001026/0.09428, allocations: 43.88 kB / 479.4 MB, free: 4.895 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001046/0.09537, allocations: 421.1 kB / 479.8 MB, free: 4.48 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003374/0.09877, allocations: 1.529 MB / 481.3 MB, free: 2.945 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005619/0.09935, allocations: 191.7 kB / 481.5 MB, free: 2.758 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003267/0.1026, allocations: 2.847 MB / 484.3 MB, free: 15.9 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001488/0.1041, allocations: 1.083 MB / 485.4 MB, free: 14.79 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001236/0.1054, allocations: 1.027 MB / 486.4 MB, free: 13.76 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001759/0.1071, allocations: 1.467 MB / 487.9 MB, free: 12.29 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004166/0.1076, allocations: 260 kB / 488.2 MB, free: 12.03 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001522/0.1091, allocations: 0.862 MB / 489 MB, free: 11.17 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001187/0.1103, allocations: 1.356 MB / 490.4 MB, free: 9.809 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001537/0.1119, allocations: 1.751 MB / 492.1 MB, free: 8.047 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005233/0.1171, allocations: 5.488 MB / 497.6 MB, free: 2.539 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.1171, allocations: 0 / 497.6 MB, free: 2.539 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1171, allocations: 0 / 497.6 MB, free: 2.539 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.823e-05/0.1172, allocations: 0 / 497.6 MB, free: 2.539 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: 1302 * Number of variables: 1302 Notification: Performance of Generate backend data structure: time 0.01208/0.1293, allocations: 5.166 MB / 0.491 GB, free: 13.3 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.99e-05/0.1294, allocations: 8.031 kB / 0.491 GB, free: 13.3 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00718/0.1366, allocations: 1.813 MB / 0.4928 GB, free: 11.48 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002888/0.1395, allocations: 1.502 MB / 0.4942 GB, free: 9.93 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001363/0.1396, allocations: 168.3 kB / 0.4944 GB, free: 9.762 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004876/0.1401, allocations: 231.8 kB / 0.4946 GB, free: 9.535 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01359/0.1537, allocations: 8.956 MB / 0.5034 GB, free: 116 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.143e-05/0.1538, allocations: 27.72 kB / 0.5034 GB, free: 88 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.1992/0.353, allocations: 106.1 kB / 0.5035 GB, free: 41.16 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004112/0.3572, allocations: 2.012 MB / 0.5055 GB, free: 41.15 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0171/0.3743, allocations: 7.96 MB / 0.5132 GB, free: 38.94 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03669/0.411, allocations: 28.47 MB / 0.541 GB, free: 17.25 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006571/0.4176, allocations: 2.823 MB / 0.5438 GB, free: 14.3 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001465/0.4191, allocations: 0.9933 MB / 0.5448 GB, free: 13.31 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007764/0.4269, allocations: 6.453 MB / 0.5511 GB, free: 6.262 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.347e-05/0.427, allocations: 47.88 kB / 0.5511 GB, free: 6.207 MB / 382.1 MB Notification: Performance of pre-optimization done (n=155): time 3.476e-06/0.427, allocations: 0 / 0.5511 GB, free: 6.207 MB / 382.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: bodyPiston.v[2] + der(prismatic.r0[2]) = 0.0 [/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.Examples.PistonEngine_DynamicStateSelection could not be translated