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.06135/0.06136, allocations: 12.02 MB / 27.25 MB, free: 1.676 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.0008921/0.0008918, allocations: 104.8 kB / 30.94 MB, free: 5.09 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.001008/0.001008, allocations: 192.4 kB / 34.75 MB, free: 1.293 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.349/1.349, allocations: 222.9 MB / 261.3 MB, free: 192 kB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.05805/0.05805, allocations: 13.67 MB / 328 MB, free: 1.293 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.02939/0.02939, allocations: 18.46 MB / 414.1 MB, free: 26.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1245/0.1539, allocations: 55.42 MB / 469.5 MB, free: 5.418 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Examples.Visualize.ModuleTest_Dymola): time 0.9402/1.094, allocations: 354.4 MB / 0.8046 GB, free: 14.12 MB / 0.5138 GB Notification: Performance of NFInst.instExpressions: time 0.1707/1.265, allocations: 71.25 MB / 0.8741 GB, free: 3.074 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.08664/1.352, allocations: 1.57 MB / 0.8757 GB, free: 1.5 MB / 0.5607 GB Notification: Performance of NFTyping.typeComponents: time 0.03907/1.391, allocations: 24.04 MB / 0.8991 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.02458/1.415, allocations: 7.771 MB / 0.9067 GB, free: 4.246 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.01274/1.428, allocations: 5.347 MB / 0.912 GB, free: 14.91 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0345/1.463, allocations: 28.72 MB / 0.94 GB, free: 2.172 MB / 0.6232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.455/1.918, allocations: 41.47 MB / 0.9805 GB, free: 7.527 MB / 0.6232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02687/1.945, allocations: 12.59 MB / 0.9928 GB, free: 7.523 MB / 0.6232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02546/1.97, allocations: 16.59 MB / 1.009 GB, free: 6.625 MB / 0.6232 GB Notification: Performance of NFPackage.collectConstants: time 0.01436/1.985, allocations: 3.97 MB / 1.013 GB, free: 6.625 MB / 0.6232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01874/2.003, allocations: 5.891 MB / 1.019 GB, free: 6.621 MB / 0.6232 GB Notification: Performance of NFScalarize.scalarize: time 0.02268/2.026, allocations: 14.47 MB / 1.033 GB, free: 5.488 MB / 0.6232 GB Notification: Performance of NFVerifyModel.verify: time 0.03505/2.061, allocations: 17.43 MB / 1.05 GB, free: 13.2 MB / 0.6388 GB Notification: Performance of NFConvertDAE.convert: time 0.06411/2.125, allocations: 58.52 MB / 1.107 GB, free: 3.641 MB / 0.6857 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/2.125, allocations: 0 / 1.107 GB, free: 3.641 MB / 0.6857 GB Notification: Performance of FrontEnd: time 1.823e-06/2.125, allocations: 0 / 1.107 GB, free: 3.641 MB / 0.6857 GB Notification: Performance of Transformations before backend: time 0.001529/2.127, allocations: 3.938 kB / 1.107 GB, free: 3.637 MB / 0.6857 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.07922/2.206, allocations: 33.11 MB / 1.139 GB, free: 2.695 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/2.206, allocations: 12.03 kB / 1.139 GB, free: 2.684 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01202/2.218, allocations: 3.879 MB / 1.143 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04201/2.26, allocations: 7.972 MB / 1.151 GB, free: 6.902 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04763/2.308, allocations: 25.75 MB / 1.176 GB, free: 14.2 MB / 0.7638 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001642/2.31, allocations: 1.634 MB / 1.178 GB, free: 12.68 MB / 0.7638 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01086/2.321, allocations: 2.211 MB / 1.18 GB, free: 10.59 MB / 0.7638 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5275/2.848, allocations: 59.66 MB / 1.238 GB, free: 405.1 MB / 0.8108 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001125/2.849, allocations: 240.2 kB / 1.238 GB, free: 405.1 MB / 0.8108 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007233/2.857, allocations: 0.9756 MB / 1.239 GB, free: 405.1 MB / 0.8108 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01603/2.873, allocations: 8.446 MB / 1.247 GB, free: 405 MB / 0.8108 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09299/2.966, allocations: 48.02 MB / 1.294 GB, free: 384.4 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.279/3.245, allocations: 248 MB / 1.537 GB, free: 146.6 MB / 0.8108 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05915/3.304, allocations: 27.75 MB / 1.564 GB, free: 118.7 MB / 0.8108 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01855/3.322, allocations: 17.44 MB / 1.581 GB, free: 101.3 MB / 0.8108 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002545/3.325, allocations: 2.604 MB / 1.583 GB, free: 98.33 MB / 0.8108 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.05415/3.379, allocations: 20.81 MB / 1.604 GB, free: 77.45 MB / 0.8108 GB Notification: Performance of pre-optimization done (n=838): time 1.791e-05/3.379, allocations: 0 / 1.604 GB, free: 77.45 MB / 0.8108 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:7953:5-7953:89:writable] Error: Internal error Transformation module sort components failed