Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr DroneLibrary_DroneLibrary.Examples.Visualize.ModuleTest_Dymola.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.Examples.Visualize.ModuleTest_Dymola,fileNamePrefix="DroneLibrary_DroneLibrary_Examples_Visualize_ModuleTest_Dymola",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(DroneLibrary.Examples.Visualize.ModuleTest_Dymola,fileNamePrefix="DroneLibrary_DroneLibrary_Examples_Visualize_ModuleTest_Dymola",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.06521/0.06521, allocations: 12.03 MB / 26.98 MB, free: 1.914 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.0008607/0.0008607, allocations: 95.88 kB / 30.71 MB, free: 5.383 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.001173/0.001173, allocations: 177.1 kB / 34.55 MB, free: 1.559 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.517/1.517, allocations: 223.2 MB / 261.4 MB, free: 9.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.05821/0.05821, allocations: 13.68 MB / 329.1 MB, free: 24 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.02004/0.02004, allocations: 17.44 MB / 414.9 MB, free: 28.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.126/0.1461, allocations: 56.49 MB / 471.4 MB, free: 5.469 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Examples.Visualize.ModuleTest_Dymola): time 0.9725/1.119, allocations: 304.1 MB / 0.7573 GB, free: 312 kB / 0.4982 GB Notification: Performance of NFInst.instExpressions: time 0.1658/1.285, allocations: 72.4 MB / 0.828 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.06905/1.354, allocations: 1.551 MB / 0.8295 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.06539/1.419, allocations: 15.5 MB / 0.8447 GB, free: 13.06 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.1573/1.576, allocations: 42.13 MB / 0.8858 GB, free: 11.92 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.02404/1.6, allocations: 4.132 MB / 0.8898 GB, free: 8.043 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.05901/1.66, allocations: 36.94 MB / 0.9259 GB, free: 3.184 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.5935/2.253, allocations: 41.35 MB / 0.9663 GB, free: 35.91 MB / 0.6232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01916/2.272, allocations: 6.348 MB / 0.9725 GB, free: 35.91 MB / 0.6232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01782/2.29, allocations: 8.079 MB / 0.9804 GB, free: 35.88 MB / 0.6232 GB Notification: Performance of NFPackage.collectConstants: time 0.01083/2.301, allocations: 1.007 MB / 0.9814 GB, free: 35.88 MB / 0.6232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01427/2.315, allocations: 2.678 MB / 0.984 GB, free: 35.87 MB / 0.6232 GB Notification: Performance of NFScalarize.scalarize: time 0.02048/2.336, allocations: 10.05 MB / 0.9938 GB, free: 35.87 MB / 0.6232 GB Notification: Performance of NFVerifyModel.verify: time 0.01803/2.354, allocations: 6.027 MB / 0.9997 GB, free: 35.84 MB / 0.6232 GB Notification: Performance of NFConvertDAE.convert: time 0.06528/2.419, allocations: 48.49 MB / 1.047 GB, free: 17.68 MB / 0.6232 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/2.419, allocations: 0 / 1.047 GB, free: 17.68 MB / 0.6232 GB Notification: Performance of FrontEnd: time 3.427e-06/2.419, allocations: 0 / 1.047 GB, free: 17.68 MB / 0.6232 GB Notification: Performance of Transformations before backend: time 0.002266/2.422, allocations: 4 kB / 1.047 GB, free: 17.67 MB / 0.6232 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8014 * Number of variables: 8014 Notification: Performance of Generate backend data structure: time 0.09482/2.516, allocations: 27.45 MB / 1.074 GB, free: 10.07 MB / 0.6388 GB Notification: Performance of prepare preOptimizeDAE: time 6.789e-05/2.517, allocations: 10.19 kB / 1.074 GB, free: 10.06 MB / 0.6388 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.02471/2.541, allocations: 3.874 MB / 1.078 GB, free: 7.863 MB / 0.6388 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05244/2.594, allocations: 9.6 MB / 1.087 GB, free: 15.14 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06301/2.657, allocations: 22.74 MB / 1.109 GB, free: 1.965 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002219/2.659, allocations: 1.634 MB / 1.111 GB, free: 1.043 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01537/2.674, allocations: 2.213 MB / 1.113 GB, free: 15.57 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1791/2.854, allocations: 60.49 MB / 1.172 GB, free: 4.918 MB / 0.7013 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002619/2.856, allocations: 242.1 kB / 1.172 GB, free: 4.773 MB / 0.7013 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01416/2.87, allocations: 0.9797 MB / 1.173 GB, free: 4.504 MB / 0.7013 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01652/2.887, allocations: 8.444 MB / 1.181 GB, free: 14.04 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4985/3.386, allocations: 48.99 MB / 1.229 GB, free: 300.4 MB / 0.7325 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.3764/3.762, allocations: 248.5 MB / 1.472 GB, free: 119.3 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06603/3.828, allocations: 28.56 MB / 1.5 GB, free: 90.82 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003364/3.831, allocations: 2.605 MB / 1.502 GB, free: 87.87 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.06165/3.893, allocations: 21.54 MB / 1.523 GB, free: 66.34 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=838): time 1.685e-05/3.893, allocations: 0 / 1.523 GB, free: 66.34 MB / 0.7325 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: 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/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