Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001097/0.001097, allocations: 111 kB / 17.75 MB, free: 5.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001108/0.001108, allocations: 186.5 kB / 18.68 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.337/1.337, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001041/0.001041, allocations: 47.92 kB / 352 MB, free: 3.246 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2466/0.2476, allocations: 49.44 MB / 401.4 MB, free: 8.754 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke): time 0.01217/0.2599, allocations: 11.09 MB / 412.5 MB, free: 13.74 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007257/0.2672, allocations: 3.643 MB / 416.1 MB, free: 10.09 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002505/0.2697, allocations: 39.81 kB / 416.2 MB, free: 10.05 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008154/0.2779, allocations: 8.14 MB / 424.3 MB, free: 1.891 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006481/0.2844, allocations: 4.648 MB / 429 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002717/0.2872, allocations: 0.9466 MB / 429.9 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00642/0.2936, allocations: 5.326 MB / 435.2 MB, free: 6.945 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001541/0.2951, allocations: 0.8826 MB / 436.1 MB, free: 6.027 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0042/0.2994, allocations: 2.872 MB / 439 MB, free: 3.148 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005755/0.3051, allocations: 5.116 MB / 444.1 MB, free: 14.02 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009176/0.3061, allocations: 352 kB / 444.5 MB, free: 13.67 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001181/0.3073, allocations: 388 kB / 444.8 MB, free: 13.29 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001652/0.3089, allocations: 1.869 MB / 446.7 MB, free: 11.41 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003041/0.312, allocations: 2.795 MB / 449.5 MB, free: 8.594 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005908/0.3179, allocations: 7.24 MB / 456.7 MB, free: 1.332 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.3179, allocations: 0 / 456.7 MB, free: 1.332 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3179, allocations: 0 / 456.7 MB, free: 1.332 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001412/0.3181, allocations: 0 / 456.7 MB, free: 1.332 MB / 366.1 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.01187/0.3299, allocations: 7.643 MB / 464.4 MB, free: 9.582 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.96e-05/0.33, allocations: 11.97 kB / 464.4 MB, free: 9.57 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001026/0.331, allocations: 0.8455 MB / 465.2 MB, free: 8.715 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004447/0.3355, allocations: 3.187 MB / 468.4 MB, free: 5.453 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001344/0.3357, allocations: 160.5 kB / 468.6 MB, free: 5.293 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003219/0.336, allocations: 204.1 kB / 468.8 MB, free: 5.094 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004117/0.3401, allocations: 2.104 MB / 470.9 MB, free: 2.922 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.869e-05/0.3402, allocations: 7.906 kB / 470.9 MB, free: 2.914 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001942/0.3404, allocations: 88 kB / 471 MB, free: 2.828 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.07e-05/0.3404, allocations: 51.98 kB / 471 MB, free: 2.777 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003826/0.3443, allocations: 1.899 MB / 472.9 MB, free: 0.875 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01385/0.3581, allocations: 8.88 MB / 481.8 MB, free: 7.789 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003781/0.3619, allocations: 2.314 MB / 484.1 MB, free: 5.406 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002807/0.3648, allocations: 1.424 MB / 485.5 MB, free: 3.969 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001261/0.3649, allocations: 50.2 kB / 485.6 MB, free: 3.922 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002184/0.3671, allocations: 1.16 MB / 486.8 MB, free: 2.723 MB / 398.1 MB Notification: Performance of pre-optimization done (n=242): time 5.29e-06/0.3671, allocations: 0 / 486.8 MB, free: 2.723 MB / 398.1 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:8011:5-8011:89:writable] Error: Internal error Transformation module sort components failed Error: Internal error SimCode DAEmode: The model Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke could not be translated