Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr DroneLibrary_DroneLibrary.Examples.Visualize.ModuleTest_NoInput.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: translateModel(DroneLibrary.Examples.Visualize.ModuleTest_NoInput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Examples.Visualize.ModuleTest_NoInput") translateModel(DroneLibrary.Examples.Visualize.ModuleTest_NoInput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Examples.Visualize.ModuleTest_NoInput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.0692/0.0692, allocations: 12.01 MB / 27.13 MB, free: 2.195 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001194/0.001194, allocations: 107.4 kB / 30.83 MB, free: 5.344 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001549/0.001549, allocations: 188.4 kB / 34.63 MB, free: 1.555 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.478/1.478, allocations: 222.9 MB / 261.2 MB, free: 8.258 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.05524/0.05524, allocations: 13.66 MB / 327.9 MB, free: 308 kB / 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.02597/0.02597, allocations: 17.46 MB / 412.8 MB, free: 28.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.124/0.1499, allocations: 55.42 MB / 468.2 MB, free: 6.496 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Examples.Visualize.ModuleTest_NoInput): time 1.015/1.165, allocations: 352 MB / 0.801 GB, free: 14.38 MB / 0.5138 GB Notification: Performance of NFInst.instExpressions: time 0.181/1.346, allocations: 70.41 MB / 0.8697 GB, free: 5.398 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.09/1.436, allocations: 1.561 MB / 0.8713 GB, free: 3.836 MB / 0.5607 GB Notification: Performance of NFTyping.typeComponents: time 0.04022/1.476, allocations: 24.87 MB / 0.8956 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.02168/1.498, allocations: 7.73 MB / 0.9031 GB, free: 7.293 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.01088/1.509, allocations: 4.934 MB / 0.9079 GB, free: 2.359 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.5621/2.071, allocations: 38.94 MB / 0.9459 GB, free: 11.81 MB / 0.6232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.07731/2.148, allocations: 36.13 MB / 0.9812 GB, free: 6.629 MB / 0.6232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02832/2.176, allocations: 9.791 MB / 0.9908 GB, free: 6.625 MB / 0.6232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03468/2.211, allocations: 15.02 MB / 1.005 GB, free: 5.762 MB / 0.6232 GB Notification: Performance of NFPackage.collectConstants: time 0.01348/2.225, allocations: 2.017 MB / 1.007 GB, free: 5.762 MB / 0.6232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01824/2.243, allocations: 3.345 MB / 1.011 GB, free: 5.758 MB / 0.6232 GB Notification: Performance of NFScalarize.scalarize: time 0.02482/2.268, allocations: 12.43 MB / 1.023 GB, free: 4.656 MB / 0.6232 GB Notification: Performance of NFVerifyModel.verify: time 0.04095/2.309, allocations: 14.76 MB / 1.037 GB, free: 236 kB / 0.6232 GB Notification: Performance of NFConvertDAE.convert: time 0.07221/2.381, allocations: 55.62 MB / 1.092 GB, free: 4.363 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 9.117e-06/2.381, allocations: 0 / 1.092 GB, free: 4.363 MB / 0.67 GB Notification: Performance of FrontEnd: time 3.547e-06/2.381, allocations: 0 / 1.092 GB, free: 4.363 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.002619/2.384, allocations: 4 kB / 1.092 GB, free: 4.359 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: 7901 * Number of variables: 7901 Notification: Performance of Generate backend data structure: time 0.1238/2.508, allocations: 32.13 MB / 1.123 GB, free: 4.41 MB / 0.7013 GB Notification: Performance of prepare preOptimizeDAE: time 5.137e-05/2.508, allocations: 8.031 kB / 1.123 GB, free: 4.402 MB / 0.7013 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03153/2.539, allocations: 5.919 MB / 1.129 GB, free: 14.45 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04936/2.589, allocations: 20.97 MB / 1.149 GB, free: 10.33 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001921/2.591, allocations: 1.598 MB / 1.151 GB, free: 8.855 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01244/2.603, allocations: 2.163 MB / 1.153 GB, free: 6.812 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1572/2.76, allocations: 59.26 MB / 1.211 GB, free: 9.492 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002191/2.763, allocations: 237 kB / 1.211 GB, free: 9.34 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0118/2.774, allocations: 0.9576 MB / 1.212 GB, free: 8.504 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01461/2.789, allocations: 8.428 MB / 1.22 GB, free: 164 kB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.6759/3.465, allocations: 47.88 MB / 1.267 GB, free: 404.3 MB / 0.8108 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.3487/3.814, allocations: 246.1 MB / 1.507 GB, free: 180 MB / 0.8108 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06058/3.874, allocations: 27.28 MB / 1.534 GB, free: 152.6 MB / 0.8108 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01959/3.894, allocations: 17.37 MB / 1.551 GB, free: 135.2 MB / 0.8108 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002729/3.897, allocations: 2.592 MB / 1.553 GB, free: 132.3 MB / 0.8108 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.05714/3.954, allocations: 20.64 MB / 1.574 GB, free: 111.6 MB / 0.8108 GB Notification: Performance of pre-optimization done (n=788): time 1.768e-05/3.954, allocations: 0 / 1.574 GB, free: 111.6 MB / 0.8108 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:342:7-342:48:writable] Error: Internal error BackendDAETransform.analyseStrongComponentBlock failed variables: equations: controlModuleTest_fmu_inputs1.droneChassis1.bodyCylinder.body.frame_a.r_0[1] = controlModuleTest_fmu_inputs1.propellerRev.bodyShape5.body.frame_a.r_0[1] + 0.25 * controlModuleTest_fmu_inputs1.accelerometer.relativeAngles.R_rel.T[2,1] [/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:7947:5-7947:89:writable] Error: Internal error Transformation module sort components failed