Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/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.1_cpp_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke") Notification: Performance of loadModel(Modelica): time 1.728/1.728, allocations: 171.2 MB / 187.3 MB, free: 1.047 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005032/0.0005033, allocations: 8 kB / 233.8 MB, free: 3.051 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08583/0.08637, allocations: 38.76 MB / 272.6 MB, free: 12.21 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke): time 0.01494/0.1014, allocations: 8.733 MB / 281.3 MB, free: 3.434 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.009224/0.1107, allocations: 3.563 MB / 284.9 MB, free: 15.86 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001849/0.1126, allocations: 39.88 kB / 284.9 MB, free: 15.82 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0119/0.1245, allocations: 7.954 MB / 292.8 MB, free: 7.855 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01037/0.1349, allocations: 4.605 MB / 297.5 MB, free: 3.242 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002683/0.1376, allocations: 0.5343 MB / 298 MB, free: 2.707 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.2422/0.3799, allocations: 3.452 MB / 301.4 MB, free: 16.14 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001754/0.3817, allocations: 0.6804 MB / 302.1 MB, free: 16.01 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006354/0.3881, allocations: 2.476 MB / 304.6 MB, free: 16.01 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008996/0.3971, allocations: 3.75 MB / 308.3 MB, free: 16 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001661/0.3988, allocations: 137.7 kB / 308.5 MB, free: 16 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002303/0.4012, allocations: 183 kB / 308.7 MB, free: 16 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002948/0.4042, allocations: 1.71 MB / 310.4 MB, free: 15.86 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001832/0.4061, allocations: 1.07 MB / 311.4 MB, free: 15.55 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007324/0.4134, allocations: 5.378 MB / 316.8 MB, free: 13.17 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.4135, allocations: 0 / 316.8 MB, free: 13.17 MB / 250.7 MB Notification: Performance of FrontEnd: time 3.226e-06/0.4135, allocations: 0 / 316.8 MB, free: 13.17 MB / 250.7 MB Notification: Performance of Transformations before backend: time 0.0004058/0.4139, allocations: 0 / 316.8 MB, free: 13.17 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 512 * Number of variables: 512 Notification: Performance of Generate backend data structure: time 0.01687/0.4308, allocations: 6.631 MB / 323.4 MB, free: 8.828 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.875e-05/0.4309, allocations: 6.312 kB / 323.5 MB, free: 8.828 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001917/0.4328, allocations: 0.8376 MB / 324.3 MB, free: 8.367 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00611/0.4389, allocations: 2.769 MB / 327.1 MB, free: 6.633 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001582/0.4392, allocations: 154.3 kB / 327.2 MB, free: 6.543 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000473/0.4396, allocations: 197.2 kB / 327.4 MB, free: 6.414 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006103/0.4458, allocations: 2.043 MB / 329.4 MB, free: 5.008 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.823e-05/0.4459, allocations: 15.89 kB / 329.5 MB, free: 4.992 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00027/0.4462, allocations: 79.94 kB / 329.5 MB, free: 4.977 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.043e-05/0.4462, allocations: 50.06 kB / 329.6 MB, free: 4.93 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006174/0.4524, allocations: 1.864 MB / 331.5 MB, free: 3.703 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02435/0.4768, allocations: 8.829 MB / 340.3 MB, free: 11.34 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006476/0.4833, allocations: 2.203 MB / 342.5 MB, free: 9.082 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003788/0.4838, allocations: 122.7 kB / 342.6 MB, free: 8.953 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003706/0.4875, allocations: 1.111 MB / 343.7 MB, free: 7.812 MB / 266.7 MB Notification: Performance of pre-optimization done (n=226): time 6.352e-06/0.4876, allocations: 0 / 343.7 MB, free: 7.812 MB / 266.7 MB [/var/lib/jenkins/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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:346:7-346:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:196:5-196:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:107:7-107:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:7904:5-7904:89:writable] Error: Internal error Transformation module sort components failed