Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.1_cpp_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.conf.json Using package ModelicaServices with version 1.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/package.mo) Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke") Notification: Performance of loadModel(Modelica): time 1.068/1.068, allocations: 111.1 MB / 127.3 MB, free: 6.133 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002569/0.0002572, allocations: 8 kB / 158.9 MB, free: 15.21 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05451/0.05479, allocations: 25.16 MB / 184.1 MB, free: 6.008 MB / 154.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke): time 0.01403/0.06887, allocations: 8.427 MB / 192.5 MB, free: 13.56 MB / 170.7 MB Notification: Performance of NFInst.instExpressions: time 0.008159/0.07709, allocations: 3.161 MB / 195.6 MB, free: 10.39 MB / 170.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001533/0.07868, allocations: 31.94 kB / 195.7 MB, free: 10.36 MB / 170.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01358/0.0923, allocations: 7.938 MB / 203.6 MB, free: 2.41 MB / 170.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1928/0.2851, allocations: 4.582 MB / 208.2 MB, free: 14.46 MB / 170.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002609/0.2878, allocations: 0.4976 MB / 208.7 MB, free: 14.46 MB / 170.7 MB Notification: Performance of NFFlatten.flatten: time 0.007984/0.2958, allocations: 3.428 MB / 212.1 MB, free: 14.44 MB / 170.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001527/0.2974, allocations: 0.6716 MB / 212.8 MB, free: 14.22 MB / 170.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005698/0.3031, allocations: 2.466 MB / 215.3 MB, free: 13.52 MB / 170.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007532/0.3106, allocations: 3.732 MB / 219 MB, free: 12.56 MB / 170.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001035/0.3117, allocations: 138.7 kB / 219.1 MB, free: 12.55 MB / 170.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001304/0.3131, allocations: 161.2 kB / 219.3 MB, free: 12.55 MB / 170.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001496/0.3146, allocations: 1.709 MB / 221 MB, free: 11.4 MB / 170.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001301/0.3159, allocations: 1.057 MB / 222.1 MB, free: 10.76 MB / 170.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006029/0.3219, allocations: 5.314 MB / 227.4 MB, free: 6.168 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.322, allocations: 0 / 227.4 MB, free: 6.168 MB / 170.7 MB Notification: Performance of FrontEnd: time 2.755e-06/0.322, allocations: 0 / 227.4 MB, free: 6.168 MB / 170.7 MB Notification: Performance of Transformations before backend: time 0.0001922/0.3222, allocations: 0 / 227.4 MB, free: 6.168 MB / 170.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 508 * Number of variables: 508 Notification: Performance of Generate backend data structure: time 0.01388/0.3361, allocations: 6.567 MB / 233.9 MB, free: 15.93 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.428e-05/0.3362, allocations: 8.031 kB / 233.9 MB, free: 15.92 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001666/0.3378, allocations: 0.8407 MB / 234.8 MB, free: 15.07 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006361/0.3442, allocations: 2.734 MB / 237.5 MB, free: 12.79 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001751/0.3444, allocations: 154.1 kB / 237.7 MB, free: 12.7 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004701/0.3449, allocations: 199.8 kB / 237.9 MB, free: 12.57 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008606/0.3535, allocations: 3.907 MB / 241.8 MB, free: 9.281 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.716e-05/0.3537, allocations: 3.984 kB / 241.8 MB, free: 9.277 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002932/0.354, allocations: 80 kB / 241.8 MB, free: 9.199 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.784e-05/0.354, allocations: 48 kB / 241.9 MB, free: 9.152 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009289/0.3633, allocations: 3.722 MB / 245.6 MB, free: 5.422 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03056/0.3939, allocations: 8.533 MB / 254.2 MB, free: 12.82 MB / 202.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01154/0.4056, allocations: 4.036 MB / 258.2 MB, free: 8.719 MB / 202.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004148/0.406, allocations: 122.9 kB / 258.3 MB, free: 8.586 MB / 202.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.534e-05/0.4061, allocations: 60.88 kB / 258.4 MB, free: 8.52 MB / 202.7 MB Notification: Performance of pre-optimization done (n=221): time 7.695e-06/0.4062, allocations: 1.859 kB / 258.4 MB, free: 8.52 MB / 202.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: advancedSolenoid.armature.stopper_xMin.v_rel = der(advancedSolenoid.x) [/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