Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/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.2_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke") Notification: Performance of loadModel(Modelica): time 1.892/1.892, allocations: 194.9 MB / 211.7 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004942/0.0004942, allocations: 8 kB / 264.6 MB, free: 12.93 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1187/0.1193, allocations: 44.51 MB / 309.1 MB, free: 364 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke): time 0.02066/0.14, allocations: 8.826 MB / 317.9 MB, free: 7.5 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01181/0.1518, allocations: 3.517 MB / 321.4 MB, free: 3.969 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002208/0.1541, allocations: 35.88 kB / 321.4 MB, free: 3.934 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01561/0.1698, allocations: 7.954 MB / 329.4 MB, free: 11.96 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01231/0.1821, allocations: 4.608 MB / 334 MB, free: 7.348 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00368/0.1859, allocations: 0.5459 MB / 334.6 MB, free: 6.801 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.009242/0.1952, allocations: 3.495 MB / 338 MB, free: 3.297 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001631/0.1968, allocations: 0.6839 MB / 338.7 MB, free: 2.586 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004745/0.2016, allocations: 2.49 MB / 341.2 MB, free: 92 kB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007847/0.2095, allocations: 3.773 MB / 345 MB, free: 12.3 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001213/0.2108, allocations: 136 kB / 345.1 MB, free: 12.17 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001527/0.2123, allocations: 155.9 kB / 345.3 MB, free: 12.02 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002529/0.2149, allocations: 1.721 MB / 347 MB, free: 10.29 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001717/0.2167, allocations: 1.079 MB / 348.1 MB, free: 9.203 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007908/0.2246, allocations: 5.394 MB / 353.5 MB, free: 3.801 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.2247, allocations: 0 / 353.5 MB, free: 3.801 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.765e-06/0.2247, allocations: 0 / 353.5 MB, free: 3.801 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0002118/0.2249, allocations: 0 / 353.5 MB, free: 3.801 MB / 298.7 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.01721/0.2421, allocations: 6.722 MB / 360.2 MB, free: 12.97 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.201e-05/0.2422, allocations: 12.03 kB / 360.2 MB, free: 12.96 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001798/0.244, allocations: 0.8522 MB / 361.1 MB, free: 12.09 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007305/0.2513, allocations: 2.893 MB / 364 MB, free: 9.133 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002129/0.2516, allocations: 160.1 kB / 364.1 MB, free: 8.973 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005579/0.2521, allocations: 203.9 kB / 364.3 MB, free: 8.773 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00631/0.2585, allocations: 2.073 MB / 366.4 MB, free: 6.633 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.111e-05/0.2586, allocations: 0 / 366.4 MB, free: 6.633 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000306/0.2589, allocations: 87.98 kB / 366.5 MB, free: 6.547 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.729e-05/0.259, allocations: 55.95 kB / 366.5 MB, free: 6.492 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00665/0.2657, allocations: 1.868 MB / 368.4 MB, free: 4.621 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.314/0.5797, allocations: 8.765 MB / 377.2 MB, free: 56.52 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006301/0.586, allocations: 2.271 MB / 379.4 MB, free: 55.41 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003174/0.5864, allocations: 39.08 kB / 379.5 MB, free: 55.41 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003768/0.5902, allocations: 1.129 MB / 380.6 MB, free: 54.92 MB / 314.7 MB Notification: Performance of pre-optimization done (n=242): time 7.264e-06/0.5902, allocations: 1.094 kB / 380.6 MB, free: 54.92 MB / 314.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