Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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_cpp_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_cpp_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001273/0.001273, allocations: 199.4 kB / 18.05 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.408/1.408, allocations: 226.5 MB / 245.3 MB, free: 8.18 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008323/0.0008323, allocations: 99.98 kB / 297.4 MB, free: 6.875 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002063/0.0002063, allocations: 8 kB / 357.4 MB, free: 10.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2143/0.2145, allocations: 51.29 MB / 408.7 MB, free: 27.7 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke): time 0.007414/0.2219, allocations: 9.765 MB / 418.5 MB, free: 17.9 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005909/0.2279, allocations: 3.663 MB / 422.1 MB, free: 14.25 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001302/0.2292, allocations: 35.88 kB / 422.2 MB, free: 14.21 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0051/0.2343, allocations: 8.114 MB / 430.3 MB, free: 6.082 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00469/0.239, allocations: 4.567 MB / 434.8 MB, free: 1.504 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002733/0.2418, allocations: 0.586 MB / 435.4 MB, free: 0.9258 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.007148/0.249, allocations: 4.478 MB / 439.9 MB, free: 12.43 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001364/0.2504, allocations: 0.7611 MB / 440.7 MB, free: 11.64 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003709/0.2541, allocations: 2.513 MB / 443.2 MB, free: 9.121 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005128/0.2592, allocations: 4.139 MB / 447.3 MB, free: 4.973 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005639/0.2598, allocations: 140 kB / 447.5 MB, free: 4.836 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000784/0.2606, allocations: 176 kB / 447.6 MB, free: 4.664 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001343/0.2619, allocations: 1.728 MB / 449.4 MB, free: 2.93 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00235/0.2643, allocations: 2.413 MB / 451.8 MB, free: 0.4922 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004374/0.2687, allocations: 5.453 MB / 457.2 MB, free: 11.02 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/0.2687, allocations: 0 / 457.2 MB, free: 11.02 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.2687, allocations: 0 / 457.2 MB, free: 11.02 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001512/0.2689, allocations: 0 / 457.2 MB, free: 11.02 MB / 330.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.01107/0.28, allocations: 6.613 MB / 463.8 MB, free: 4.312 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.329e-05/0.28, allocations: 11.97 kB / 463.8 MB, free: 4.301 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001889/0.2819, allocations: 0.8883 MB / 464.7 MB, free: 3.402 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004098/0.286, allocations: 3.152 MB / 467.9 MB, free: 180 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001289/0.2862, allocations: 156.5 kB / 468 MB, free: 20 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003105/0.2865, allocations: 212.1 kB / 468.2 MB, free: 15.81 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00411/0.2906, allocations: 2.127 MB / 470.4 MB, free: 13.62 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.167e-05/0.2907, allocations: 4 kB / 470.4 MB, free: 13.61 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001762/0.2909, allocations: 80 kB / 470.5 MB, free: 13.54 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-05/0.2909, allocations: 52 kB / 470.5 MB, free: 13.48 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004025/0.2949, allocations: 1.942 MB / 472.4 MB, free: 11.54 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0151/0.3101, allocations: 8.977 MB / 481.4 MB, free: 2.355 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003988/0.3141, allocations: 2.342 MB / 483.8 MB, free: 15.95 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002501/0.3166, allocations: 1.385 MB / 485.1 MB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001444/0.3168, allocations: 46.27 kB / 485.2 MB, free: 14.51 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002161/0.319, allocations: 1.171 MB / 486.4 MB, free: 13.3 MB / 362.7 MB Notification: Performance of pre-optimization done (n=242): time 4.899e-06/0.319, allocations: 0 / 486.4 MB, free: 13.3 MB / 362.7 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:7938:5-7938:89:writable] Error: Internal error Transformation module sort components failed