Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr DroneLibrary_DroneLibrary.Examples.DroneWithIdealPower.TestSystem.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.09039/0.09039, allocations: 12.16 MB / 30.99 MB, free: 1.316 MB / 19.63 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001247/0.001247, allocations: 108.1 kB / 37.21 MB, free: 3.059 MB / 26.18 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001715/0.001715, allocations: 192.4 kB / 43.53 MB, free: 5.48 MB / 34.91 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.644/1.644, allocations: 225.6 MB / 275.3 MB, free: 9.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.1169/0.1169, allocations: 13.9 MB / 347.5 MB, free: 10.11 MB / 270.1 MB " [Timeout remaining time 179] 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.DroneWithIdealPower.TestSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Examples.DroneWithIdealPower.TestSystem") translateModel(DroneLibrary.Examples.DroneWithIdealPower.TestSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Examples.DroneWithIdealPower.TestSystem") [Timeout 660] "Notification: Skipped loading package Visualization (1.6) using MODELICAPATH /home/hudson/saved_omc/libraries/.openmodelica/libraries (uses-annotation may be wrong). Notification: Performance of FrontEnd - loaded program: time 0.03619/0.03619, allocations: 20.54 MB / 0.4904 GB, free: 6.195 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.391/0.4272, allocations: 58.48 MB / 0.5475 GB, free: 18.49 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Mechanics/MultiBody/Parts/BodyShape.mo:21:3-22:65:writable] Warning: Parameter drone.propellerRev.blades.bodyShape5.r_CM has no value, and is fixed during initialization (fixed=true), using available start value (start={0, 0, 0}) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Mechanics/MultiBody/Parts/BodyShape.mo:21:3-22:65:writable] Warning: Parameter drone.propellerRev.blades.bodyShape4.r_CM has no value, and is fixed during initialization (fixed=true), using available start value (start={0, 0, 0}) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Mechanics/MultiBody/Parts/BodyShape.mo:21:3-22:65:writable] Warning: Parameter drone.propellerRev1.blades.bodyShape5.r_CM has no value, and is fixed during initialization (fixed=true), using available start value (start={0, 0, 0}) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Mechanics/MultiBody/Parts/BodyShape.mo:21:3-22:65:writable] Warning: Parameter drone.propellerRev1.blades.bodyShape4.r_CM has no value, and is fixed during initialization (fixed=true), using available start value (start={0, 0, 0}) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Mechanics/MultiBody/Parts/BodyShape.mo:21:3-22:65:writable] Warning: Parameter drone.propellerRev2.blades.bodyShape5.r_CM has no value, and is fixed during initialization (fixed=true), using available start value (start={0, 0, 0}) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Mechanics/MultiBody/Parts/BodyShape.mo:21:3-22:65:writable] Warning: Parameter drone.propellerRev2.blades.bodyShape4.r_CM has no value, and is fixed during initialization (fixed=true), using available start value (start={0, 0, 0}) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Mechanics/MultiBody/Parts/BodyShape.mo:21:3-22:65:writable] Warning: Parameter drone.propellerRev3.blades.bodyShape5.r_CM has no value, and is fixed during initialization (fixed=true), using available start value (start={0, 0, 0}) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Mechanics/MultiBody/Parts/BodyShape.mo:21:3-22:65:writable] Warning: Parameter drone.propellerRev3.blades.bodyShape4.r_CM has no value, and is fixed during initialization (fixed=true), using available start value (start={0, 0, 0}) as default value. Notification: Performance of NFInst.instantiate(DroneLibrary.Examples.DroneWithIdealPower.TestSystem): time 0.06935/0.4965, allocations: 61.01 MB / 0.6071 GB, free: 13.55 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.04741/0.5439, allocations: 17.52 MB / 0.6242 GB, free: 12.13 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0158/0.5597, allocations: 0.5792 MB / 0.6247 GB, free: 11.55 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.06067/0.6204, allocations: 31.63 MB / 0.6556 GB, free: 11.86 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02391/0.6443, allocations: 8.334 MB / 0.6638 GB, free: 3.547 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01429/0.6586, allocations: 5.918 MB / 0.6695 GB, free: 13.64 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.04478/0.7034, allocations: 28.39 MB / 0.6973 GB, free: 1.312 MB / 0.4982 GB Notification: Performance of NFFlatten.resolveConnections: time 0.06771/0.7711, allocations: 31.62 MB / 0.7281 GB, free: 1.508 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.3692/1.14, allocations: 13.89 MB / 0.7417 GB, free: 32.87 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02862/1.169, allocations: 17.57 MB / 0.7589 GB, free: 31.86 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.01395/1.183, allocations: 4.887 MB / 0.7636 GB, free: 31.86 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01714/1.2, allocations: 6.269 MB / 0.7698 GB, free: 31.86 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.02013/1.22, allocations: 16.23 MB / 0.7856 GB, free: 29.43 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.03106/1.251, allocations: 18.76 MB / 0.8039 GB, free: 15.56 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.09364/1.345, allocations: 67.19 MB / 0.8695 GB, free: 7.469 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 8.185e-06/1.345, allocations: 0 / 0.8695 GB, free: 7.469 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.964e-06/1.345, allocations: 0 / 0.8695 GB, free: 7.469 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 0.002257/1.347, allocations: 0 / 0.8695 GB, free: 7.469 MB / 0.5763 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8005 * Number of variables: 8005 Notification: Performance of Generate backend data structure: time 0.135/1.482, allocations: 35.17 MB / 0.9039 GB, free: 4.488 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.2e-05/1.482, allocations: 8.031 kB / 0.9039 GB, free: 4.48 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03269/1.515, allocations: 6.003 MB / 0.9098 GB, free: 14.46 MB / 0.6232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06021/1.575, allocations: 24.35 MB / 0.9335 GB, free: 7.035 MB / 0.6388 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002273/1.577, allocations: 1.795 MB / 0.9353 GB, free: 5.324 MB / 0.6388 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01354/1.591, allocations: 2.455 MB / 0.9377 GB, free: 2.961 MB / 0.6388 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.8227/2.414, allocations: 60.57 MB / 0.9968 GB, free: 206.6 MB / 0.6702 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002556/2.416, allocations: 237 kB / 0.9971 GB, free: 206.5 MB / 0.6702 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01454/2.431, allocations: 1.048 MB / 0.9981 GB, free: 205.8 MB / 0.6702 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01312/2.444, allocations: 6.895 MB / 1.005 GB, free: 203.5 MB / 0.6702 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.116/2.56, allocations: 50.99 MB / 1.055 GB, free: 170.8 MB / 0.6702 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.7574/3.317, allocations: 247.3 MB / 1.296 GB, free: 117.1 MB / 0.6858 GB Notification: Performance of preOpt comSubExp (simulation): time 0.07142/3.389, allocations: 28.05 MB / 1.323 GB, free: 116.5 MB / 0.6858 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02247/3.411, allocations: 17.42 MB / 1.341 GB, free: 111.8 MB / 0.6858 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001873/3.413, allocations: 0.6361 MB / 1.341 GB, free: 111.7 MB / 0.6858 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.06401/3.477, allocations: 21.39 MB / 1.362 GB, free: 102.3 MB / 0.6858 GB Notification: Performance of pre-optimization done (n=892): time 2.117e-05/3.477, allocations: 3.625 kB / 1.362 GB, free: 102.3 MB / 0.6858 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: drone.droneChassis1.bodyCylinder.body.frame_a.r_0[1] = drone.propellerRev.blades.bodyShape4.body.frame_a.r_0[1] + 0.25 * drone.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:8030:5-8030:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 656] [Calling sys.exit(0), Time elapsed: 7.379101298749447] Failed to read output from testmodel.py, exit status != 0: 4.4973497949540615 4.508037678 3.160378776 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7fdffe5c17b0>