Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr DroneLibrary_DroneLibrary.Tests.chassisTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo", uses=false) 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo", uses=false) Using package DroneLibrary with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo) 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) Using package Modelica_DeviceDrivers with version 2.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo) Running command: "" <> buildModelFMU(DroneLibrary.Tests.chassisTest,fileNamePrefix="DroneLibrary_DroneLibrary_Tests_chassisTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(DroneLibrary.Tests.chassisTest,fileNamePrefix="DroneLibrary_DroneLibrary_Tests_chassisTest",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.06307/0.06307, allocations: 12.03 MB / 26.98 MB, free: 204 kB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008003/0.0008005, allocations: 98.66 kB / 30.71 MB, free: 428 kB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00109/0.00109, allocations: 187.1 kB / 34.56 MB, free: 3.172 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.46/1.46, allocations: 223.2 MB / 261.4 MB, free: 9.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.05525/0.05525, allocations: 13.69 MB / 329.1 MB, free: 0.5117 MB / 254.1 MB Notification: Skipped loading package Visualization (1.6,default) using MODELICAPATH /home/hudson/saved_omc/libraries/.openmodelica/libraries/ (uses-annotation may be wrong). Notification: Performance of FrontEnd - loaded program: time 0.02057/0.02057, allocations: 17.45 MB / 414.9 MB, free: 27.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.1404, allocations: 56.49 MB / 471.4 MB, free: 5.578 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Tests.chassisTest): time 1.021/1.162, allocations: 349.3 MB / 0.8015 GB, free: 13.39 MB / 0.5138 GB Notification: Performance of NFInst.instExpressions: time 0.224/1.386, allocations: 80.27 MB / 0.8799 GB, free: 1.301 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.09827/1.484, allocations: 1.761 MB / 0.8816 GB, free: 15.53 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.06928/1.553, allocations: 17.98 MB / 0.8992 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.7233/2.277, allocations: 48.46 MB / 0.9465 GB, free: 16.03 MB / 0.6232 GB Notification: Performance of NFTyping.typeClassSections: time 0.02961/2.306, allocations: 3.767 MB / 0.9502 GB, free: 15.99 MB / 0.6232 GB Notification: Performance of NFFlatten.flatten: time 0.07054/2.377, allocations: 35.18 MB / 0.9846 GB, free: 14.99 MB / 0.6232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.08517/2.462, allocations: 46.78 MB / 1.03 GB, free: 11.2 MB / 0.6232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0187/2.481, allocations: 5.843 MB / 1.036 GB, free: 8.848 MB / 0.6232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01482/2.496, allocations: 7.439 MB / 1.043 GB, free: 5.52 MB / 0.6232 GB Notification: Performance of NFPackage.collectConstants: time 0.006519/2.502, allocations: 0.918 MB / 1.044 GB, free: 4.602 MB / 0.6232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01107/2.513, allocations: 1.88 MB / 1.046 GB, free: 3.184 MB / 0.6232 GB Notification: Performance of NFScalarize.scalarize: time 0.01801/2.532, allocations: 9.806 MB / 1.056 GB, free: 13.09 MB / 0.6388 GB Notification: Performance of NFVerifyModel.verify: time 0.01397/2.546, allocations: 5.477 MB / 1.061 GB, free: 11.44 MB / 0.6388 GB Notification: Performance of NFConvertDAE.convert: time 0.06174/2.607, allocations: 46.37 MB / 1.106 GB, free: 3.703 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/2.607, allocations: 0 / 1.106 GB, free: 3.703 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.615e-06/2.607, allocations: 0 / 1.106 GB, free: 3.703 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.001977/2.609, allocations: 0 / 1.106 GB, free: 3.703 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7595 * Number of variables: 7595 Notification: Performance of Generate backend data structure: time 0.08822/2.698, allocations: 25.15 MB / 1.131 GB, free: 12.77 MB / 0.7013 GB Notification: Performance of prepare preOptimizeDAE: time 5.663e-05/2.698, allocations: 8.031 kB / 1.131 GB, free: 12.76 MB / 0.7013 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.02116/2.719, allocations: 3.764 MB / 1.134 GB, free: 10.65 MB / 0.7013 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04913/2.768, allocations: 8.873 MB / 1.143 GB, free: 2.426 MB / 0.7013 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05492/2.823, allocations: 21.27 MB / 1.164 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002269/2.825, allocations: 1.686 MB / 1.165 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01389/2.839, allocations: 2.305 MB / 1.168 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.7228/3.562, allocations: 55.15 MB / 1.222 GB, free: 339.9 MB / 0.7483 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002447/3.564, allocations: 232.3 kB / 1.222 GB, free: 339.9 MB / 0.7483 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01729/3.582, allocations: 0.9878 MB / 1.223 GB, free: 339.9 MB / 0.7483 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01361/3.595, allocations: 6.306 MB / 1.229 GB, free: 339.8 MB / 0.7483 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.115/3.71, allocations: 46.11 MB / 1.274 GB, free: 328.4 MB / 0.7483 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3009/4.011, allocations: 215 MB / 1.484 GB, free: 123.8 MB / 0.7483 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05951/4.071, allocations: 26.06 MB / 1.509 GB, free: 97.69 MB / 0.7483 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001741/4.073, allocations: 0.9592 MB / 1.51 GB, free: 96.67 MB / 0.7483 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.103e-05/4.073, allocations: 115.1 kB / 1.51 GB, free: 96.54 MB / 0.7483 GB Notification: Performance of pre-optimization done (n=761): time 9.638e-06/4.073, allocations: 0 / 1.51 GB, free: 96.54 MB / 0.7483 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:342:7-342:48:writable] Error: Internal error BackendDAETransform.analyseStrongComponentBlock failed variables: equations: droneChassis1.bodyCylinder.body.frame_a.r_0[1] = propellerRev.blades.bodyShape4.body.frame_a.r_0[1] + 0.25 * propellerRev2.Airframe.R.T[2,1] [/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:7903:5-7903:89:writable] Error: Internal error Transformation module sort components failed