Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_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_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke") Notification: Performance of loadModel(Modelica): time 1.744/1.744, allocations: 171.2 MB / 186.7 MB, free: 1.129 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003528/0.0003528, allocations: 8 kB / 233.9 MB, free: 2.387 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0808/0.08117, allocations: 38.76 MB / 272.6 MB, free: 11.54 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke): time 0.01496/0.09619, allocations: 8.74 MB / 281.4 MB, free: 2.758 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.009035/0.1053, allocations: 3.559 MB / 284.9 MB, free: 15.19 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001812/0.1071, allocations: 39.88 kB / 285 MB, free: 15.15 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01158/0.1188, allocations: 7.961 MB / 292.9 MB, free: 7.176 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008819/0.1276, allocations: 4.601 MB / 297.5 MB, free: 2.566 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00263/0.1303, allocations: 0.5304 MB / 298.1 MB, free: 2.035 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.2431/0.3734, allocations: 3.444 MB / 301.5 MB, free: 16.82 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00171/0.3752, allocations: 0.6814 MB / 302.2 MB, free: 16.68 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006311/0.3816, allocations: 2.463 MB / 304.7 MB, free: 16.68 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008488/0.3901, allocations: 3.726 MB / 308.4 MB, free: 16.68 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001258/0.3914, allocations: 130.6 kB / 308.5 MB, free: 16.68 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001465/0.3929, allocations: 173.1 kB / 308.7 MB, free: 16.68 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002259/0.3952, allocations: 1.702 MB / 310.4 MB, free: 16.54 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00155/0.3968, allocations: 1.064 MB / 311.4 MB, free: 16.23 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006746/0.4035, allocations: 5.329 MB / 316.8 MB, free: 13.54 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.4036, allocations: 4 kB / 316.8 MB, free: 13.54 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.906e-06/0.4036, allocations: 0 / 316.8 MB, free: 13.54 MB / 250.7 MB Notification: Performance of Transformations before backend: time 0.0003679/0.404, allocations: 1.375 kB / 316.8 MB, free: 13.54 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.01549/0.4195, allocations: 6.613 MB / 323.4 MB, free: 9.199 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.84e-05/0.4195, allocations: 13.44 kB / 323.4 MB, free: 9.195 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001927/0.4215, allocations: 0.8361 MB / 324.2 MB, free: 8.734 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006329/0.4278, allocations: 2.836 MB / 327.1 MB, free: 6.461 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001553/0.4281, allocations: 154.1 kB / 327.2 MB, free: 6.371 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004847/0.4286, allocations: 201.4 kB / 327.4 MB, free: 6.238 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005657/0.4342, allocations: 1.989 MB / 329.4 MB, free: 4.863 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.764e-05/0.4343, allocations: 11.22 kB / 329.4 MB, free: 4.855 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002625/0.4346, allocations: 87.06 kB / 329.5 MB, free: 4.832 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.097e-05/0.4347, allocations: 52 kB / 329.6 MB, free: 4.781 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005893/0.4406, allocations: 1.794 MB / 331.4 MB, free: 3.582 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02285/0.4635, allocations: 8.617 MB / 340 MB, free: 11.52 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007727/0.4712, allocations: 2.127 MB / 342.1 MB, free: 9.34 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004776/0.4718, allocations: 131.9 kB / 342.2 MB, free: 9.203 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004954/0.4768, allocations: 1.065 MB / 343.3 MB, free: 8.109 MB / 266.7 MB Notification: Performance of pre-optimization done (n=226): time 1.209e-05/0.4768, allocations: 6.172 kB / 343.3 MB, free: 8.105 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