Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_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_cpp_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke") Notification: Performance of loadModel(Modelica): time 1.975/1.975, allocations: 194.8 MB / 212.3 MB, free: 3.012 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005453/0.0005455, allocations: 12 kB / 264.5 MB, free: 13.62 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1311/0.1317, allocations: 44.51 MB / 309 MB, free: 1.043 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke): time 0.01507/0.1468, allocations: 8.826 MB / 317.8 MB, free: 8.188 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.008944/0.1558, allocations: 3.513 MB / 321.3 MB, free: 4.66 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001932/0.1578, allocations: 35.88 kB / 321.4 MB, free: 4.625 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01159/0.1694, allocations: 7.954 MB / 329.3 MB, free: 12.66 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008929/0.1784, allocations: 4.612 MB / 333.9 MB, free: 8.035 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002851/0.1814, allocations: 0.5343 MB / 334.5 MB, free: 7.5 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.008107/0.1895, allocations: 3.51 MB / 338 MB, free: 3.98 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00166/0.1912, allocations: 0.6839 MB / 338.7 MB, free: 3.27 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004917/0.1962, allocations: 2.51 MB / 341.2 MB, free: 0.7539 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008043/0.2042, allocations: 3.797 MB / 345 MB, free: 12.95 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001016/0.2053, allocations: 140 kB / 345.1 MB, free: 12.81 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001129/0.2065, allocations: 168 kB / 345.3 MB, free: 12.65 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002004/0.2085, allocations: 1.725 MB / 347 MB, free: 10.92 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001395/0.2099, allocations: 1.079 MB / 348.1 MB, free: 9.828 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008558/0.2185, allocations: 5.441 MB / 353.5 MB, free: 4.375 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.2185, allocations: 0 / 353.5 MB, free: 4.375 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.727e-06/0.2186, allocations: 0 / 353.5 MB, free: 4.375 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.000202/0.2188, allocations: 0 / 353.5 MB, free: 4.375 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.01784/0.2366, allocations: 6.741 MB / 360.3 MB, free: 13.52 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.232e-05/0.2367, allocations: 11.97 kB / 360.3 MB, free: 13.51 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002106/0.2388, allocations: 0.8522 MB / 361.1 MB, free: 12.65 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006869/0.2457, allocations: 2.765 MB / 363.9 MB, free: 9.816 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002256/0.246, allocations: 160.1 kB / 364 MB, free: 9.656 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005948/0.2466, allocations: 211.9 kB / 364.2 MB, free: 9.449 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007316/0.2539, allocations: 2.119 MB / 366.4 MB, free: 7.262 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-05/0.2541, allocations: 4 kB / 366.4 MB, free: 7.258 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003178/0.2544, allocations: 84 kB / 366.5 MB, free: 7.176 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.778e-05/0.2545, allocations: 55.95 kB / 366.5 MB, free: 7.121 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007467/0.262, allocations: 1.938 MB / 368.4 MB, free: 5.18 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2714/0.5334, allocations: 8.98 MB / 377.4 MB, free: 56.35 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007052/0.5405, allocations: 2.331 MB / 379.8 MB, free: 55.2 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003382/0.5409, allocations: 40.2 kB / 379.8 MB, free: 55.2 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004295/0.5452, allocations: 1.17 MB / 381 MB, free: 54.69 MB / 314.7 MB Notification: Performance of pre-optimization done (n=242): time 1.013e-05/0.5453, allocations: 0 / 381 MB, free: 54.69 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