Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001083/0.001083, allocations: 114.3 kB / 18.46 MB, free: 4.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001082/0.001082, allocations: 206.8 kB / 19.41 MB, free: 3.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.342/1.342, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 59.91 kB / 359.4 MB, free: 12.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2276/0.2288, allocations: 50.54 MB / 409.9 MB, free: 1.602 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke): time 0.01194/0.2408, allocations: 11.39 MB / 421.3 MB, free: 6.164 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007335/0.2482, allocations: 3.861 MB / 425.2 MB, free: 2.293 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002075/0.2503, allocations: 43.88 kB / 425.2 MB, free: 2.25 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007871/0.2582, allocations: 8.148 MB / 433.4 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006554/0.2648, allocations: 4.725 MB / 438.1 MB, free: 5.348 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002527/0.2674, allocations: 0.9206 MB / 439 MB, free: 4.426 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006362/0.2737, allocations: 5.412 MB / 444.4 MB, free: 15 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001516/0.2753, allocations: 0.8986 MB / 445.3 MB, free: 14.07 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003905/0.2792, allocations: 2.911 MB / 448.2 MB, free: 11.15 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005793/0.285, allocations: 5.162 MB / 453.4 MB, free: 5.969 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001054/0.2861, allocations: 356 kB / 453.8 MB, free: 5.621 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001297/0.2874, allocations: 404 kB / 454.1 MB, free: 5.227 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001595/0.289, allocations: 1.888 MB / 456 MB, free: 3.324 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003097/0.2921, allocations: 2.842 MB / 458.9 MB, free: 472 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006692/0.2988, allocations: 7.435 MB / 466.3 MB, free: 8.992 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.045e-06/0.2988, allocations: 11.94 kB / 466.3 MB, free: 8.98 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.2988, allocations: 0 / 466.3 MB, free: 8.98 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001759/0.299, allocations: 0 / 466.3 MB, free: 8.98 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 532 * Number of variables: 532 Notification: Performance of Generate backend data structure: time 0.0118/0.3108, allocations: 8.031 MB / 474.4 MB, free: 0.8398 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/0.3109, allocations: 12.03 kB / 474.4 MB, free: 0.8281 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001578/0.3125, allocations: 0.948 MB / 475.3 MB, free: 15.87 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004118/0.3166, allocations: 3.313 MB / 478.6 MB, free: 12.5 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001235/0.3168, allocations: 160.2 kB / 478.8 MB, free: 12.34 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002904/0.317, allocations: 211.9 kB / 479 MB, free: 12.13 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003578/0.3206, allocations: 2.085 MB / 481.1 MB, free: 9.977 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.803e-05/0.3207, allocations: 15.95 kB / 481.1 MB, free: 9.961 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001771/0.3209, allocations: 80 kB / 481.2 MB, free: 9.883 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.922e-05/0.3209, allocations: 56 kB / 481.2 MB, free: 9.828 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003415/0.3244, allocations: 1.844 MB / 483.1 MB, free: 7.977 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01404/0.3384, allocations: 8.975 MB / 492 MB, free: 14.8 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003621/0.3421, allocations: 2.325 MB / 494.4 MB, free: 12.41 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002515/0.3446, allocations: 1.384 MB / 495.8 MB, free: 11.02 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001432/0.3448, allocations: 42.28 kB / 495.8 MB, free: 10.98 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001833/0.3466, allocations: 1.132 MB / 496.9 MB, free: 9.805 MB / 414.1 MB Notification: Performance of pre-optimization done (n=246): time 4.308e-06/0.3466, allocations: 7.938 kB / 496.9 MB, free: 9.797 MB / 414.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