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.001472/0.001472, allocations: 118.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.001881/0.001881, allocations: 206.7 kB / 19.41 MB, free: 3.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.374/1.374, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 63.89 kB / 359.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2476/0.2488, allocations: 50.54 MB / 409.9 MB, free: 1.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke): time 0.01186/0.2607, allocations: 11.38 MB / 421.3 MB, free: 6.141 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006867/0.2676, allocations: 3.861 MB / 425.2 MB, free: 2.27 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002005/0.2696, allocations: 39.88 kB / 425.2 MB, free: 2.23 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007324/0.277, allocations: 8.148 MB / 433.4 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006328/0.2833, allocations: 4.71 MB / 438.1 MB, free: 5.344 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001992/0.2854, allocations: 0.9166 MB / 439 MB, free: 4.426 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005338/0.2907, allocations: 5.416 MB / 444.4 MB, free: 14.99 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001229/0.2919, allocations: 0.9101 MB / 445.3 MB, free: 14.05 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003566/0.2955, allocations: 2.903 MB / 448.2 MB, free: 11.14 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005026/0.3006, allocations: 5.166 MB / 453.4 MB, free: 5.961 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005991/0.3012, allocations: 356 kB / 453.7 MB, free: 5.613 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007851/0.302, allocations: 404 kB / 454.1 MB, free: 5.219 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00122/0.3032, allocations: 1.888 MB / 456 MB, free: 3.316 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002053/0.3053, allocations: 2.846 MB / 458.9 MB, free: 460 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005668/0.3109, allocations: 7.384 MB / 466.2 MB, free: 9.039 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.012e-05/0.311, allocations: 0 / 466.2 MB, free: 9.039 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.376e-06/0.311, allocations: 3.938 kB / 466.2 MB, free: 9.035 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002099/0.3112, allocations: 0 / 466.2 MB, free: 9.035 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.012/0.3232, allocations: 7.733 MB / 474 MB, free: 1.195 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/0.3233, allocations: 12.03 kB / 474 MB, free: 1.184 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001456/0.3247, allocations: 0.9038 MB / 474.9 MB, free: 276 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003762/0.3285, allocations: 3.23 MB / 478.1 MB, free: 12.96 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001191/0.3287, allocations: 156.2 kB / 478.3 MB, free: 12.81 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002651/0.3289, allocations: 211.9 kB / 478.5 MB, free: 12.6 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003378/0.3323, allocations: 2.097 MB / 480.6 MB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.748e-05/0.3324, allocations: 0 / 480.6 MB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001737/0.3326, allocations: 91.98 kB / 480.7 MB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.784e-05/0.3326, allocations: 48 kB / 480.7 MB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003245/0.3358, allocations: 1.845 MB / 482.6 MB, free: 8.449 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01304/0.3489, allocations: 8.961 MB / 491.5 MB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004047/0.353, allocations: 2.317 MB / 493.8 MB, free: 12.9 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003528/0.3565, allocations: 1.397 MB / 495.2 MB, free: 11.49 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001606/0.3567, allocations: 38.28 kB / 495.3 MB, free: 11.45 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002577/0.3593, allocations: 1.132 MB / 496.4 MB, free: 10.28 MB / 414.1 MB Notification: Performance of pre-optimization done (n=246): time 6.713e-06/0.3593, allocations: 0 / 496.4 MB, free: 10.28 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