Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|advancedSolenoid.armature.stopper_xMax.v_rel|advancedSolenoid.c_par1.v|advancedSolenoid.c_par2.v|advancedSolenoid.coil1.Phi|advancedSolenoid.coil2.Phi|advancedSolenoid.x|simpleSolenoid.armature.stopper_xMax.v_rel|simpleSolenoid.coil.Phi|simpleSolenoid.x",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke") translateModel(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|advancedSolenoid.armature.stopper_xMax.v_rel|advancedSolenoid.c_par1.v|advancedSolenoid.c_par2.v|advancedSolenoid.coil1.Phi|advancedSolenoid.coil2.Phi|advancedSolenoid.x|simpleSolenoid.armature.stopper_xMax.v_rel|simpleSolenoid.coil.Phi|simpleSolenoid.x",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001513/0.001513, allocations: 109.7 kB / 18.4 MB, free: 4.523 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.001755/0.001755, allocations: 191 kB / 19.34 MB, free: 3.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.276/1.276, allocations: 205.1 MB / 225.2 MB, free: 12.21 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001291, allocations: 55.92 kB / 329.2 MB, free: 3.297 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07737/0.07867, allocations: 46.61 MB / 375.8 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke): time 0.1639/0.2426, allocations: 10.98 MB / 386.8 MB, free: 7.004 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006321/0.2489, allocations: 3.544 MB / 390.3 MB, free: 5.07 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002104/0.2511, allocations: 39.38 kB / 390.4 MB, free: 5.062 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007397/0.2585, allocations: 8.135 MB / 398.5 MB, free: 3.598 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005339/0.2639, allocations: 4.623 MB / 403.1 MB, free: 1.242 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001869/0.2657, allocations: 0.9276 MB / 404.1 MB, free: 416 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.005563/0.2713, allocations: 5.312 MB / 409.4 MB, free: 13.6 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00113/0.2725, allocations: 0.8942 MB / 410.3 MB, free: 13.1 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003047/0.2755, allocations: 2.872 MB / 413.1 MB, free: 10.32 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004369/0.2799, allocations: 5.119 MB / 418.3 MB, free: 5.18 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005289/0.2804, allocations: 353.1 kB / 418.6 MB, free: 4.836 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006971/0.2811, allocations: 388 kB / 419 MB, free: 4.457 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001358/0.2825, allocations: 1.873 MB / 420.9 MB, free: 2.57 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001932/0.2845, allocations: 2.784 MB / 423.6 MB, free: 15.76 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005306/0.2898, allocations: 7.246 MB / 430.9 MB, free: 8.496 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.2898, allocations: 0 / 430.9 MB, free: 8.496 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.096e-06/0.2898, allocations: 0 / 430.9 MB, free: 8.496 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.766e-05/0.2899, allocations: 3.938 kB / 430.9 MB, free: 8.492 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: 528 * Number of variables: 528 Notification: Performance of Generate backend data structure: time 0.01005/0.2999, allocations: 7.643 MB / 438.5 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.3, allocations: 8.031 kB / 438.5 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008414/0.3008, allocations: 0.8457 MB / 439.4 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003707/0.3045, allocations: 3.186 MB / 442.6 MB, free: 12.61 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001153/0.3047, allocations: 156.5 kB / 442.7 MB, free: 12.46 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002823/0.305, allocations: 216 kB / 442.9 MB, free: 12.25 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00373/0.3087, allocations: 2.108 MB / 445 MB, free: 10.07 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.131e-05/0.3088, allocations: 4 kB / 445 MB, free: 10.07 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001812/0.3089, allocations: 80 kB / 445.1 MB, free: 9.988 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.691e-05/0.309, allocations: 52 kB / 445.2 MB, free: 9.938 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003783/0.3128, allocations: 1.899 MB / 447.1 MB, free: 8.035 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01258/0.3254, allocations: 8.873 MB / 456 MB, free: 14.95 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003785/0.3292, allocations: 2.329 MB / 458.3 MB, free: 12.56 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002905/0.3321, allocations: 1.423 MB / 459.7 MB, free: 11.13 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001405/0.3323, allocations: 46.27 kB / 459.7 MB, free: 11.09 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002148/0.3344, allocations: 1.16 MB / 460.9 MB, free: 9.891 MB / 382.1 MB Notification: Performance of pre-optimization done (n=242): time 4.979e-06/0.3344, allocations: 0 / 460.9 MB, free: 9.891 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: simpleSolenoid.g_mFeArm.V_m = (-simpleSolenoid.coil.Phi) * simpleSolenoid.g_mFeArm.R_m [/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 Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke could not be translated